Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Document Analysis Tool

image

This project is a Document Analysis Tool that analyzes the frequency of words in an article. It uses Python, NLTK for natural language processing, pandas for data manipulation, and matplotlib for visualization.

Project Structure

The project is structured as follows:

Controller

  • MyController.py

Model

  • AIAnalysis.py
  • ArticleAnalyzer.py
  • Config.py

View

  • view.py

Global System Calls

  • Logger.py
  • my_logger.py

Tests

  • tests/test_ai_analysis.py
  • tests/test_article_analyzer.py

Data

  • tests/demo_article.txt
  • tests/demo_words_3000.txt
  • tests/demo_words_ignore.txt

How to Run the Project

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install the required dependencies by running pip install -r requirements.txt.
  4. Run the project by executing python main.py.

Main Code Files

  • main.py: Initializes and starts the application.
  • MyController.py: Handles all the button click events and other interactions from the user.
  • view.py: Sets up the GUI for the application.
  • ArticleAnalyzer.py: Analyzes the frequency of words in an article and generates a word cloud and an Excel report.
  • AIAnalysis.py: Performs AI analysis on the article.

Please refer to the comments in each file for more detailed information about the code.

Contributing

Contributions are welcome. Please submit a pull request or create an issue to discuss the changes you want to make.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

This is a AI analysis tools, it is used for analyzing the words frequence and summary the articles etc

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /