Check Orthography
check_orthographySlovenian, Croatian and Serbian. Orthography findings, each with the rule's place in the
rulebook (Slovenian: § number of Slovenski pravopis 2001; Croatian: chapter, section and page
of Hrvatski pravopis, IHJJ 2013; Serbian: point and page of Pravopis srpskoga jezika, Matica
srpska 2010), a paraphrase of the rule, the text, a suggested replacement
and character offsets. Slovenian: commas before subordinate and adversative clauses, ne +
verb, together or apart, s/z and k/h, capitals, spacing, dashes, dates, abbreviations.
Croatian: no comma before a dependent clause after its main clause, comma before ali/nego,
ne + verb (ne mogu), je li, ni za što, together or apart (nažalost, sa mnom, dvadeset pet),
č/ć, ije/je, voicing, sljedeći, HDZ-a, 80-ih, capitals, spacing (50 %, 15 – 17), dates,
abbreviations. Serbian (Latin or Cyrillic; findings in the input's script): the future
radiću (not radit ću), ne + verb, da li, ni za šta, together or apart (nažalost, u stvari,
na primer, sa mnom), Serbian forms (ko, uopšte, opšti, zadaci, tužilac), no mixing of
ekavian and ijekavian, no comma before declarative da or nego što, 55%, 1941–1945, XX vek,
dr without a full stop, NATO-a, capitals. kind says how sure a finding is: mechanical (the rule decides), heuristic
(usually right), lexical (decided from the lexicon and corpus counts). Not checked: the
comma after a leading or embedded clause (Serbian: opt-in rule comma_leading_clause),
grammar, loanword spelling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "check_orthography"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | sl Slovenian (Slovenski pravopis 2001), hr Croatian (Hrvatski pravopis, IHJJ 2013), sr Serbian (Pravopis srpskoga jezika, Matica srpska 2010); auto picks by the lexicons (Cyrillic is Serbian) | auto |
| text | Yes | Slovenian, Croatian or Serbian text (Latin or Cyrillic), up to 20,000 characters | |
| rules | No | Rule ids to apply (see explain_rule); default: the rules measured reliable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||