Skip to main content

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()

sample_img

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)

pandas_img dark_img

from pandas.DataFrame or pandas.Series.

from japanese

text = "これはCloudiaのテストです。WordCloudをつくるには本来、形態素解析の導入が必要になります。Cloudiaはmecabのような形態素解析器の導入は必要はなくnagisaを利用した動的な生成を行う事ができます。nagisaとjapanize-matplotlibは、形態素解析を必要としてきたWordCloud生成に対して、Cloudiaに対して大きく貢献しました。ここに感謝の意を述べたいと思います。"

Cloudia(text).plot()

japanese_img

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


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)

Uploaded Source

Built Distribution

cloudia-0.0.4-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page