classify_register
Classifies Estonian text as formal or colloquial with a register score and matched markers. Use it to catch marketing copy drifting into officialese or contracts slipping into chat tone.
Instructions
Heuristic register classifier for Estonian (formal vs colloquial).
Returns a tier label (English in tier, correct Estonian in
tier_estonian — quote that field verbatim when composing an
Estonian-language reply rather than translating tier yourself, to
avoid mistranslations like "formalne" instead of the correct
"formaalne"), a normalised score in [-1, 1] (positive = formal,
negative = colloquial), and the matched formal/colloquial markers
found in the text. Useful for sanity-checking that marketing copy
hasn't drifted into officialese, or that a contract draft hasn't
slipped into chat tone.
The lexicon covers legal-administrative AND academic/report
vocabulary. structure adds two syntactic signals — umbisikuline
tegumood ratio and noun/verb density — bounded at +0.4, applied only
from 25 words up and only when the lexicon is not net-colloquial.
LIMITATION: still a heuristic, not a trained model. Address forms and finer syntax go uncaught, and most newsletter prose scores 'neutral'. Use the result as a directional hint, not a verdict; for a full kantseliit breakdown with per-issue suggestions, call check_officialese. Input capped at 100,000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Estonian text to classify by register (formal vs colloquial). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tier | No | ||
| score | No | ||
| structure | No | ||
| word_count | No | ||
| consistency | No | ||
| tier_estonian | No | ||
| formal_markers | No | ||
| colloquial_markers | No |