Generating key points…
Answers are grounded in this paper and cite their sources.
The paper addresses the identification of the Ukrainian language in short texts. Content processing software faces this task at the first step of its pipeline: the language decision determines which downstream models are applied, so an error at this stage propagates to every subsequent one. It is shown that the available language identification libraries are designed for sentence-length input, give no accuracy guarantees for posts of one to five words, and produce overconfident scores precisely on such texts. The purpose of the work is to develop and experimentally verify a method that combines three stages: text normalisation, which removes social media service elements and reverses Latin homoglyph substitutions; a filter based on marker character n-grams derived from a calibration set; and a statistical identifier with length-dependent acceptance and rejection thresholds. Markers and thresholds are selected by a single criterion: the lower confidence bound of the precision of each decision on the calibration set must not fall below a prescribed level. A text for which no criterion is met is labelled as undetermined. The minimum number of observations required for an n-gram to become a marker is derived, and the procedure is shown to recover the expert rule based on the letters ї, є, ґ automatically and to add markers absent from the alphabet-based approach. The evaluation uses sentences from Universal Dependencies treebanks of six Cyrillic-script languages truncated to a fixed number of words and six identifiers: fastText lid.176, NLLB LID-218, GlotLID, lingua in two modes, and langdetect. The minimum text length at which the upper confidence bound of both error types stays below 1% is established: seven words for GlotLID and NLLB LID-218 and ten words for lid.176, whereas lingua in high-accuracy mode and langdetect never reach this level. The marker filter is confirmed to settle up to 82% of decisions without a model call, to make no errors on texts of seven words or longer, and to reduce the error counts of all identifiers significantly according to McNemar's test. In the error-controlled mode the observed precision of acceptance and rejection on the test set is not below 99% for every length and every model. On independent data (a corpus of texts with authentic errors and a manually labelled sample of 600 real social media posts) the share of wrong decisions does not exceed 0.7%. Full replacement of Cyrillic letters with Latin homoglyphs is shown to raise the balanced error of most identifiers to 19–37%, while the proposed normalisation brings it back to the clean-text level. The method reduces the share of calls to the statistical model to 18% of texts and increases the throughput of a GlotLID-based component severalfold.
No takes yet. Share an insight, caveat, or question.
Артем Ховрат (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: