# ProseGuard — Stylometric & Information-Theoretic Specification > Canonical URL: https://proseguard.llmland.io/ > Standalone FAQ URL: https://proseguard.llmland.io/faq/ > Supported Locales: en (https://proseguard.llmland.io/en/), zh-Hans (https://proseguard.llmland.io/zh-Hans/), zh-Hant (https://proseguard.llmland.io/zh-Hant/), ja (https://proseguard.llmland.io/ja/) > Runtime Stack: HTML5 + ES6 + Rust (`wasm32-unknown-unknown`, 0 external crates, 153 KB) + Web Crypto SHA-256 Verification ## 1. Summary ProseGuard inspects manuscripts for AI-generated stylometric patterns locally inside WebAssembly linear memory with 0 bytes transmitted over the network. ## 2. Core Rust Modules (`prose_guard_wasm`) - `lm_proxy.rs`: Contrastive negative-parallelism frames, nominalization glue density, rhetorical staccato triplets, and cross-sentence surprisal variance. - `stylometry.rs`: Heading-filtered prose segmentation, CJK comma-clause CV blending, paragraph length uniformity, and Yule K lexical concentration. - `lz_entropy.rs`: 8-hop 8192-byte sliding-window LZ77 compression ratio calibrated across document lengths. - `watermark.rs`: UTF-8 scalar detection and idempotent stripping of `U+200B`, `U+200C`, `U+200D`, `U+2060`, `U+FEFF`, `U+202F`, and `U+00A0`.