Skip to content

GUI in Python to classify a document based on 4 sentiment layers.

Notifications You must be signed in to change notification settings

anshulkoshyari/text-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

text-classification-GUI

This Python project provides a graphical user interface (GUI) for annotating research paper sentences based on multiple sentiment layers. It allows the user to classify sentences from a text document into categories like sentiment polarity, section aspects, subjective polarity, and major comments.

Features

  • Sentence Tokenization: The program tokenizes the input text into sentences for classification.
  • Four Sentiment Layers:
    1. Sentiment Layer: Classifies sentences as Positive, Introspective, Summary, or Yes.
    2. Section Aspect: Identifies the section of the research paper (e.g., Introduction, Related Work, Experiments, etc.).
    3. Subjective Polarity: Classifies sentences into Summary, Suggestion, Deficit, Appreciation, Discussion, or Question.
    4. Major Comment: Allows users to mark comments as Major or Not.
  • User Interface: A GUI built with wxPython for intuitive sentence classification.
  • Annotations: After classification, the sentences are annotated with the user's choices and saved into a new text file.

Requirements

  • Python 3.x
  • wxPython (for GUI)
  • nltk (for text tokenization)

About

GUI in Python to classify a document based on 4 sentiment layers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages