stylometric-fingerprinting

Extract a stable stylometric fingerprint from text corpora using function word frequencies and sentence structure distributions.

13|2|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/aaddrick/written-voice-replication --skill stylometric-fingerprinting-aaddrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stylometric-fingerprinting
Source: https://github.com/aaddrick/written-voice-replication/tree/main/.claude/skills/stylometric-fingerprinting
Command: npx skills add https://github.com/aaddrick/written-voice-replication --skill stylometric-fingerprinting-aaddrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy.

What problem does it solve? Writing style analysis often relies on topic-dependent content words that change across contexts, making it impossible to identify an author's consistent voice. This Skill extracts the unconscious, topic-independent features of writing — function word frequencies, punctuation habits, and sentence structure distributions — to build a stable, replicable style profile. ## Core Features & Use Cases - Function Word Profiling: Measures frequencies of 50+ function words (articles, prepositions, pronouns, auxiliaries) grounded in established stylometry research (Mosteller & Wallace, Burrows, Kestemont). - Cross-Context Stability Testing: Segments the corpus and computes coefficient of variation per feature, classifying each as highly stable, stable, moderate, or unstable so only reliable markers enter the fingerprint. - Syntactic Constraint Generation: Translates numeric profiles into actionable prose constraints (sentence length targets, comma rates, pronoun balance) that a writer or AI can follow to replicate the voice. - Use Case: Given a 10,000-word corpus of someone's Reddit posts, produce a numeric fingerprint and a set of writing rules that an AI agent uses to generate new text in that person's style. ## Quick Start Analyze the writing samples in this project and generate a stylometric fingerprint report with stable features and replication constraints.

Frequently Asked Questions about stylometric-fingerprinting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a writing style fingerprint from a text corpus?

Segment the corpus into samples of 800+ words, then measure function word frequencies, sentence length distributions, and punctuation rates per segment. Compute the coefficient of variation across segments and keep only features with CV below 0.30 as stable fingerprint markers.

What are the most reliable features for authorship attribution?

Function word frequencies are the most stable authorship markers because they are produced unconsciously and independent of topic. Punctuation patterns and sentence length distributions rank next, while content words and topic-sensitive features are the least reliable.

How much text is needed for stylometric analysis?

A minimum of 2,500 words is required for a basic profile based on function word frequency reliability research. A stable profile needs 5,000+ words, and 10,000+ words across five or more contexts is optimal for cross-context stability testing.

Can stylometric fingerprinting work on short texts or edited writing?

Single texts under 500 words cannot support reliable frequency estimation and should not be fingerprinted. Heavily edited, ghostwritten, or machine-translated text dilutes the author signal, so limitations must be documented when analyzing such corpora.

When should I not use stylometric fingerprinting?

Avoid it for deanonymizing or surveilling individuals without consent, for definitive legal authorship proof without validated forensic tooling like JGAAP, and for topic modeling goals where NMF or LDA content analysis is the appropriate method.