Stylometry exercises

Determine authorship in Python.

Requirements

  • Python 3.9 or greater
  • poetry

Installation

Clone the repository and change it to your working directory.

$ poetry install

Usage

stylometer [-h] method_number

Run stylometry methods on the Federalist Papers.

positional arguments:
  method_number  A number to select one of the three methods.
                 1: Mendenhall's Characteristic Curves of Composition
                 2: Kilgariff's Chi-Squared Method
                 3: John Burrows' Delta Method

optional arguments:
  -h, --help     show this help message and exit

Acknowledgements

Lesson by François Dominic Laramée on Programming Historian