Skip to content

NLP

[Python] Add a background to the word cloud generated using the wordcloud package

Recently, I studied a word cloud generation tool for a while, and of course I used the famous wordcloud package in python. I currently have a function that I want to do is to customize the background of the picture, but I only found the use of a picture mask to reshape the word cloud.

Read More »[Python] Add a background to the word cloud generated using the wordcloud package

[Python] Use the wordcloud package to generate specific shapes and colors through masks

wordcloud is a famous python package to generate word cloud. I also record about how to use the package to make a word cloud, but today I have further studied the setting of wordcloud according to different picture masks to generate different shapes of word clouds, and even control the color of the word cloud.

Read More »[Python] Use the wordcloud package to generate specific shapes and colors through masks

[NLP][Python] NLP tool for Chinese text: HanLP

HanLp (Han Language Processing) is open-source project on Github, it provided many functions:

  • Segmentation
  • Part-of-Speech
  • Named entity recognition
  • Keyword extraction
  • Text summarization
  • Convert Traditional to Simplified
  • Text recommendation
  • Text classification
  • Word2Vec
  • ...

If you want to read more document of it, you can refer here: https://github.com/hankcs/HanLP

Or you want to take a demo: http://hanlp.com/

Read More »[NLP][Python] NLP tool for Chinese text: HanLP