This is small project showing how to build a basic document classifier.
In order to install the required dependencies first create a virtualenv with the following command:
virtualenv venvthen activate the environment with this command:
source venv/bin/activateOnce the environment is activated, install the required dependencies through this command:
pip install -r requirementsRun training with:
python classifier.py -t -i training.parsed -m modelRun test with:
python classifier.py -i test.parsed -m modelLink to the Sentipolc 2016 Report: http://ceur-ws.org/Vol-1749/paper_026.pdf