Simple implemantation of extracting stylometric features for the purpose of authorship identifcation.
Install requirements using pip. An virtual enviroment is adviced.
$ pip install -r requirements.txt
Probably code below needs to be run as well.
import nltk
nltk.download('punkt')
$ cd src
$ python3 classifier.py --path ../data/phenomology_of_spirit.txt;../data/unabomber.txt