cat-linguistic-style-matching

Computes Linguistic Style Matching scores from function-word frequencies to measure community accommodation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas.

What problem does it solve? It quantifies how strongly a user's writing style converges toward or diverges from the linguistic norms of different communities, turning subjective impressions of stylistic fit into measurable Linguistic Style Matching (LSM) scores. ## Core Features & Use Cases - Function-Word LSM Computation: Measures stylistic similarity across nine function-word categories (pronouns, articles, prepositions, conjunctions, auxiliary verbs, adverbs, negations, quantifiers) using the Pennebaker LSM formula. - Community Ranking: Compares accommodation strength across multiple communities to identify where a user adapts their style most and least. - Temporal Trajectory Analysis: Tracks LSM over time windows to detect convergence, divergence, or stable stylistic alignment. - Use Case: Given a Reddit data export, determine which subreddits a user linguistically accommodates most strongly and whether their style has converged toward those communities over their participation history. ## Quick Start Analyze my writing corpus with the cat-linguistic-style-matching skill to rank which communities I accommodate most strongly and write the report to docs/analysis/17-cat-linguistic-style-matching.md.

Frequently Asked Questions about cat-linguistic-style-matching

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

FAQPage Schema
How do I measure linguistic style matching between a user and a community?

Compute function-word frequency profiles for the user's posts and for a community baseline excluding that user, then apply the LSM formula per category: 1 minus the absolute frequency difference divided by the sum. Average the nine category scores for a composite LSM.

What is a good LSM score for style matching?

LSM scores range from roughly 0.50 to 1.00. Scores at or above 0.80 indicate strong accommodation, 0.65 to 0.79 indicate moderate accommodation, and below 0.65 indicates weak or no stylistic convergence with the community.

What are the minimum data requirements for LSM analysis?

Each text sample needs at least 50 words, the user needs 5+ posts and 200+ total words per community, and the community baseline needs 20+ posts from at least 5 unique authors excluding the target user.

Why should the target user be excluded from the community baseline?

Including the user's own posts in the baseline inflates LSM by measuring self-similarity rather than accommodation. The baseline must reflect only other members' writing to represent a genuine community norm.

Can LSM analysis work on non-English text?

No, not with the provided function-word lists, which are validated only for English. Non-English text requires validated function-word categories for that language, and machine-translated text should be avoided because translation alters function-word distributions.

What are the limitations of linguistic style matching?

LSM measures stylistic similarity, not social motivation, loyalty, or intent, and cannot distinguish conscious from unconscious accommodation. It also ignores lexical choice, syntax, tone, and discourse structure, and small baselines produce unstable scores.