Skip to content

Sentimental Analysis/Natural Language Processing in Python

License

Notifications You must be signed in to change notification settings

mc-cat-tty/Text-Classification

Repository files navigation

Text Classification

Natural Language Processing in Python

Table of Contents

Project Status

Build

License build Version

Diagram

Diagram

Getting Started

Requirements

spacy en_core_web_sm PyQt5 matplotlib

How to test if everything works properly?

  1. Install Requirements
$ py -m pip install -r requirements.txt
$ py -m spacy download en_core_web_sm
  1. Launch gui.py. Depending on your Python interpreter installation and your OS:
$ python gui.py

or

$ py gui.py
  1. Go to "Models->Add"
  2. Select "happiness_vocabulary" (inside /models/ folder) and Load this model
  3. Select "sadness_vocabulary" (inside /models/ folder) and Load this model
  4. Go to "Classify->Start Classification", insert a text and press "Classify Text"

Samples

Authors

  • Francesco Mecatti - I.T.I.S Enrico Fermi - Italy, Modena

License

This project is licensed under the MIT license - see the LICENSE file for details