ChatDev/WareHouse/WordCloud_THUNLP_20231015215721
2023-10-15 21:35:32 -05:00
..
ChatChainConfig.json add WordCloud 2023-10-15 21:35:32 -05:00
main.py add WordCloud 2023-10-15 21:35:32 -05:00
manual.md add WordCloud 2023-10-15 21:35:32 -05:00
meta.txt add WordCloud 2023-10-15 21:35:32 -05:00
PhaseConfig.json add WordCloud 2023-10-15 21:35:32 -05:00
readme.md add WordCloud 2023-10-15 21:35:32 -05:00
requirements.txt add WordCloud 2023-10-15 21:35:32 -05:00
RoleConfig.json add WordCloud 2023-10-15 21:35:32 -05:00
setup.py add WordCloud 2023-10-15 21:35:32 -05:00
WordCloud_Beijing.png add WordCloud 2023-10-15 21:35:32 -05:00
WordCloud_THUNLP_20231015215721.log add WordCloud 2023-10-15 21:35:32 -05:00
WordCloud.prompt add WordCloud 2023-10-15 21:35:32 -05:00

Word Cloud Generator

This program generates a word cloud from user input text.

Instructions

  1. Install the required libraries by running pip install -r requirements.txt.
  2. Run the program by executing the main.py file.
  3. Enter the desired text in the text entry field.
  4. Click the "Generate Word Cloud" button to generate the word cloud.
  5. Choose the output file name and location in the file dialog.
  6. The word cloud will be saved as a PNG image.

Additional Information

  • The word cloud is generated using the WordCloud library.
  • The appearance of the word cloud can be customized by modifying the code in the generate_word_cloud method of the WordCloudGenerator class.