check
Check Ukrainian text for grammar, spelling, and surzhyk issues using hand-written rules, russianism detection, and corpus data. Returns detailed issues with severity and replacement suggestions.
Instructions
Full Ukrainian grammar + spelling + surzhyk check.
Runs LanguageTool, 1400+ hand-written rules, a fine-tuned russianism detection model, and the antisurzhyk book corpus. Returns position-indexed issues with severity and replacement suggestions.
Use this when the user asks "is my Ukrainian correct?" or you want to validate Ukrainian text comprehensively (not just naturalness).
Args: text: Ukrainian text (up to ~5000 chars).
Returns: { "issues": [ {"rule_id": str, "offset": int, "length": int, "message": str, "suggestion": str | None, "severity": "error" | "warning" | "hint", "source": str, "category": str | None}, ... ], "stats": {"word_count": int, "errors": int, "warnings": int, ...}, "engine_version": str, "citation": {...}, }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||