Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aianytime/wordcloud_lite

Generate WordCloud with ease.
https://github.com/aianytime/wordcloud_lite

machine-learning natural-language-processing nlp nltk python wordcloud

Last synced: about 8 hours ago
JSON representation

Generate WordCloud with ease.

Awesome Lists containing this project

README

        

# wordcloud_lite
### _Lightweight WordCloud Generator_

Wordcloud_lite is a Python package to generate Word Cloud from the text data. WordCloud is a visual representation of the most common words within the text data. It is used most often for tags on the websites.

#### Few points:

- There should not be any mising value before passing the data to the generate_wordcloud method.
- It generates a fix size of the image.
- You can pass additional parameters to customize the wordcloud.

On Pypi: https://pypi.org/project/wordcloud-lite/1.2/

### Installation
```sh
pip install wordcloud-lite==1.2
```

## Dependencies

wordcloud_lite uses a number of open source packages to work properly:

- [NLTK](https://www.nltk.org/) - For text processing
- [wordcloud](https://pypi.org/project/wordcloud/) - To work on wordcloud
- [pillow](https://pypi.org/project/Pillow/) - To deal with images
- [matplotlib](https://pypi.org/project/matplotlib/) - Data Visualization package

## Uses

carbon

```sh
from wordcloud_lite.wcl import WordCloudLite
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline

data = pd.read_csv("data.csv")

#generate wordcloud
WordCloudLite.generate_wordcloud(data['column_having_text_records'])
```

## License

MIT