Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 473 Bytes

File metadata and controls

23 lines (16 loc) · 473 Bytes

SimpleStylometry

Simple implemantation of extracting stylometric features for the purpose of authorship identifcation.

Setup

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')

Run

$ cd src
$ python3 classifier.py --path ../data/phenomology_of_spirit.txt;../data/unabomber.txt