Skip to main content
The structural Markdown layer (Markdown Metrics) is deliberately language-opaque. The prose layer adds language-aware signals — readability formulas, lexical diversity, wording quality, Japanese script composition and JTF conformance — on top of the same AST.

Architectural constraints

  1. Layered, not folded. Prose metrics are a separate top-level section in the output schema. They do not modify DMI, MCC, MRPC, or Filler / Lazy Risk weights silently.
  2. Per-block language tag. Language detection runs per Markdown block (paragraph, heading, list item, blockquote), not per document.
  3. Structural artifacts stay excluded. Code fences, inline code, link destinations, image alt-text, YAML/TOML/JSON front matter, HTML/MDX, and table delimiters are stripped before any readability or wording calculation.
  4. Short-text refusal. Grade-level formulas are suppressed when words < 100 OR sentences < 5.
  5. Feature-gated dictionaries. Dictionary-dependent features ship behind Cargo --features flags so the default binary stays small.
  6. Deterministic and reproducible. No network, no cloud, no sampling.

Tier model

Pages