This Git repository contains the source code for a text analysis application. The application features a graphical user interface (GUI) designed for easy interaction, allowing users to analyze text effortlessly. Key functionalities include the ability to enter text, initiate the analysis process using the "Run" button, and reset input/output fields with the "Clear" button. The results of the analysis, including token counts and matching lists for various categories, are displayed in the output text box.
- Graphical user interface (GUI) for easy interaction
- "Run" and "Clear" buttons for starting the analysis process and resetting input/output fields
- Output text box displays results of analysis, including count and matching lists of tokens for each category
- Token categories: nouns, verbs, adjectives, adverbs, numerals, punctuation, operators, and special characters
- Useful analytical tool for researchers, developers, linguists, and anyone interested in text analysis
- User-centered design with thoughtful text input and output sections and monospaced font selection
The application's GUI simplifies interaction. Users can input text, start analysis using the "Run" button, and clear fields with the "Clear" button, providing control and accessibility.
Results are presented in the output text box, displaying counts and matching lists of tokens for each category. The clarity of presentation facilitates quick understanding of linguistic element distribution.
Token categories and counts are presented, covering nouns, verbs, adjectives, adverbs, numerals, punctuation, operators, and special characters. This comprehensive analysis enhances understanding of language elements.
The application serves as a valuable analytical tool for researchers, developers, and linguists. Users can gain insights into language usage, make judgments based on text structure, and derive meaningful conclusions.
Thoughtful design ensures user comfort and effectiveness. Monospaced font selection improves reading and alignment, contributing to a polished GUI appearance.
- Stanford CoreNLP: Used for natural language processing tasks such as tokenization, sentence splitting, and part-of-speech tagging.
- configparser: Used for handling program configurations.
- logging: Used for logging relevant data and suppressing INFO messages.
The program consists of three phases:
- Phase 1: Creating a pipeline using Stanford CoreNLP with specific annotators for tokenization, sentence splitting, and part-of-speech tagging.
- Phase 2: Extracting tokens from the text input and classifying them into categories based on part-of-speech tags. Results are displayed in the output text box.
- Phase 3: Displaying the count and list of punctuation tokens and operator tokens.
##Feel free to contribute or report issues!