check_natural
Check Ukrainian text for unnatural calque phrases and verify naturalness, with recommended alternatives to improve phrasing.
Instructions
Check Ukrainian text for calque-prone phrases and naturalness.
Returns spans flagged as:
• calque-prone — phrase appears in the antisurzhyk book corpus
(Сербенська, Караванський, Антоненко-Давидович) as something to
avoid; prefer gives the recommended alternative.
• natural — phrase is attested as a high/medium-confidence
rendering in the 29k-sense corpus.
Use this AFTER drafting Ukrainian text, BEFORE returning it to the user. Rewrite calque-prone spans before delivering your response.
Args: text: Ukrainian text (2 chars min).
Returns: { "input": str, "spans": [ {"span": str, "start": int, "end": int, "verdict": "calque-prone" | "natural", "prefer": str | None, # for calque-prone "for_en": str | None, # for natural "source": str | None, "source_url": str}, ... ], "summary": {"calque_prone": int, "natural": int, "score": float}, "citation": {...}, }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||