Transliteration for Low-Resource Code-Switching Texts: Building an Automatic Cyrillic-to-Latin Converter for Tatar
Paper · 2021 · Chihiro Taguchi, Yusuke Sakai and Taro Watanabe
Summary
A change of alphabet can require a change of rules halfway through a word. Tatar speakers can attach a Tatar grammatical ending to a stem borrowed from Russian, and the resulting word can contain Cyrillic letters that call for different Latin spellings in the stem and the ending. The authors build a converter that makes this choice from the spelling of the input. It targets 2013Latin, the Latin orthography that Tatarstan adopted in 2013. Because Cyrillic predominates in Tatar writing and modern texts frequently contain Russian material, there is little readily available data that shows both how to spell a mixed word in Latin and where to change rules inside it.
The authors find examples of the languages in separate Tatar and Russian translations of the Qur’an. They select the Tatar translation for its lack of Russian loans. They use subword tokenization to divide words into recurring strings and train a fastText classifier to tell the languages apart from those strings. When a new word comes in, the converter divides it, predicts a language for each piece, and joins consecutive pieces with matching labels. It then spells each resulting stretch according to its assigned language and reassembles the word. The language labels used during training come from the source texts. There is no need for Latin versions of those texts or for examples with manually marked switches inside words.
For the evaluation, the authors use 700 sentences drawn from the Corpus of Written Tatar, create Latin references by hand, and ask a native speaker to verify them. The bilingual converter scores 0.981 on letter-level BLEU, a measure of agreement based on sequences of letters. The authors’ Tatar-only version gets 0.968 and Aylandirow, an existing system with extensive rules covering Russian forms, gets 0.971. The bilingual version matches the references in 437 full sentences, while the Tatar-only version matches 365 and Aylandirow matches 362. Among occurrences marked as containing Russian material, the bilingual version reaches 78.1% accuracy, compared with 46.7% for its Tatar-only counterpart. Speak.tatar leads on that group, while the bilingual converter performs better across the full evaluation.
The spellings show what the aggregate scores leave out. Using Russian rules gives the intended zakon and sovet where the Tatar rules give zaqon and sowet. A mistaken Russian label also turns the correctly spelled soqlanıp into soklanıp. The study establishes that evidence from separate monolingual texts can improve conversion of mixed writing under a specified orthography. It measures the quality of the resulting spelling directly and the quality of the language boundaries only indirectly.
Deep dive: Transliteration for Low-Resource Code-Switching Texts: Building an Automatic Cyrillic-to-Latin Converter for Tatar
A Tatar Cyrillic-to-Latin converter learns where to apply Tatar and Russian spelling rules, even when both languages occur in one word. · about 35 minutes to read
The problem and its context
Why a word can need different spelling rules
The input is already a Tatar text. The goal is to let someone read that text in a Latin alphabet, with the words and any Russian material carried over into the new script. Transliteration is this change of writing system. It preserves the text’s vocabulary and grammatical forms while changing how they are written. For the converter, the difficult decision is which conventions govern the form of a given stretch of letters.
Modern Tatar is a Kipchak language of the Turkic family. The authors describe long contact with Russian, extensive borrowing, and widespread bilingualism. Their account connects everyday switching particularly with colloquial use. A switch can extend to a phrase, but its smallest relevant scale for this study is inside a written word. Space-separated units are therefore convenient for reading the input into the converter, while the actual point where it must change its treatment can fall within one of those units.
One reason is Tatar morphology, the way grammatical forms are built out of word parts. Tatar adds suffixes for inflection and declension. The paper describes vowel harmony as a constraint on those suffixes, with the frontness or backness of the vowels kept consistent. A borrowed stem can take a Tatar suffix and participate in Tatar grammar while retaining pronunciation associated with Russian. In transliteration, the spelling appropriate to that stem can therefore belong to a different set of correspondences from the spelling appropriate to the ending.
The paper illustrates this with klassta. The borrowed stem klass means “class” or “grade,” and -ta marks location. A speaker can use the whole form where English might use “in class.” The stem is familiar enough to be naturalized in Tatar, yet its Russian pronunciation still matters for conversion. This example motivates the size of the decision the authors want the converter to make. The whole written form can be a single unit in the sentence while offering room for a language decision at the join between stem and suffix.
Loanwords and switching matter here through their observable effect on spelling. The paper treats Russian material inside Tatar as relevant even when a borrowed word is well established. To select the right rule for a loan, the converter needs evidence about the spelling convention that applies to the relevant letters. A broader linguistic account of the borrowing could explain more about its history or how speakers use it, but that information is outside the conversion task. The immediate question is whether the Latin form should reflect the Tatar or Russian treatment at a given position.
Much of the Cyrillic inventory is shared. The paper describes the Tatar alphabet as the Russian standard inventory with additional letters. An additional Tatar letter can tell a converter something about the span in which it appears, but even a recognizably Tatar ending gives no guarantee that the stem follows Tatar rules. Shared letters leave more room for ambiguity. For them, the converter needs to draw on combinations of letters, or on rules that specify exceptions, to decide which Latin spelling to use.
A single fixed substitution per Cyrillic character would handle many places where the conventions coincide. Elsewhere it would force a single choice for characters whose treatment depends on language. Whole-word identification would give the converter more flexibility, since it could send some words to Russian rules. The structure of klassta shows the remaining difficulty with a whole-word decision. A converter built around that decision has no place inside the word corresponding to the point where the grammatical ending begins.
The choice of Latin orthography
The name of the output script leaves an important question open. Tatar has used several alphabets, and the conventions used by different Latin-writing communities need not coincide. Cyrillic is the mainstream script in the authors’ account, especially among speakers in Russian-speaking countries. The paper also describes Latin usage in diaspora communities, including those in Turkey and Finland. A conversion tool therefore needs a specified set of Latin conventions before its output can be judged against a reference.
The history given in the paper puts the chosen convention in context. Until 1928, Tatar was written in Arabic script. Soviet latinization brought in the alphabet known as yañalif, which Cyrillic replaced in 1939. Tatarstan adopted a further Latin-based orthography in 1999. That law lost its validity in 2002, after a federal provision required Cyrillic for the languages concerned. The Latin alphabet used as the target in the study was adopted in 2013 and draws on the Common Turkic Alphabet.
The authors use the name 2013Latin for that target and point to the conversion rules described by Timerkhanov and Safiullina. For the experiment, specifying the target makes it possible to prepare a reference spelling and apply the same criterion to each converter. For the reader of a converted text, the choice determines details such as which consonant or vowel appears where there are several plausible Latin renderings. It is consequential even for words with no Russian component.
FinTat illustrates why the specification matters. It is associated with the Corpus of Written Tatar, the source from which the evaluation sentences are drawn, and uses an orthography based on Latin writing among Tatars in Finland. Sharing a connection with the same corpus does little to resolve the difference between the output conventions. The authors describe FinTat as an available tool and exclude it from the empirical comparison because its target differs somewhat from 2013Latin.
The remaining tools still vary in their treatment of particular spellings. The paper observes that Latin Tatar as used online shows variation. Fixing an evaluation target makes a difference countable, even where readers might recognize several variants. The standard is therefore part of the experimental design as well as the converter’s intended output. Results described as accurate in this study refer to agreement with that particular target.
What prior work made possible
The work sits at the intersection of research on low-resource languages and multilingual and cross-lingual NLP. The resource problem has several practical dimensions. Latin counterparts for Cyrillic Tatar text are scarce, making a large collection of examples of conversion hard to assemble. Modern Tatar texts also present a difficulty as training material for language identification, since a text labeled Tatar can include Russian words and pieces of words. A useful source for training on the distinction needs more reliable language labels than the name of the collection alone.
The authors describe a broader scarcity of recorded code-switching, the use of material from different languages in the same speech or text. Their account points to its close association with colloquial language and cites earlier work surveying available datasets. Hindi and English, Spanish and English, and research involving Arabic varieties and Modern Standard Arabic appear as examples of more active areas. That background matters because the availability of suitable mixed data cannot be assumed just because there is prior research on recognizing switches.
The closest precedents in the paper address identification inside a word. Mager and colleagues study German–Turkish and Spanish–Wixarika and use a segmental recurrent approach to divide forms and identify their languages. Nguyen and Cornips study Dutch–Limburgish and use Morfessor to obtain segments based on word structure. The authors also discuss work by Yirmibeşoğlu and Eryiğit on Turkish–English. In the account given in the paper, these studies establish that researchers had already treated a word as a possible site of language switching. The Tatar study uses that kind of decision as an input to another operation, script conversion.
The existing Tatar converters supply a different kind of precedent. The Tatar Transcription Tool, abbreviated TTT, was published by Universität Wien through the Mari Web Project. Speak.tatar is described as an online service developed anonymously. Aylandirow follows an extensive rule-based approach and aims to cover forms of Russian origin alongside forms of Tatar origin. The latter shows how broad a rule collection can be when the developers take Russian forms explicitly into account.
The authors see a maintenance problem with having to add rules as exceptional forms appear. A grammatical analysis of each word and an origin decision for its parts would tackle the problem at a linguistically appropriate level, but the authors expect a full implementation to be cumbersome. Their alternative gives the spelling rules and the language decision different jobs. It uses recurring strings of letters to approximate the parts that need separate treatment and relies on a small collection of labeled examples to learn which rule set each string should invoke.
The method, step by step
What happens to a word
The converter starts with a Cyrillic word and finishes with a Latin word in the same position in the text. The sentence plays no role in selecting the letters for that word. The paper treats conversion as local to the word, so the same input word can be processed independently whenever it occurs. Within that word, the converter first finds pieces that it can recognize from its segmentation procedure.
Each piece then goes through a classifier, a program trained to choose a label. Here the labels are Tatar and Russian. If pieces next to one another are assigned Tatar, they can be handled together as one stretch of Tatar spelling. The same applies to a run of Russian pieces. At a change of label, the boundary remains in place and the converter moves from one set of rules to the other. Once the spans have been spelled in Latin, the converter concatenates their outputs in order.
The distinction between the initial pieces and the spans that finally receive spelling rules is important. Initial pieces make the language decision possible. Their boundaries are candidates for places where the rules could change. Spans after joining contain the consecutive pieces for which the decisions agree. A word can require several initial pieces to get a useful analysis and still reach the rule stage as a single stretch. Final reconstruction removes those internal divisions from the written output.
For klassta, a linguistically appropriate division would make it possible to give the stem Russian treatment and the ending Tatar treatment. The paper uses that word to explain the linguistic phenomenon and gives no observed trace of the converter processing it. The general procedure permits the relevant distinction when segmentation places a boundary at the join and classification supplies the appropriate labels. This separates what the example demonstrates about Tatar from what a test of the system would establish about that particular word.
Training the language classifier and converting a Cyrillic word
The steps in order.
Where the labels come from
The training material comes from Tatar and Russian translations of the Qur’an. The Tatar translation dates to 1912 and supplies 19,691 word occurrences, including repeats. The authors choose it because they describe it as containing no Russian loans. The Russian translation, credited to Egypt’s Ministry of Awqaf, supplies 21,256 word occurrences, likewise including repeats. These quantities refer to the words from which the training pieces are obtained. The paper gives the evaluation material separately.
Finding clean source texts solves a specific labeling problem. Every piece cut from a Tatar training word can be given the label of its source, and the Russian material can be treated the same way. Had the authors drawn all their Tatar training examples from unrestricted modern writing, a Russian stretch could have inherited a Tatar label simply because it appeared in a mostly Tatar document. A source chosen for its lack of Russian loans reduces the need to check the origin of individual training items.
The texts are translations of the same work, but the procedure uses them as independent suppliers of language examples. It operates on pieces of words and has no need to pair a Tatar verse with a Russian verse or align words across the translations. The content of an example for the classifier consists of a written piece and its inherited language label. A matching Latin spelling would add information for a different learning task. Here the Latin spelling is already prescribed by the conversion rules.
This kind of supervision is sufficient to define the training problem even though the intended inputs are mixed. A training word supplies pieces that all inherit its language. An evaluation word can supply adjacent pieces that receive different predictions. The classifier is never asked during training to find a switch within a labeled mixed word. The pipeline creates that capability by repeating the separate language decision across the positions supplied by segmentation.
The inherited labels also have a narrower meaning than guaranteed identification from a piece alone. The same short string can be part of a Tatar form and a Russian form, in which case both source labels can be legitimate for instances of that string. A clean source helps eliminate labels that contradict the origin of a training word. It cannot make a shared string distinctive once the rest of the word is removed. That is one reason the authors seek longer segments where they can get them.
Byte Pair Encoding and the size of a piece
The authors use Byte Pair Encoding, abbreviated BPE, to find the internal pieces. The procedure constructs longer units by combining adjacent smaller ones. It can present a recurring sequence as a unit when the relevant merges are available. If a complete word cannot be formed from the merges, the process can still produce a sequence of smaller units, including individual characters. This ability is the reason the paper gives for using BPE with such limited training material.
A word outside the learned vocabulary can share much of its spelling with words that occurred in the training texts. A system tied to whole-word entries would need a separate way to deal with a missing entry. The smaller pieces provide a usable input to the classifier in that situation. The authors cite earlier work contrasting BPE and Morfessor on this question. Their decision is driven by the need to give the classifier something to process when the complete word is unfamiliar.
They favor the longest available matches, repeating the merge operation until no further merge can be made. Their premise is that a longer sequence is likely to be less ambiguous about language. A shared letter supplies little evidence in isolation. Several letters in order can carry more evidence of the spelling patterns of the language that supplied the piece. The description specifies the stopping principle and does not give a separate reported inventory size or test of other merge limits.
Seeking a longer string is a way to improve the evidence for a language decision. It also affects the set of boundaries where decisions can be made. A segmentation procedure that joins letters across a real switch has already removed that switch as a possible boundary for the classifier. Conversely, a short segment can leave the switch available at the cost of giving the classifier less information on either side. The method chooses the piece first and assigns its language second, so those consequences follow from the order of the steps.
A BPE segment is defined by the written forms used to learn and apply the merges. A morpheme, such as a suffix or a meaningful stem, is defined by its grammatical role or contribution to the word. The converter can benefit from a BPE segment that happens to coincide with a morpheme. It can also benefit from several smaller segments that all receive the same correct label and are subsequently joined. Full recovery of the word’s grammatical structure is unnecessary if the right letters end up under the right spelling rules.
The paper applies the segmentation procedure to the test material in the same manner as to the training data. This gives the classifier the same kind of input in both stages, even though the source of the labels changes. The training labels are supplied by the corpus of origin. The test labels are predicted from the spelling of the pieces. The system’s handling of unfamiliar words depends on how far those pieces and their internal character patterns provide usable evidence.
What fastText learns from the pieces
The classifier is the supervised one provided by fastText. Supervision means that the training examples supply the answer the classifier is meant to predict. Here an example is presented with the language of its monolingual source. The classifier learns from the association between the characters in the example and that label. At test time it sees the written piece and chooses between the Tatar and Russian labels.
FastText expresses the input using word embeddings, numerical representations of written units. The relevant earlier paper is Enriching Word Vectors with Subword Information. In this converter the unit to be represented is a segment produced by BPE, and its character patterns help determine the numerical representation. Spelling evidence can therefore come from shorter strings inside a piece as well as from the piece considered as an entire input item.
An n-gram is a run of adjacent units, in this setting characters. The paper gives a minimum character n-gram size of 2 and a maximum of 4. The numerical representation has 16 dimensions. The dimensions are coordinates of the representation the classifier uses. The n-gram sizes specify the lengths of the character patterns used to supply sub-word information. These are settings for the classifier’s representation, distinct from the BPE procedure that chooses the stretch of text to classify.
This distinction explains how features can be finer than decisions. FastText can use a short string within a BPE piece as evidence, but the classification applies to the whole piece. When shorter patterns within it suggest different languages, the chosen label still governs the whole segment. The availability of character features thus improves what a piece can tell the classifier while leaving the original segmentation in charge of where the converter can change rules.
The training procedure uses hierarchical softmax as its loss, the criterion that guides fitting the classifier to the supplied labels. The authors report these settings as a configuration expected to work well and use them in the conversion experiments. They favor a small supervised classifier for the binary distinction and limited data. Their discussion contrasts that task with the more involved segmentation and labeling problem in the earlier work of Mager and colleagues.
There is no sentence-level language decision described in this architecture. If a piece is ambiguous, a Russian phrase around it supplies no separate input to fastText. Nor is a mixed label assigned to a single piece. The gain sought by the paper is possible despite those restrictions because pieces of one word can receive different binary decisions. The rules then act on the resulting stretches, with no additional test of the classifier’s confidence described between labeling and conversion.
Joining pieces, then choosing letters
Once the predictions are made, adjacent pieces with the same label are concatenated. For instance, successive pieces labeled tt, the paper’s Tatar label, become one continuous Tatar span. Combining pieces gives the spelling rules a longer stretch on which to operate. The authors say they do this for accuracy. They keep a boundary where consecutive predictions differ, so the span following it receives the other treatment.
Joining is a deterministic operation on the predicted labels. It removes boundaries where the predictions agree. If the predictions disagree because one is wrong, their disagreement still preserves the boundary. If a real switch was lost in the initial segmentation, joining cannot recover it. These properties matter because an output can reflect both the information made available by BPE and the decisions that fastText makes from it.
The spelling stage applies the pre-defined Tatar or Russian correspondences to the spans. The Russian correspondence here is part of producing Latin Tatar from an input containing Russian material. In the appendix, the shared Cyrillic letter corresponding to v under the Russian treatment has w under the Tatar treatment. Another shared Cyrillic letter corresponds to k under the Russian treatment and has k and q as Tatar possibilities. Such differences let a language decision change a particular letter in the output.
The appendix also shows where the conventions coincide and where they differ in more complicated ways. Some Cyrillic letters have several possible Tatar renderings, including vowels with alternatives. There are entries for letters absent from a language’s inventory and entries for signs omitted from Latin transcription. The table gives the possible correspondences, with the conversion rules handling the choice where the table lists alternatives. The authors make their tatar_transliteration implementation and a demonstration available. The implementation is the runnable expression of the segmentation, labeling, and spelling procedure.
When both rule sets would write a segment the same way, the eventual Latin word can leave its language label invisible. Where the sets make the different choices illustrated by v and w, the effect can be seen directly. This is why the natural evaluation target is the spelling a reader gets, while an evaluation of the internal decisions would need to inspect the pieces and their labels as well.
The paper’s notation for comparing outputs
The architecture is specified as a sequence of operations. The explicit arithmetic identity in the paper appears in the caption for the overall scores.
ACC = 1 − CER
ACC is the accuracy quantity named in that table. CER is the character error rate. 1 is the full proportion, − denotes subtraction, and = asserts the equality stated in the caption. The paper also calls ACC word accuracy in its description of the metrics. The implications of the two descriptions for interpreting the results are discussed below.
The error analysis uses V(T) for the set of distinct word forms that the Tatar-only converter gets wrong and V(H) for the equivalent set for the hybrid. In this notation, V gives the set of errors associated with the system in parentheses. T identifies the converter with Tatar rules throughout, and H identifies the bilingual converter. The comparisons involve the following expressions.
V(T) ∩ V(H)
V(T) is the Tatar-only error set and V(H) is the hybrid error set. The symbol ∩ denotes intersection, taking only forms in both sets. Parentheses enclose the system argument to V. This expression gives the words with erroneous final spellings under either treatment in the sense that both converters fail on each of them.
V(T) ∖ V(H)
V(T) is the error set on the left, and V(H) is the error set on the right. The operator ∖ means set difference, which removes the members of the set on the right from the set on the left. The result contains forms that fail with Tatar rules alone and succeed with the hybrid.
V(H) ∖ V(T)
V(H) now supplies the initial set and V(T) supplies the exclusions. Again, ∖ takes the forms in the left set that are absent from the right set. The expression identifies hybrid errors among forms that the Tatar-only converter spells correctly. The direction of this operation lets the analysis distinguish corrections from regressions.
Experiments and results
The sentences and the comparison systems
The evaluation starts with 700 shuffled sentences from the Corpus of Written Tatar. They contain 8,466 words when repetitions count and 5,261 when duplicates are removed. The authors manually transcribe the sentences into Latin and have a native speaker verify those references. This gives each Cyrillic input a checked counterpart under the target convention and lets the same material be used to evaluate all the tools.
The authors also carry out linguistic annotation of the Cyrillic material by marking Russian morphemes. They report 1,009 occurrences of words with Russian material. A separate category consists of words with a change of language inside them. The experimental setup reports 598 occurrences for this category, and the caption for the subgroup results gives 605. It is possible to describe both counts as published, with the latter being the stated denominator for the subgroup table.
The annotations serve a different role from the references. A reference determines whether the converter writes the intended form. A mark for Russian determines which group an input belongs to for a more focused comparison. A conversion on that group can be scored as a correct word without turning the experiment into an assessment of whether the system’s predicted language boundaries match the marks. The evaluation mainly uses the annotations to select the words on which output accuracy is measured.
The closest baseline is the authors’ tt-based system, which converts everything with their Tatar rules. Their proposed tt-ru hybrid system adds selective Russian treatment. This pair lets the authors compare the new procedure with keeping the same Tatar conventions throughout. Independently developed tools introduce other differences, including their particular choices about 2013Latin and their coverage of borrowed words.
Among the existing tools, Aylandirow is the strongest example of extensive rules intended to accommodate Russian-origin material. TTT and speak.tatar provide additional comparisons with available services. The experiment thereby asks both whether selective bilingual treatment helps the authors’ own converter and where its results stand among tools that a reader of Cyrillic Tatar might already use. FinTat is set aside because of its different Latin conventions.
What each measurement captures
BLEU is applied at the level of letters. It captures how well sequences of letters in the proposed spellings agree with sequences in the reference. A spelling can score some agreement through shared sequences even if it fails as an exact match. Longer runs of correctly rendered letters can consequently matter, in addition to whether the converter chose the right letter in a specific place where Tatar and Russian rules diverge.
The longest-common-sequence F-score, or LCS F-score, also measures letter-level agreement. It draws on letters that can be matched in their original order in the proposed and reference spellings. The F-score expresses how much of both spellings that common sequence accounts for. It offers another view of partial success. A proposed form can have a high degree of ordered overlap with the reference in spite of differing at a crucial letter.
Character error rate is reported as CER. A lower value signifies fewer character errors by that measure. The overall table gives ACC alongside it and describes the quantities as complementary in its caption. The paper’s description of ACC as word accuracy sits uneasily with that identity, because the unit for a character error and the unit for a whole-word success are different. The displayed speak.tatar values also leave the identity unclear at the reported precision. The ACC numbers below therefore retain the table’s label. Exact matches can be described more directly with the paper’s separate counts for sentences and its counts and accuracies for the annotated word groups.
The complete-sentence count asks whether the entire reference is reproduced. Partial overlap inside a word earns no credit towards matching the complete sentence. It is a useful counterpart to the letter scores because the same types of misspelling can have different effects depending on where and how frequently they occur. The paper also counts error words, and its paired analysis of the authors’ converters explicitly removes duplicates. That analysis asks how many distinct forms fail under one or both treatments.
Overall performance
The hybrid records 0.981 letter-level BLEU on the evaluation sentences. Aylandirow follows with 0.971, and the Tatar-only implementation gets 0.968. TTT scores 0.879, while speak.tatar gets 0.869. The bilingual system thus leads the comparison on letter sequences. Aylandirow is the closest existing converter on this measure, consistent with its extensive coverage of words of Russian origin. The Tatar-only version’s standing also shows that being able to apply Russian spellings is only part of what governs a score against 2013Latin.
Letter-level BLEU on the Corpus of Written Tatar evaluation
The hybrid leads on letter-sequence agreement, followed by Aylandirow.
The numbers
| System or setting | BLEU |
|---|---|
| Tatar–Russian hybrid (this paper) | 0.981 |
| Aylandirow | 0.971 |
| Tatar-only | 0.968 |
| TTT | 0.879 |
| speak.tatar | 0.869 |
The LCS F-score comparison partly changes that picture. Aylandirow and the hybrid both have a reported value of 0.994. The Tatar-only system is at 0.989. TTT scores 0.956 and speak.tatar scores 0.953. At the precision shown, the tie means that this measure of ordered letter overlap does not distinguish the leading pair. The BLEU scores and sentence counts distinguish them on other aspects of reference agreement.
The hybrid’s 0.007 CER is the lowest reported character error rate. Aylandirow scores 0.009, and the Tatar-only version scores 0.011. Speak.tatar shows 0.049, while TTT shows 0.054. In the ACC column the hybrid reaches 0.993, followed by Aylandirow with 0.991 and the Tatar-only converter with 0.989. The printed ACC for speak.tatar is 0.952, and for TTT it is 0.946. Taken under their published labels, these measurements put the hybrid first in both columns. The LCS tie qualifies the claim about leading the overall evaluation.
The difference between spelling individual words almost correctly and reproducing whole sentences is visible in the sentence counts. The hybrid agrees with the reference for 437 sentences. The Tatar-only version reaches 365, and Aylandirow reaches 362. TTT gives 121 exact sentences and speak.tatar gives 67. Aylandirow ranks ahead of the Tatar-only converter on BLEU and falls just behind it on complete-sentence matches. In this evaluation, its strong letter-level results therefore coexist with a slightly smaller count of wholly reproduced sentences.
Exact sentence matches on the Corpus of Written Tatar evaluation
The hybrid reproduces more complete references than any comparison system.
The numbers
| System or setting | correct sentences |
|---|---|
| Tatar–Russian hybrid (this paper) | 437 |
| Tatar-only | 365 |
| Aylandirow | 362 |
| TTT | 121 |
| speak.tatar | 67 |
The error-word column puts the hybrid at 332, Aylandirow at 526, and the Tatar-only version at 552. It reports 1,505 for TTT and 1,747 for speak.tatar. The comparison of error sets confirms that the hybrid and Tatar-only counts refer to distinct forms. The hybrid’s smaller set can include some errors absent from the larger set. The authors examine that possibility by comparing the contents as well as the sizes of the sets.
Performance where Russian is marked
On the group of 1,009 occurrences containing Russian material, the hybrid gives 788 correct conversions, with accuracy reported as 0.781. The Tatar-only converter gives 471 correct conversions, at 0.467. For the authors’ own systems this group gives the most direct comparison of how adding Russian treatment affects the forms whose spelling motivated the change. It also puts the frequency of successful conversions into the same unit as the test: occurrences of whole words.
Speak.tatar leads the group with 805 correct spellings at 0.798. Aylandirow has 738 at 0.731, and TTT has 258 at 0.256. The paper attributes speak.tatar’s strength here to rules well suited to Russian words. Its full-corpus performance shows that strength can coexist with weaker conversion across the Tatar text as a whole. The hybrid is strongest overall by the principal measures and has a different position when attention is restricted to words containing Russian.
Word accuracy on evaluation occurrences marked as containing Russian
Speak.tatar leads this group, and the hybrid outperforms the Tatar-only versions.
The numbers
| System or setting | word accuracy |
|---|---|
| speak.tatar | 0.798 |
| Tatar–Russian hybrid (this paper) | 0.781 |
| Aylandirow | 0.731 |
| Tatar-only | 0.467 |
| TTT | 0.256 |
For the separately reported intra-word switching group, the hybrid has 464 correct conversions at 0.767. Aylandirow has 461 at 0.762 and speak.tatar has 455 at 0.752. The authors give 294 and 0.486 for their Tatar-only implementation, and 175 and 0.283 for TTT. These are the counts and accuracies as printed for the group whose denominator is given as 605 in the results caption. The hybrid has the highest reported accuracy, with Aylandirow close behind.
The narrower group is especially relevant to the proposed segmentation because its definition requires Russian and Tatar material in the same written word. The broader group requires Russian material somewhere in the word and can also include fully Russian forms. Their rankings show that strength at converting words with Russian material overall and strength at converting internally mixed words can come apart. The subgroup evaluation compares spellings of the whole words in each group. A successful output contributes a correct conversion regardless of how the tool arrived at it.
What the ablations show
The paired comparison tests the complete hybrid treatment
The paper’s controlled comparison is between the authors’ Tatar-only converter and their bilingual converter. Relative to comparing different online tools, it holds the authors’ Tatar conventions steady. The intervention makes Russian rules available and uses segment-level classification to decide where they apply. The resulting difference shows what the combined procedure contributes under the authors’ spelling conventions.
The change is particularly visible on words selected for containing Russian material. The study gives the accuracies as 46.7% for Tatar rules alone and 78.1% for the hybrid. That pattern is what one would expect if the added route through Russian rules were being used productively. The intra-word group supplies a further check on the effect in the harder setting, where a word contains a switch. The hybrid’s reported 0.767 there exceeds the Tatar-only system’s 0.486. Aylandirow’s 0.762 shows how close an extensive rule-based converter can come on this particular group.
The comparison bundles several choices. Turning on the hybrid introduces BPE-based decisions, language classification, and Russian spellings at the places selected by those decisions. The paper gives no isolated test for changing only the segmentation strategy, assigning labels at whole-word scale, or omitting the operation that joins equal neighbors. The observed gain belongs to the implemented combination. The evidence for how any particular choice contributes comes chiefly from the explanation of the design and the examples of outputs.
There is a corresponding distinction between testing whether the system can convert mixed words and testing whether a trained classifier is required to do so at this level of accuracy. The paired experiment answers the former for the authors’ pipeline and shows the contribution of the bilingual treatment relative to Tatar rules throughout. An existing system with different, extensive rules can also produce many correct mixed spellings. Its performance is part of the comparison, while the influence of individual choices within the hybrid remains unresolved.
Corrections, shared failures, and regressions
Over the evaluation’s 5,261 distinct word forms, the Tatar-only system makes errors on 552 and the hybrid on 332. The authors count 216 forms in the intersection of the error sets. These shared failures survived the change of treatment. Some may involve aspects of spelling the added Russian route was never intended to address, or situations where the route was available but failed to help. The count gives no breakdown of causes.
The forms that were wrong with Tatar rules throughout and correct with the hybrid number 336. This comparison tracks changes on the same input form. It therefore captures more than a ranking from separate totals. It identifies the cases in which selective bilingual conversion made the difference between missing and reproducing the reference. The fact that the analysis removes duplicates means a repeatedly occurring word contributes a single form here.
In the other direction, 116 distinct forms are correct with the Tatar-only treatment and wrong with the hybrid. These are errors that appear when the language-sensitive treatment is introduced. The counts establish the size of this group separately from the corrections. With only the overall error counts, it would be possible to see that there are fewer erroneous forms in the hybrid while missing how often the change creates a new error.
The set comparison thus makes the effect of selective treatment more concrete. It also sets a boundary on what can be diagnosed from the counts. A correction establishes that the hybrid found a way to produce the reference. An error unique to the hybrid establishes that the output changed adversely under the new treatment. Assigning either outcome to a particular boundary, language label, or rule requires more evidence about the word itself.
Which letters expose a language decision
The paper presents two loans in a sentence where the Tatar-only version uses zaqon and gives the stem sowet in an inflected form. The intended stem spellings are zakon and sovet, which the hybrid produces. The informative changes are q to k and w to v. Because the rule sets diverge at those letters, the outcomes show what a productive choice of Russian treatment looks like in the finished text. They are direct illustrations of the intended route through the converter.
The example with soqlanıp exposes the opposite effect. The authors say the first sub-word of this Tatar form received a Russian label. That label led the converter to use k, giving soklanıp. The Tatar-only version gave the reference soqlanıp. Here the intermediate language decision is described, so the failure can be traced further than an observation that the final spellings differ. The rule stage did what the label directed it to do.
Together these examples show why the same mechanism can help a loan and harm a Tatar word. The Russian rendering of a shared letter is useful in one case and inappropriate in the other. The classifier needs enough evidence to assign the Russian label where that rendering is wanted. If a Tatar segment has a similar character pattern, the rules provide no separate safeguard. The spelling difference is the consequence of selecting an otherwise legitimate correspondence for the wrong span.
In the appendix the authors show a sentence containing Vladimir Putin. The Tatar-only output has Wladimir where the reference and hybrid have Vladimir. Aylandirow and speak.tatar also preserve the reference form of the name. Elsewhere in that example, Aylandirow gives Rossiä where the reference has Rossiyä. Speak.tatar matches the shown reference. Looking across the sentence makes it possible to see distinctions that would be lost if the comparison of the systems stopped at the name.
Coverage is also visible in the authors’ Aylandirow example. It writes taqsi for the Russian loan taksi. This establishes a particular gap in a tool that has broad coverage of Russian-origin forms, while the shared letters explain how such a misspelling can coexist with strong partial agreement. The overall LCS tie is compatible with differences in individual origin-sensitive spellings. An isolated coverage error gives no estimate of how frequent such gaps would be outside the evaluation.
Why spelling conventions affect the baseline
The authors give a TTT example involving the word for “criticism.” TTT writes tänqit’ with a terminal mark described as a hamza. The expected form under 2013Latin is tänqit. The comparison turns on a convention that a converter may handle differently, and resolving a Russian switch is unnecessary to explain the discrepancy. This gives substance to the authors’ explanation for why even their Tatar-only implementation can outperform some existing tools overall.
The example also changes how to interpret a comparison among independently developed systems. A converter may lose a sentence match because of a convention it follows regularly, even if it happens to handle a Russian form correctly in that sentence. Conversely, a converter particularly well aligned with the target can score strongly on Tatar material in spite of making predictable errors on Russian loans. The paired comparison between the authors’ implementations and the separate Russian-group scores reduce different parts of that ambiguity.
These analyses provide specific examples of rule coverage, language labeling, and orthographic consistency. They establish that each can affect the observed output. The paper does not systematically assign all errors to these causes. Its aggregate comparisons describe the full converter, its overlap counts describe which forms change status, and its examples explain particular changes that the totals alone could never identify.
Limitations
Limits the authors identify
The authors describe Latin Tatar spelling in actual use as variable. The paper connects online variation with the effective absence of an institution regulating everyday use of the Latin orthography and singles out foreign forms and proper nouns as cases where several spellings can occur. Its native-speaker-checked references make a particular evaluation possible. Agreement with those references is evidence about a converter’s fitness for 2013Latin under the paper’s interpretation of the standard. It leaves room for legitimate variation elsewhere.
The exclusion of FinTat is an explicit consequence of the choice of standard. Other tools can also be affected by differences in convention, as the example from TTT shows. This restricts the conclusion one can draw about the relative quality of the tools for readers who use another Latin orthography. In the paper’s test, a different convention can count as a deviation even if it is used consistently and produces understandable text.
The authors also motivate their approach by the lack of sufficient clean Tatar material for language classification. The old Qur’an translation gives them the kind of labeling source they need and limits what the training data represent. They report success with at least some Russian loans and show a counterexample in which the converter incorrectly applies Russian spelling to a Tatar form. Their stated expectation of more flexible coverage for unfamiliar Russian words goes beyond that example-based evidence.
The conclusion proposes applicability to other low-resource languages that switch inside words. The classifier’s design is general in the sense that it does not require syntactic analysis or part-of-speech tagging to compute a language label from letters. A transfer would still need sources for the relevant languages and spelling rules appropriate to the new target. The empirical evaluation demonstrates results for Tatar and Russian under 2013Latin. The broader applicability is an argument about the architecture.
Limits visible in the setup and reporting
The evaluation uses material from a single written corpus. Training on the translations and evaluating on corpus sentences shows that the procedure can work across those sources. The study does not break out the results by genre or separately measure performance on colloquial writing. Its discussion of everyday switching explains the motivation, while the tested sample determines the scope of the measured effect. Performance could depend on how frequently different forms of borrowing and switching occur in the material to be converted.
The training procedure also puts several source properties together. The Tatar translation was chosen for the quality of its inferred language labels and comes from a different setting from the test corpus. The experiment provides no comparison with a recent monolingual Tatar source checked to the same standard. It therefore cannot establish whether the same collection was an especially good choice for learning diagnostic strings or simply a workable way to get clean supervision with the available data.
The paper’s strongest quantitative claims concern converted words and sentences. Though Russian material is annotated, the study supplies no separate precision or recall for detecting a switch boundary and no direct accuracy for the classifier’s assigned labels. This matters wherever the rules agree. Several competing labelings of a word can yield identical Latin output, especially when the letters near the putative switch are spelled the same way in both treatments. An exact spelling is sufficient for the conversion task and may leave the accuracy of the internal boundary unresolved.
Errors are similarly underdetermined. A proposed spelling could go wrong because a BPE piece spans a language change, because the classifier sends a well-placed piece to the wrong rules, or because the chosen rules fail to give the reference spelling even with a suitable label. The discussion of soqlanıp identifies a classifier error in an individual form. Other failures could only be separated with a comparable diagnosis or with tests that isolate the relevant stages. The shared-word error count supplies no such allocation.
A run using annotated language labels and boundaries would show how well the spelling rules perform when the language decisions are supplied. A run assigning each word a single language would help identify the contribution of allowing labels to change inside it. A test with different merge choices or without joining would address the roles of segmentation and grouping. These comparisons are absent from the experiments. The data support the reported performance of the combined converter and the paired result against Tatar-only rules.
The word-by-word design foregoes potentially informative context by construction. A phrase switched to Russian might provide information about the language of a short segment inside one of its words. The paper does not compare its procedure with one that consults that context. Its findings show the performance achievable with local spelling evidence and the reported rules on this collection. They give no estimate of how much context could improve predictions, or whether particular ambiguous pieces would benefit from it.
Unfamiliar forms are a further question. Breaking a word into pieces allows the system to produce predictions even when a larger string is absent from its training material. This is a mechanism for handling an unfamiliar input, and producing a reliable spelling also depends on the language prediction and the rules. The paper reports no separate evaluation of verified unfamiliar Russian forms. The taksi example establishes a gap for Aylandirow. It cannot establish how consistently either tool would handle loans that fell outside the material available during development.
Finally, the definitions and totals in the results leave some numerical uncertainty. The 598 intra-word switching occurrences in the setup and the 605 in the results caption give different accounts of the size of the narrower subgroup. The printed counts and accuracies can be cited as reported, with the composition of that subgroup unresolved. The ACC and CER descriptions likewise leave uncertainty about the exact interpretation of overall ACC. The sentence matches and the paired counts of distinct erroneous forms have more clearly identified units. The paper reports observed scores and counts, with no statistical analysis that would establish how stable small differences would be on another sample.
What came after
A later work on a Tatar Universal Dependencies treebank cites the transliteration study. Its subject is a treebank, a collection of sentences annotated for grammatical structure. The link places the conversion study in the background of later work on a Tatar language resource. The citation alone leaves the nature of the connection open. It does not establish whether the treebank project used the converter, took over its labels for Russian material, or referred to it as earlier work on processing Tatar.
The 2026 survey Beyond Monolingual Assumptions also cites the study. The survey covers code-switched language processing across modalities, while the cited experiment concerns the written output of a script converter. The connection is that script conversion gives a concrete instance of a decision that can depend on language at a scale smaller than a written word. Here that decision changes letters a reader can see. The citation puts the Tatar experiment within the survey’s broader subject. Details of a particular reuse or technical extension are unestablished.
These later citations connect the paper to subsequent work on a Tatar resource and to a wider account of code-switching. The measured contribution remains the original conversion experiment: language cues learned from separate sources can guide a change of spelling rules inside a word, with gains in reference agreement and identifiable errors when the language decision goes wrong.
Cite
Cite as Chihiro Taguchi, Yusuke Sakai and Taro Watanabe. 2021. Transliteration for Low-Resource Code-Switching Texts: Building an Automatic Cyrillic-to-Latin Converter for Tatar. Proceedings of the Fifth Workshop on Computational Approaches to Linguistic Code-Switching.
@inproceedings{taguchi2021transliteration,
title = {{Transliteration for Low-Resource Code-Switching Texts: Building an Automatic Cyrillic-to-Latin Converter for Tatar}},
author = {Chihiro Taguchi, Yusuke Sakai and Taro Watanabe},
booktitle = {Proceedings of the Fifth Workshop on Computational Approaches to Linguistic Code-Switching},
year = {2021},
doi = {10.18653/v1/2021.calcs-1.18},
url = {https://doi.org/10.18653/v1/2021.calcs-1.18}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/taguchi-2021-transliteration-low-resource-code-switching/