check_term_consistency
Flag Estonian text where the same concept is named in several different ways, with variant groups and counts so you can choose one standardized term.
Instructions
Flag a document that calls the same thing several different names.
The classic long-document defect, and the one a model editing
paragraph-by-paragraph reliably misses: a dataset that is andmestik
on page 1, teadusandmestik on page 2 and korpus on page 3.
Two precision-first rules:
shared-compound-head: a bare noun and a compound built on it both occur (andmestik+pildiandmestik), or 3+ lemmas share one head.shared-wordnet-synset: two lemmas sit in one Estonian WordNet synset, i.e. WordNet calls them synonyms.
Each group lists its variants with occurrence counts and the dominant one, so you can standardise on the most-used term. The tool does not decide which variant is right — some groups are genuinely distinct concepts, so read them before rewriting.
CHECK degraded BEFORE TRUSTING AN EMPTY RESULT. When Estonian WordNet
is not installed, the shared-wordnet-synset rule cannot run; the tool
then returns degraded: true, says so in summary_estonian, and marks
the rule false in rules_run. "No groups found" from a degraded run
means "the compound-head rule found nothing", NOT "the terminology is
consistent".
Known gap: synonyms sharing neither a head nor a synset (korpus / andmestik) are not caught. Input capped at 100,000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Estonian document to check for the same thing being named several different ways. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| text | No | ||
| groups | No | ||
| degraded | No | ||
| rules_run | No | ||
| terms_analysed | No | ||
| summary_estonian | No |