Tools to easily create a word cloud
Project description
Cloudia
Tools to easily create a word cloud.
from string
from cloudia import Cloudia
text = "text data"
Cloudia(text).plot()
from : 20 Newsgroups
from pandas
df = pd.DataFrame({'wc1': ['sample1','sample2'], 'wc2': ['hoge hoge piyo piyo fuga', 'hoge']})
# plot from df
Cloudia(df).plot()
# add df method
df.wc.plot(dark_theme=True)
from pandas.DataFrame or pandas.Series.
from japanese
text = "これはCloudiaのテストです。WordCloudをつくるには本来、形態素解析の導入が必要になります。Cloudiaはmecabのような形態素解析器の導入は必要はなくnagisaを利用した動的な生成を行う事ができます。nagisaとjapanize-matplotlibは、形態素解析を必要としてきたWordCloud生成に対して、Cloudiaに対して大きく貢献しました。ここに感謝の意を述べたいと思います。"
Cloudia(text).plot()
from japanese without morphological analysis module
Require
I'm waiting for this PR.
pip install git+https://github.com/vaaaaanquish/japanize-matplotlib
Install
pip install cloudia
Thanks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudia-0.0.4.tar.gz
(5.0 kB
view hashes)