Expand description
Deterministic Writing Guard core analysis engine. Implements deterministic rules that flag AI-styled prose based on configurable phrase lists and structural heuristics.
Structs§
- Analyzer
- Analyzer encapsulates compiled rules for reuse across files.
- Buzzword
Config - Phrase container for throttled expressions (soft suggestions).
- Comment
Policy - Config
- Top-level configuration for the analyzer.
- Diagnostic
- Style diagnostic emitted by the analyzer.
- Document
Report - Summary statistics for a document.
- Limits
- Hard limits for stylistic constructs per document section.
- Location
- Location metadata in 1-based line/column coordinates.
- Phrase
List - Phrase container for banned expressions.
- Profile
Config - File matching configuration to attach rule overrides.
- Profile
Rules - Profile-specific rule overrides applied to matched files.
- Repo
Rules - Score
Thresholds - Thresholds for warnings / failures expressed as flags per 100 words.
- Whitelist
- Whitelisted tokens and phrases that should not trigger diagnostics.
Enums§
- Category
- Rule category identifiers.
- Heading
Style - Heading capitalisation policy.
- Quote
Style - Preferred quotation mark style.