Skip to content

Library for stylometry analysis on novels (digital humanities proj.)

Notifications You must be signed in to change notification settings

dayanadithyan/WhoseLIIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylometric Analysis Toolkit

Python 3.9+ License: MIT CI Status

A Python package for analyzing writing style through quantitative metrics.

Please read: This is still in alpha. Analytics are fine but a ways to go before releasing a functional library.

Update 2/27: First features working at basic level image

Features

  • Word length analysis
  • Type-Token Ratio (TTR)
  • Hapax Legomena
  • Flesch-Kincaid Readability
  • Batch processing of text files
  • Data visualization

Installation

git clone https://github.com/dayanadithyan/stylometry-dh.git
cd stylometry-dh
pip install -r requirements.txt

Structure

stylometry-dh/
├── .github/
│   └── workflows/
│       └── tests.yml
├── data/                   
├── examples/
│   ├── analysis_demo.ipynb
│   └── word_length_hist.png
├── src/
│   └── stylometry/
│       ├── __init__.py
│       └── analyzer.py
├── tests/
│   └── test_analyzer.py
├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py

About

Library for stylometry analysis on novels (digital humanities proj.)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published