A practical session on supervised stylometry using SuperStyl.
.
├── SuperStyl/ # SuperStyl library (git submodule)
├── data/ # Corpus data for the practical session
├── tp.ipynb # Jupyter notebook with exercises
└── README.md
git clone --recurse-submodules https://github.com/TheoMoins/TP_SuperStyl_PSLWeek.git
cd TP_SuperStyl_PSLWeekIf you already cloned without --recurse-submodules, run:
git submodule update --init --recursiveInstall the required Python packages listed in SuperStyl's requirements.txt:
cd SuperStyl
pip install -r requirements.txt
cd ..jupyter notebook tp.ipynbSuperStyl is a supervised stylometry library developed by Jean-Baptiste Camps, Théo Moins and Florian Cafiero. It supports SVM-based authorship attribution from text files (txt, XML/TEI, TXM).