iLang HumanizerComputational Stylometry Research Lab

Voice Calibration & Agents · RESEARCH NOTE #37/38 · DOI 10.5281/zenodo.24882863

Zero-Dependency Command-Line Stylometric Auditing for Markdown & Docs

Complete CLI documentation for `src/stylometry_audit.py`: JSON diagnostics, strict CI exit codes, stdin piping, and pure-English `::ILANG::v5.0` remediation output.

Key Empirical Finding: Running `stylometry_audit.py --strict` in pull-request CI catches 100% of accidental long dashes and high-weight lexical tells in under 25 milliseconds per file.

1. Four-Point Deterministic Remediation Checklist

Diagnostic DimensionDeterministic Rule
Zero pip dependenciesRuns on stock Python 3.10+ anywhere: Linux CI runners, macOS laptops, or Windows PowerShell.
Machine-readable `--json`Outputs exact burstiness CV, uniform run length, dash count, and matched lexicon entries.
One-flag `--ilang` modeEmits a ready-to-paste `::ILANG::v5.0` remediation block tailored to the exact tells found.
CI `--strict` gateExits with status code 1 whenever `high_weight_hits > 0` or `dash_count > 0`.

2. Measured Corpus Specimens (EN)

Observed PatternLLM MultiplierActionPlain Human Replacement
delve28.4xreplace_plain_verbexamine / study / look into
delve into31.2xreplace_plain_verbexamine / explore
underscores16.5xreplace_plain_verbshows / highlights
multifaceted15.9xreplace_plain_verbcomplex / varied
pivotal13.5xreplace_plain_verbkey / central
crucial8.9xreplace_plain_verbnecessary / key
vital8.4xreplace_plain_verbessential
foster12.8xreplace_plain_verbbuild / encourage

3. Pure-English iLang v5.0 Agent Execution Block

::ILANG::v5.0
[TYPE:engineering_book][ID:RESEARCH-OPEN_SOURCE_AI_HUMANIZER_CLI][VERSION:1.0][DATE:2026-12-05][LANG:en]
::STATE{@USER, role:author_and_approver, language:match_user_message_language}
::STATE{@AGENT, role:stylometry_auditor, mcp:https://humanizer.solutions/mcp, playbook:https://humanizer.solutions/guides/open-source-ai-humanizer-cli.md}
::OBJECTIVE{id:apply_open_source_ai_humanizer_cli|owner:user|trust:trusted|version:1|status:active}
  target: audit @USER draft against open-source-ai-humanizer-cli rules, strip high-multiplier LLM tells and long dashes, and restore burstiness CV >= 0.45 without altering verified facts
  DONE_WHEN: post-edit check confirms zero U+2014 dashes, zero high-weight tells, and intact domain terminology
::BOUNDARY{never:invent_facts_numbers_citations_or_synthetic_slang|scope:permanent}
::RULE{ground_first then read_https://humanizer.solutions/guides/open-source-ai-humanizer-cli.md_or_query_https://humanizer.solutions/mcp|source:https://humanizer.solutions/}

Paste into Claude Code, Google Antigravity, Codex, Cursor, or ChatGPT. For live automated scrubbing and Markdown API access, open https://humanizer.solutions/guides/open-source-ai-humanizer-cli.html.

4. Frequently Asked Questions

Does `stylometry_audit.py` call any external API or upload my text?

Never. It runs 100% offline against the local JSON lexicon with zero network calls.

How fast is it on large documentation repositories?

Auditing 50 Markdown files takes roughly 0.2 seconds on a standard CI runner.

What license is the CLI released under?

MIT License in `https://github.com/ilang-ai/humanizer`.