Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.22 KB

File metadata and controls

51 lines (35 loc) · 1.22 KB

TP SuperStyl — PSL Week

A practical session on supervised stylometry using SuperStyl.

Contents

.
├── SuperStyl/        # SuperStyl library (git submodule)
├── data/             # Corpus data for the practical session
├── tp.ipynb          # Jupyter notebook with exercises
└── README.md

Getting started

1. Clone the repository (with submodule)

git clone --recurse-submodules https://github.com/TheoMoins/TP_SuperStyl_PSLWeek.git
cd TP_SuperStyl_PSLWeek

If you already cloned without --recurse-submodules, run:

git submodule update --init --recursive

2. Install dependencies

Install the required Python packages listed in SuperStyl's requirements.txt:

cd SuperStyl
pip install -r requirements.txt
cd ..

3. Launch the notebook

jupyter notebook tp.ipynb

About SuperStyl

SuperStyl 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).