Elamur Research

Towards Machine Translation for the Kurdish Language

Paper · 2020 · Sina Ahmadi and Maraim Masoud

Summary

A translation system learns from the way its examples are written. If a conjunction routinely appears joined to its neighbor, the system sees an apparent word where a reader recognizes two units. If a passage on one side of a bilingual record explains what the other side merely states, the system has to learn from an uneven correspondence. In their study of machine translation between Sorani Kurdish and English, Sina Ahmadi and Mariam Masoud ask what can be achieved with the bilingual material available for Sorani and how much the result depends on the way that material is prepared.

The authors assemble pairs from Tanzil’s Quran translations, TED subtitles, and KurdNet’s translated dictionary definitions. Tanzil supplies most of the data. Its Sorani version frequently adds interpretation to the verse, whereas the English versions generally stay closer to a literal rendering. TED covers more subjects, but a single aligned record can hold several phrases. KurdNet adds brief definitions with specialized vocabulary. The authors standardize selected Kurdish characters and spellings, delete parenthetical passages, and use counts from a separate Kurdish corpus to decide when to detach the conjunction meaning “and.” They then compare four approaches to tokenization, the choice of units that the translation system reads and produces. WordPiece, byte-pair encoding, and Unigram learn reusable pieces from Kurdish text. WordPunct divides text according to character patterns.

The translation experiments use two recurrent encoder–decoder configurations in OpenNMT. These systems read a source sequence and produce a sequence in the other language, carrying information forward as they process tokens. On the mixed test set, Test 1, WordPunct gives the strongest results in both directions. The best Kurdish-to-English setting is Model 1, with a BLEU score of 19.95. For English-to-Kurdish, Model 2 leads at 52.94. The winning settings also have the highest METEOR scores and the lowest reported translation error rates for their directions, with a tie on error rate for English-to-Kurdish. The wider recurrent setting helps in one direction, and the simpler segmentation procedure wins the mixed comparison in both.

Testing each source separately reveals how much the pooled result depends on the material. With Model 2 and WordPunct on English-to-Kurdish Test 2, BLEU is 59.28 on Tanzil, 2.82 on KurdNet, and 0.00 on TED. The authors point to uneven training coverage, distinctive vocabulary and sentence types, and the length and quality of TED alignments. Shorter TED records score better in a follow-up analysis, though the authors still judge performance inadequate. Selected outputs explain what partial success can look like. A system can find a suitable word for knowledge and still lose the idea that a society shares knowledge and values.

The paper establishes an initial experimental basis for Sorani translation in a low-resource language setting. It shows that the choice of segmenter matters under the reported conditions and that a promising overall score can coexist with poor performance on particular sources. The individual effects of character normalization, parenthesis removal, and the conjunction repair remain unmeasured. The authors acknowledge the lack of an external baseline and a wider search over training settings. They propose translation using morphemes, support from dictionaries, transfer from related varieties or languages, and pretraining on monolingual text as directions for further study.

Deep dive: Towards Machine Translation for the Kurdish Language

A study of Sorani Kurdish–English translation that tests how text segmentation and the mix of training sources affect translation quality. · about 39 minutes to read

The problem and its context

What a bilingual record can teach

The starting point is a practical question. If a researcher wants to train a Sorani translation system, which examples can the system learn from? The authors need parallel data, meaning passages in different languages paired because they correspond in meaning. A large collection of Kurdish writing can show how Kurdish is used. It supplies bilingual evidence only where there is also a counterpart in the other language that can be associated with the relevant passage. The study has considerably more room to learn how Kurdish text is put together than it has to learn how that text corresponds to English.

Even where a counterpart is available, the unit of correspondence matters. An aligned record says that a stretch of Kurdish and a stretch of English belong together. It may pair two expressions that convey much the same information with different wording. It may also pair a brief rendering with a passage that supplies more detail. In the latter case the system sees extra words that have little explicit support on the other side. The authors encounter this problem in the very source that makes the experiment possible at its reported scale.

The paper treats data and basic processing tools as interconnected needs. If a corpus is small, every avoidable distinction in its representation makes the evidence for a written form more scattered. A spelling difference can divide examples that a reader recognizes as instances of the same word. A missing space can hide a grammatical unit within what appears to be a different word. The converse is also possible. A space-based count can make the text look well divided even when grammatical information is attached inside a written form. Preparing the corpus means deciding which of these differences the system should see.

The resource shortage is specific to the task. The authors describe Kurdish as an Indo-European language with 20-30 million speakers. They discuss Sorani as a major variety alongside Kurmanji and Southern Kurdish, and locate most Sorani use in Kurdish regions of Iran and Iraq. Resources labeled Kurdish can serve different varieties. A bilingual corpus that supports work on Kurmanji may say little about how to process the spelling and grammatical forms occurring in the Sorani data used here.

What researchers had built for Kurdish

The authors trace translation research through dictionary-based and rule-based systems, statistical translation, and neural translation. A dictionary-based approach relies on available lexical correspondences. A rule-based approach can also describe how constructions in one language should be reorganized in the other. Statistical translation shifts some of that work from rules written by hand to regularities inferred from data. The paper describes recurrent neural translation as a subsequent development that had achieved strong results for many languages while still depending on the material and tools available for the languages in question.

In this account, the problem with a manually built resource is coverage. A dictionary may contain the component words of an expression and still give a translator little help with the expression as a whole. A set of transfer rules can correctly describe a construction that its authors anticipated while leaving other constructions untreated. The paper discusses inKurdish as a dictionary-based effort and cites an evaluation relating its failures to long sentences and idiomatic wording. Those cases give concrete form to the difficulty of extending coverage beyond isolated lexical correspondences.

Apertium, the other prominent predecessor in the paper’s account, brought together bilingual dictionaries, morphological descriptions, grammars, and rules for structural transfer in its Kurdish work. The authors cite an assessment that favored its rule-based approach among the Sorani tools discussed. Lexicon and rule coverage still limited generalization across domains in that assessment. An approach that can encode a great deal about a particular language needs resources that account for the range of text it will encounter.

The paper also describes practical demand for translation through the work of organizations serving refugees. It names Translators without Borders and Tarjimly in a discussion of services that help people reach translators, including for communication with authorities. The paper mentions an Apertium-based translation effort associated with Translators without Borders and reports no performance evaluation for that effort. The example explains the importance of the problem independently of what any experimental system can deliver.

Several research efforts had already increased the range of Kurdish resources. The authors mention dictionaries, specialized corpora, a collection of folkloric material, and KurdNet. They also describe parallel news material in Bianet, with 6,486 English–Kurmanji sentence pairs and 7,390 Turkish–Kurmanji pairs. The OPUS collection includes translations from GNOME and Ubuntu software localization in Kurmanji and Sorani. The availability of religious translations in Tanzil is especially important to the paper’s choice of research setting. The authors also note that Google Translate added Kurmanji in 2016, another illustration of why it matters to specify the variety when describing Kurdish translation resources.

Why the written word is an uncertain unit

Sorani is generally written in a Kurdish adaptation of the Arabic script. The paper contrasts this with the Latin-based writing used for Kurmanji and describes the lack of an orthographic standard accepted across Sorani users. For a computational system, script and orthography present different questions. Script concerns the characters used to write the text. Orthography concerns conventions for spelling and dividing written forms. A corpus can contain both different character encodings for similar-looking letters and disagreements about how to write an expression using the same character inventory.

The paper connects these difficulties with morphology, the way words and attached elements carry grammatical information. A morpheme is a piece of a form that contributes meaning or a grammatical function. An affix attaches to a base. A clitic is a grammatical element that relies on a nearby host. Part of the difficulty in Sorani comes from the placement of these elements. A marker can express something about the verb’s participants while appearing on a neighboring expression. Looking only at the whole form that contains the marker can obscure the relationship a translator needs to recover.

The authors describe Kurdish as having subject–object–verb order and discuss how tense, aspect, modality, and person are expressed. Their Sorani examples focus on a split in grammatical alignment, the way a construction marks participants such as the doer and the affected party. The past transitive construction illustrated in the paper marks its agent differently from the way a present construction marks its subject. Sorani uses different pronominal clitics in this system. The authors contrast this with Kurmanji’s use of the oblique case for the agent in the corresponding past construction.

In an example about bringing flowers, the marker written as =man belongs to the expression for the flowers in the Sorani sequence, where it supplies information about who brought them. In another past example, involving bringing them, the marker occurs within the verbal form. The ending -in in that second example marks the affected participants. In the present example about people going to their house, the paper uses the same ending to illustrate subject marking, while =man attaches to the noun for house and indicates possession. The contrast is easier to see if the reader follows the construction instead of assigning a fixed translation to each piece.

The authors describe patient marking in their past examples as appearing after the verb. Agent marking can occur nearer the beginning of a verbal form or attach to material earlier in the phrase. For translation, the two questions are where the marker is written and which participant it identifies. The answer to the first question helps locate the evidence for the second. Its written host alone may give the wrong impression about what the marker contributes.

A phrase involving a flower illustrates a different kind of attachment. The Sorani form joins the noun, an indefinite element, and a copula, the grammatical link that English can express with a separate form of “be.” Its translation needs to carry the fact of predication as well as the reference to a flower. Treating the attached elements as part of a single written unit gives the translation system a correspondence between larger chunks. Separating them can make it possible to represent their contributions individually.

The paper’s alignment illustration makes this difference visible with an expression about a woman from Canada. At the written-word level, a Kurdish form can correspond to the English copula, article, and noun together. Finer division lets an analyst associate the indefinite marker with the article. The Kurdish expression for origin is a circumposition, meaning it is expressed with material around the place name. An alignment that looks only for a separate, adjacent word corresponding to the English preposition can miss part of that construction. The illustration motivates trying different levels of segmentation. It also explains why a token division learned from spelling patterns and a division into grammatical pieces are distinct research choices.

The method, step by step

The authors start with available bilingual records, use the same broad preparation procedure to make text more consistent, and compare ways of turning it into sequences for training. A test set drawn from the remaining pooled records lets them compare settings under the corpus mixture available to the project. Separate reserves from each source let them ask whether that performance extends across the kinds of text in the mixture. The paper describes the translation and evaluation procedures in words and settings, without presenting a mathematical objective or metric equation.

Preparing and testing Sorani Kurdish–English translation

The steps in order.

Preparing and testing Sorani Kurdish–English translationStep 1: Collect aligned verses, subtitles, and definitions1. Collect aligned verses, subtitles, and definitionsStep 2: Normalize spelling, characters, and capitalization2. Normalize spelling, characters, and capitalizationStep 3: Remove parenthetical material and repair conjunction spacing3. Remove parenthetical material and repair conjunction spacingStep 4: Prepare alternative segmentations of Kurdish text4. Prepare alternative segmentations of Kurdish textStep 5: Reserve pooled and source-specific test material5. Reserve pooled and source-specific test materialStep 6: Train each translation direction in OpenNMT6. Train each translation direction in OpenNMTStep 7: Score reference agreement and inspect selected outputs7. Score reference agreement and inspect selected outputs

Start with the kinds of pairs that exist

Tanzil supplies verse alignments in Translation Memory Exchange format, a format for storing aligned bilingual material. The paper counts 92,354 parallel sentences in its description of the resource, with 3.15M words on the Sorani side and 2.36M on the English side. There is one Sorani rendering and there are 11 English translations. An aligned record can therefore be one of several pairings involving the same Sorani version of a verse. Each English version offers a possible counterpart, and the records can differ in which words or turns of phrase they use for that counterpart.

The authors pay particular attention to the Sorani translation’s explanatory material. A translator can expand the wording of a verse to bring out an interpretation. Parentheses are a frequent signal of those additions, so they give the researchers a way to identify at least some of the extra material mechanically. Some divergences are more extensive. The paper describes verses containing disjoined letters, for which English can give the names of the letters while Sorani gives sentences about their interpretation. In this case the two strings have a clear relationship to the same verse, but the English wording contains little of the information a translator would need to produce that explanation.

The English text introduces differences of its own. Honorific phrases occur in the English versions, frequently with parentheses, and the authors say their separation from the rest of the text is less consistent on the Kurdish side. Names may also appear with Arabic spelling inside a Kurdish verse. The researchers therefore face both a question of whether an expression belongs in the bilingual example and a question of what spelling convention to use if it stays. The corpus’s verse alignment cannot resolve either question on its own.

For TED, the authors use Sorani subtitle translations from the collection described in WIT3. Their source description counts 2358 parallel sentences. They describe the material as broader in topic and more consistent in orthography and punctuation than Tanzil. A paired subtitle passage, however, can contain several smaller expressions or a paragraph. The word “sentence” in a corpus count can consequently denote a stored unit that requires the translation system to follow more than one sentence’s worth of material.

This difference matters during learning as well as evaluation. The system receives the bilingual unit as a pair, and the reported preparation does not include rebuilding it as a series of smaller aligned clauses. If the record contains several points, all of them may have to be expressed in the output to match the reference. If the two sides package those points differently, the correspondence is harder to recover from the record. More consistent punctuation helps the reader see the structure, but it does not determine which parts of the longer record should be paired with one another.

KurdNet comes from a different kind of collection. A WordNet groups words into sets associated with a sense, called synsets, and records relationships among senses. It also supplies short definitions and usage examples. The authors describe KurdNet as a semiautomatic effort centered on aligning Kurdish with a core subset of WordNet meanings. They report 4,663 definitions translated from Princeton WordNet version 3.0. In the translation study, the relevant training examples are the paired definitions.

This way of using KurdNet is important to interpreting the experiment. A definition introduces the system to the vocabulary and phrasing with which a concept is described. Feeding that pair into the same training process as a verse gives the system a further bilingual example. The relationship structure of the underlying WordNet does not become an explicit decoding rule in the reported setup. The authors include the resource because it contributes modern usage and terms from areas such as biology and philosophy, even though its size is modest for training a translator.

Make written variants more consistent

The Kurdish normalization starts with characters. The authors identify Arabic ك and ي as similar in appearance to Kurdish ک and ی, respectively. They convert the Arabic forms to the corresponding Kurdish forms. To a reader, the substitutions can look small. To the tokenizer, the original characters have separate encodings and therefore produce different strings. A consistent choice gives occurrences of the intended form more opportunity to be processed alike.

The authors remove the zero-width non-joiner, identified as U+200C. This is a character that affects how neighboring letters join while adding no visible space. They also adapt some spellings in proper names, for example replacing ط with ت. These operations have different immediate effects. The first removes a formatting character from the input. The second changes which letter represents a sound in a name written under the Kurdish convention adopted by the researchers.

They also normalize initial ر to ڕ. This addresses a spelling variation the authors attribute to differences among proposed orthographies. The two forms are distinguishable characters, so this is a decision about the convention that the corpus should follow. The paper uses that convention throughout corpus preparation. With a fixed convention, the later comparison has a common version of the text to segment.

On both sides the authors delete text between parentheses. The main motivation is to reduce disparities introduced by explanations and other additions, particularly in Tanzil. The rule uses visible punctuation to identify what to drop. Its reach depends on where a writer placed that punctuation. The difference between the English rendering of disjoined letters and the explanatory Sorani wording shows why cleanup at this level can improve consistency without making every verse pair equivalent in detail.

English also undergoes truecasing, the application of a consistent choice of capitalization. There is no equivalent case distinction in the Arabic-based Kurdish script. Thus both languages receive some common treatment, such as deletion of parenthetical spans, and some treatment that depends on their writing systems. The inputs to translation are those prepared strings rather than the corpus records exactly as encountered.

Use a corpus count to decide whether to insert a space

A recurring problem in Tanzil involves و, the Kurdish conjunction corresponding to “and,” represented as û in the paper’s Latin rendering. The corpus frequently attaches this character to the end of the earlier word. The simplest rule would split off every occurrence at a word ending. That would make the spelling of any legitimate word ending in the same character vulnerable to the same operation. The authors use evidence from Pewan, a separate Sorani text corpus, to narrow down when the split is warranted.

For a form ending in و, the authors look up the frequency of the complete form and the frequency of the string that would remain if the last character were removed. The condition for making a split is that the remaining form has the higher count. A successful application produces a token for the preceding word and one for the conjunction. This is a way of using the normal occurrence of a word in other Kurdish text as evidence that the shorter string is the intended word in the passage under repair.

The paper illustrates the decision with a form in which the word for guilty is joined to the conjunction. Pewan has 5 occurrences of the combined form and 1218 of the form without the conjunction. The rule therefore separates the ending in this example. The counts measure how often the two strings occur in Pewan. They are evidence about the spelling of the candidate, instead of a score assigned by the translation system or a count of correct repairs.

The distinction between adding a boundary and changing a character is consequential for the next stage. Once there is a space before the conjunction, WordPunct can treat it as a separate unit. A learned segmenter can also begin with text that reflects the intended division. The rules for encoding, spelling, and conjunction spacing determine what Kurdish text the tokenizers receive. The tokenizers then determine which units of that prepared text the translator will encounter.

Compare learned pieces with a rule based on character patterns

Subword tokenization represents text with pieces that can be smaller than written words. Imagine several forms that share letters but occur with different endings. A segmentation that reuses a piece across the forms can represent some of their shared material explicitly. It can also divide a form into pieces that happen to recur in the training corpus without marking a meaningful grammatical boundary. The study evaluates these representations through the resulting translations. It does not annotate internal word boundaries to judge correspondence to morphemes.

The authors use WordPiece through HuggingFace Tokenizers and point to BERT as an example of its use. They train byte-pair encoding, abbreviated BPE, and Unigram through SentencePiece. BPE represents strings using pieces formed by merging recurring neighboring units. Unigram uses a vocabulary of pieces and weighs alternative segmentations by how plausible those pieces are under the learned distribution. WordPiece likewise provides an inventory that allows a word to be represented by pieces. The paper specifies its choices of implementations and settings, rather than deriving the segmenters’ training procedures.

For these learned alternatives it reports vocabulary_size=50000 and character_coverage=1.0. Vocabulary size governs the inventory of token types. Character coverage controls how much of the observed character material the inventory is intended to account for. These values describe settings for learning the segmentation. They do not refer to the number of bilingual records or the proportion of correct translations.

The training text for the segmenters comes from several Sorani collections. The authors report 18M words in Pewan, 693,800 in the Kurdish Textbooks Corpus, 8.1M in the collection from Veisi and colleagues, and 49,582 in the folkloric lyrics corpus. They normalize these texts using the earlier preparation procedure. The collections supply observations of Kurdish spelling and usage across more material than the bilingual sources alone. Their role here is to help learn recurring pieces, with the paired sources supplying the supervision for translation.

WordPunct, based on the NLTK tokenizer, is the regular-expression alternative. A regular expression describes patterns of characters. This lets the tokenizer separate word-like stretches from punctuation without first estimating an inventory of Kurdish pieces from the larger raw collections. WordPunct can act on spaces supplied by the preceding repair, but its character patterns give it no grammatical analysis of the clitics or affixes still joined within a word.

The appendix lets the reader compare the results of these choices on the same passages. The Tanzil example begins with a verse whose Kurdish version contains several parenthetical spans. After cleanup, the different tokenizers preserve much of the same character content but distribute it across tokens differently. The learned methods place boundaries inside forms that WordPunct leaves together, and they can disagree among themselves about the location of those boundaries. A KurdNet example likewise shows differences within written strings in a short definition. The examples establish what changes in the representation before asking whether those changes help translation.

Train the recurrent systems in both directions

The authors use the PyTorch version of OpenNMT. This is a sequence-to-sequence setup, so its input is a sequence of source tokens and its output is a sequence of target tokens. The encoder processes the input and builds representations used by the decoder. The decoder generates the target sequence. When translation goes from Kurdish to English, changing Kurdish segmentation changes the sequence the encoder sees. In the other direction it changes how the target is represented for generation. The same choice of tokenizer can therefore change different parts of the learning task.

Both recurrent configurations use long short-term memory, or LSTM, layers. A recurrent layer processes a sequence through successive states, and an LSTM has mechanisms for retaining and updating information in that state. The settings specify a depth and a width for the encoder and decoder. Model 1 has two LSTM layers for each, with 200 hidden units. The reported default OpenNMT configuration, Model 2, has two LSTM layers on each side and 500 hidden units per layer. The units give the state its numerical capacity, while the layers arrange successive levels of processing.

For Model 2 the paper also specifies a batch size of 64, a dropout probability of 0.3, and a word embedding size of 100 dimensions. A batch groups training examples for an update. Dropout is a training procedure that temporarily omits some activations according to a probability. A word embedding is a numerical vector used to represent a lexical item, and its dimension is the count of coordinates in that representation. The paper reports the settings as configurations and supplies less detail about the smaller one. Width is the clearest stated difference, while the study does not present a parameter-by-parameter comparison.

The authors use pretrained FastText vectors for Kurdish and GloVe vectors for English. The English vectors were trained on 6B tokens. Pretrained vectors give lexical representations a starting point derived from earlier text processing. That source of information is distinct from the supervision in the parallel examples, where the system learns to associate a particular input with an output in the other language. The paper describes using these vectors without a separate result for how much they contribute under each segmentation.

The two translation directions share the bilingual material, but the source and answer switch roles. In English-to-Kurdish translation, different English versions of a Tanzil verse are associated with the same Sorani rendering. In the reverse direction, one Sorani rendering can be associated with differently worded English versions. This is a property of the training evidence and of the references used to score translations. The distinction matters when comparing how easy the score is to obtain in each direction.

Reserve one test for the mixture and another for the sources

The first action in the split procedure is to hold back 10% of each parallel collection. These reserves form Test 2. Keeping their identities gives the authors results on Tanzil, TED, and KurdNet separately. Test 2 can then reveal whether the system trained on the available mixture translates a smaller source effectively. Training does not have to be repeated on each source for this question to be answered.

The remaining portions are pooled. The authors allocate 80% of that pool to training, 10% to validation, and 10% to Test 1. Training supplies the examples from which the system learns. Validation is the held-out portion available during development. Test 1 is the pooled test portion used in the reported comparisons. Its composition is influenced by the different sizes of the collections, while Test 2 allows each collection to be reported in its own right.

The dataset table gives 71,532 records in the pooled training split, 8940 in validation, and 8941 in Test 1. It reports 9932 reserved records for Test 2. These counts apply across the segmenters. For a given record, tokenization can change the number of units representing it but does not add another bilingual example. The paper identifies the KurdishMT repository as the distribution point for the experimental datasets.

Measure different aspects of agreement with references

BLEU compares the output with reference translations using overlap in n-grams, sequences of adjacent units. It is sensitive to whether the output uses the same words and local combinations of words as the references. Matching some isolated words gives a different kind of evidence from matching longer sequences. The study uses that distinction again in its analysis of TED records of different lengths. The paper points to the original BLEU method.

METEOR brings together precision and recall using a harmonic mean. In this context precision concerns how much of what the system produced finds a match, and recall concerns how much of the reference can be recovered in the output. A harmonic mean gives weight to how well the two hold up together. The authors use higher BLEU and METEOR values as the favorable direction for their reported comparisons.

Translation error rate, abbreviated TER, represents the editing needed to make a system output agree with the reference. Here a lower score is preferable. In the study, this measure complements the overlap scores by expressing the disagreement in terms of editing cost. An output that captures a few words yet fails to reproduce most of the sentence can have some credit on an overlap measure and still require extensive editing. The authors put the scores alongside selected translations to make the character of such failures easier to assess.

Experiments and results

The test sets contain different kinds of text

The experimental inventory in the dataset table counts 92,325 Tanzil records, 2355 TED records, and 4659 KurdNet records. These figures are reported separately from the source descriptions. The paper gives the resulting splits and does not itemize every change between those inventories. In the source reserves used for Test 2, the reported counts are 9232 for Tanzil, 235 for TED, and 465 for KurdNet. Thus the results can be considered separately even though the reserved collections have very different sizes.

The paper’s line statistics show how different those records can be. Tanzil averages 25.82 tokens per Kurdish line and 27.96 per English line. Its mean character counts are 159.36 per Kurdish line and 134.72 per English line. TED averages 69.21 tokens per Kurdish line and 93.54 per English line. Its mean character counts reach 441.93 for Kurdish and 452.88 for English. The longer TED lines reflect the paper’s observation that some subtitle-derived pairings hold several phrases.

KurdNet is at the other end of the length comparison, with 7.51 tokens per Kurdish line and 8.51 per English line. The mean lengths in characters are 44.27 for Kurdish and 49.14 for English. The task inside a short definition can still be demanding. Much of its meaning can depend on a particular term or relationship, and the remaining words may offer little context for recovering it. The length statistics describe how the records differ before any inference is drawn about why the scores differ.

The token inventory changes across the segmentation alternatives even though the number of training records stays the same. The Kurdish training split has 2,310,636 tokens with WordPunct. With BPE it has 2,625,506, with WordPiece 2,629,751, and with Unigram 2,651,429. The alternatives also differ in how the changes are distributed across sources. In the Kurdish TED training split, WordPiece gives 180,822 tokens and WordPunct 183,596. The higher pooled count with WordPiece therefore does not describe the change in every collection. The representation needs to be understood in relation to the text it segments.

WordPunct leads the pooled comparison

The internal comparisons give each translation direction several segmenters and the two recurrent settings. Model 1 supplies the smaller reference configuration within the study, and WordPunct supplies a character-pattern comparison for the learned segmenters. The authors did not run an external translation baseline on the same test sets. The scores establish a ranking among the reported settings under the study’s own evaluation conditions.

In Kurdish-to-English translation, Model 1 gives the strongest Test 1 result. The chart holds the recurrent configuration and test set fixed while varying how Kurdish text is divided. Each learned method is close to the others on this comparison. WordPunct tops the group.

Kurdish-to-English BLEU by tokenizer on Test 1 with Model 1

WordPunct leads the learned segmenters on the mixed test set.

Kurdish-to-English BLEU by tokenizer on Test 1 with Model 1Unigram: 18.95Unigram18.95WordPiece: 19.05WordPiece19.05BPE: 19.06BPE19.06WordPunct (this paper): 19.95WordPunct (this paper)19.95
The numbers
System or settingBLEU
Unigram18.95
WordPiece19.05
BPE19.06
WordPunct (this paper)19.95

Model 1 with WordPunct gives Test 1 METEOR of 0.2276 and TER of 0.61 in this direction. The ordering across these measures is useful because the favorable BLEU result is accompanied by both stronger recovered overlap and lower editing cost. To see the effect of configuration choice with the segmenter fixed, consider Model 2 with WordPunct. It gives Test 1 BLEU of 18.50, METEOR of 0.2222, and TER of 0.65 for Kurdish-to-English. The wider setting comes behind the smaller one on all three reported measures in that comparison.

Moving to English-to-Kurdish leaves WordPunct as the leading segmentation choice on Test 1 but changes the configuration with the highest BLEU. The chart shows the tokenizer comparison within Model 2. This time the difference between WordPunct and the tested learned alternatives is visibly larger than in the Kurdish-to-English chart.

English-to-Kurdish BLEU by tokenizer on Test 1 with Model 2

WordPunct has the strongest BLEU among the tested tokenizers in this direction.

English-to-Kurdish BLEU by tokenizer on Test 1 with Model 2BPE: 45.14BPE45.14WordPiece: 45.23WordPiece45.23Unigram: 45.83Unigram45.83WordPunct (this paper): 52.94WordPunct (this paper)52.94
The numbers
System or settingBLEU
BPE45.14
WordPiece45.23
Unigram45.83
WordPunct (this paper)52.94

Model 2 with WordPunct records English-to-Kurdish Test 1 METEOR of 0.3753 and TER of 0.33. Model 1 with WordPunct has BLEU of 52.21 and METEOR of 0.3726, with the same reported TER of 0.33 on this split. The configurations are distinguishable by overlap with the reference while their edit rates are tied at the reported precision. The best configuration for English-to-Kurdish depends on which distinctions the metrics resolve. The case for choosing WordPunct within each configuration is consistent across the mixed-test metrics.

The authors associate the better English-to-Kurdish scores in the pooled evaluation with the asymmetry in Tanzil’s translations. Different English inputs can all lead towards the same Sorani wording. When Sorani is the input, alternative expressions appear on the English side. A reference-based measure can then be sensitive to which rendering the system produces. The two directions have different output languages as well as different patterns of reference variation. The scores give the relative outcomes of these particular tasks, and the source-specific results show where that overall comparison holds.

Success on Tanzil does not carry across sources

The English-to-Kurdish Test 2 scores show how performance varies when the best mixed-test setting is applied to source reserves separately. The chart holds the translation direction, recurrent setting, and tokenizer fixed. Only the source of the examples used for evaluation changes.

English-to-Kurdish BLEU by source on Test 2 with Model 2 and WordPunct

The same translation setting scores far higher on Tanzil than on the other collections.

English-to-Kurdish BLEU by source on Test 2 with Model 2 and WordPunctTED: 0.00TED0.00KurdNet: 2.82KurdNet2.82Tanzil (this paper): 59.28Tanzil (this paper)59.28
The numbers
System or settingBLEU
TED0.00
KurdNet2.82
Tanzil (this paper)59.28

METEOR and TER show the same sharp contrast. For Model 2 with WordPunct on English-to-Kurdish Test 2, Tanzil earns METEOR of 0.4156 and TER of 0.27. KurdNet earns METEOR of 0.0867 and TER of 1.00. TED earns METEOR of 0.0289 and TER of 0.99. The errors on TED and KurdNet consequently look severe by measures that reward matching content as well as by the estimate of editing cost. TED’s METEOR also shows why the BLEU value alone is an incomplete account. Some material can match the reference while the BLEU score remains at the reported floor.

Model 1 using WordPunct also shows a large difference between sources in the opposite direction. Its Kurdish-to-English Test 2 Tanzil result is BLEU 22.03, METEOR 0.2454, and TER 0.58. On KurdNet with the same direction and setting, the scores are BLEU 5.81, METEOR 0.1169, and TER 0.90. On TED they are BLEU 0.62, METEOR 0.0720, and TER 0.89. The same conclusion about the relative difficulty of the smaller sources survives a change of direction and recurrent setting, although KurdNet and TED can exchange order depending on what the metric rewards.

The broad claim in the paper that English-to-Kurdish performs better needs to be read with this source breakdown. On Test 2 KurdNet, for example, Model 2 with WordPiece records Kurdish-to-English BLEU of 6.47 and English-to-Kurdish BLEU of 3.25. For the same setting on Test 2 Tanzil, the respective BLEU scores are 19.48 and 50.48. The asymmetry in Tanzil is directly relevant to the pooled case because Tanzil dominates the data. Treating that asymmetry as a general property of translation between the languages would extend it to conditions in which the results differ.

The authors offer several connected explanations for the overall source gap. Most aligned training material comes from Tanzil. TED gives the system longer records with varying alignment quality, and both small sources include vocabulary outside the religious material. KurdNet definitions are compact and describe concepts in a different style. The paper notes that pronouns are less characteristic there than in more subjective writing. A system trained mainly on verses has few examples of the ways a definition expresses the relationship between a thing and the properties that identify it.

The strongest mixed tokenizer has source-specific exceptions

The detailed comparisons qualify the pooled picture. On Test 2 KurdNet with Model 1 translating Kurdish into English, BPE reaches BLEU 6.32, ahead of the WordPunct result of 5.81. Its TER is 0.92, compared with WordPunct’s 0.90 on the same test. The segmenter that improves sequence overlap can therefore carry a higher measured editing cost for those records. The mixed test’s agreement across metrics is a feature of that test and its winners, rather than an inevitable property of the measures.

The Kurdish-to-English results for TED show another exception. On TED Test 2 with Model 1, WordPiece yields BLEU 1.00 and WordPunct yields 0.62. For Model 2 on English-to-Kurdish TED, WordPiece is the only setting with a BLEU above the reported floor, at 0.05. These rankings matter for the scope of the segmentation finding, even though the systems still translate TED poorly. WordPunct earns its standing from the mixed test and its strong performance on the dominant source. On smaller sources the results supply little basis for choosing a tokenizer that would deliver satisfactory translation.

Read the outputs alongside the scores

The qualitative examples show where the system can find an appropriate expression and where it loses the relationships that make the sentence intelligible. The authors include source text, the corresponding reference, and the system translation. For English-to-Kurdish examples they also give an English rendering of the resulting Kurdish, so the reader can follow important changes even without being able to read the script. The selected settings use WordPunct, with Model 2 producing English-to-Kurdish outputs and Model 1 producing Kurdish-to-English outputs.

In a Tanzil passage, visitors greet someone who returns their greeting and indicates that he does not know them. The system’s Sorani output preserves much of this exchange. Its English rendering describes the visitors as going to visit the person, and his answer retains both the greeting and the lack of recognition. The authors draw attention to the final Kurdish expression, which appears joined in both the reference and the system output. Agreement on that string can coexist with a writing problem, and the words still communicate the point about unfamiliar visitors.

The appendix also shows a Kurdish-to-English Tanzil translation about being served wine. The output preserves the serving and the sealed wine and supplies a description of purity. That description is visible in the displayed Kurdish input, whereas the English reference is briefer. The example illustrates the challenge posed by pairs whose renderings convey different details. An English phrase with a counterpart in the Kurdish source can still introduce a mismatch with the English reference.

The TED example about culture is useful for a different reason. The source refers to knowledge and values shared within a society. The Sorani reference uses zanist for knowledge, a word the authors gloss as science. The system instead uses zanyarî, which they gloss as knowledge. At the lexical level, the system supplies a plausible equivalent. The back-translation also contains a phrase about a tool and finishing, with the relationship involving society and its shared values lost. A good choice for a salient word tells the reader little about whether the surrounding structure has survived.

A longer TED example concerns the experience of immersing oneself in difficult activity. The source refers to losing awareness of time and oneself, feeling part of something larger, and finding the activity worthwhile in its own right. The system’s English output moves towards speaking and becoming a leader, repeats part of its wording, and leaves out the relationships connecting the original ideas. The example makes clear how an output can use recognizable phrases while diverging from the subject and progression of the original passage.

The KurdNet examples show why preserving a broad subject area is especially weak evidence for translating a definition. One English input defines a building level through its rooms and its place within a building with several levels. The Sorani output, as rendered back into English, retains a general idea of structure but brings in a chain or a wall and loses the definition’s focus on rooms belonging to a single level. In the other direction, the definition of a protest by workers or minority groups becomes a phrase about expressing words or arguments. Both concern forms of expression in a broad sense, but the output drops the defining participants and purpose. These examples give concrete interpretations of the low scores without telling the reader how common each particular error is.

What the ablations show

The paper has no component-removal ablation. Its closest comparisons vary segmentation and recurrent settings, and its additional analyses compare sources, examine length within TED, and inspect examples. These designs answer questions at different levels. The tokenizer comparison tests a change in text representation. The source and length comparisons describe how performance varies across particular evaluation records. The examples show what can happen inside the output for an individual record.

A different segmentation can change the end result

The tokenization comparison keeps the bilingual records and reported splits fixed. This is what makes it possible to say that WordPunct did better in the mixed comparison without attributing the result to more translation pairs. The Kurdish training token counts show that the learned methods expose the system to different sequence representations of that same material. For both directions the favorable result from WordPunct extends beyond BLEU to METEOR and TER. The central result about preparation is thus tied to a measured translation outcome, not merely to a preference for a particular way of displaying the words.

The experiment compares complete choices of segmenter under the reported settings. It cannot say which properties of a segmenter drive the result. A learned representation may put boundaries in places that are difficult for these recurrent configurations to exploit. It may also distribute the lexical evidence differently or affect an input sequence differently from an output sequence. The study does not vary those properties one at a time. The tokenizer rankings on KurdNet and TED show directly that a pooled winner can behave differently once the source changes.

The comparison also leaves open how the learned tokenizers would perform with other vocabularies or other training material. The use of a common reported vocabulary size and character coverage describes a particular comparison among the learned options. The results are evidence for using WordPunct within these tested conditions. They do not establish that Sorani translation benefits from keeping every joined word intact, and the authors’ own conjunction repair already demonstrates an instance where they deliberately add a boundary.

The configuration choice depends on what is being translated

The comparison between recurrent settings is most informative when the same tokenizer, direction, and test set are kept in view. With WordPunct on Test 1, Model 1 comes out ahead for Kurdish-to-English, while Model 2 leads on BLEU and METEOR for English-to-Kurdish. The reported edit-rate tie in the latter comparison gives a sense of the degree of support for choosing between them. The dimensions of the target task matter to the ranking, and a wider state is no guarantee of improvement in a given direction.

The configurations are reported as packages of settings, with the recurrent width the most visible stated difference. The comparison cannot map quality as a function of width or identify the best capacity for the amount of training data. The same caution applies to interactions with the tokenizer. A preferred combination can be selected from the candidates in the paper. Explaining that preference through an isolated property of the architecture would require a more detailed comparison than the authors report.

A source reserve reveals where the mixed result applies

The source analysis changes the evaluation material while keeping the trained setting fixed. That makes it possible to observe highly uneven performance without treating the difference as a change in training procedure. A good Tanzil result and a poor TED result are both properties of the system trained on the same mixture. The separate reserves are particularly informative because a test composed mainly of Tanzil examples gives less visibility to how badly translations can fail on the other kinds of aligned text.

The authors suggest that training imbalance contributes to the result. The source-specific tests themselves do not rebalance the training data. Quality of alignment, vocabulary, text type, and typical length all change along with source identity. The comparison therefore documents the concentration of successful translation on the most represented source. It does not estimate how much of the gap would disappear if TED were better aligned or if the collections contributed more evenly to training.

The contrast between TED and KurdNet is instructive here. TED has long lines and KurdNet has short ones, yet each fares poorly relative to Tanzil. Length is therefore a question worth examining within TED, while the poor results for short definitions require attention to other properties as well. Similarly, the broader subjects in TED and technical vocabulary in KurdNet describe different ways that test material can depart from the examples that dominate training.

Shorter TED material is associated with better BLEU

The authors filter the TED portion of Test 2 by record length to look more closely at the low subtitle scores. They describe subsets with limits of 25, 50, and 75 tokens and a group above 75 tokens. The displayed analysis is for Model 1 translating from Kurdish to English. It presents BLEU with different n-gram choices so the reader can see the behavior across measures sensitive to different stretches of matching text. The authors report better scores for shorter excerpts and still find the performance unsatisfactory.

This analysis narrows the comparison to a single source. That helps because differences between TED and Tanzil can no longer explain the entire pattern within the figure. The groups still contain different records, which can differ in how many clauses they express, how closely the references match, and what words they use. Filtering by length leaves those differences in place. The result supports length as a diagnostic feature for TED performance, while the experiment does not show the effect of taking a specific long alignment and successfully breaking it into shorter parallel pieces.

Length also depends on the definition of a token. The preparation examples and corpus counts show that changing the segmenter can change how many tokens a record contains. The analysis is a report about the selected test subsets and evaluation configuration. It does not deliver a universal length threshold at which translation becomes ineffective, nor does the paper give exact numerical scores for the length groups in its discussion.

The examples explain errors without isolating the cleaning steps

The paper demonstrates the intended operation of several repairs before training. Kurdish character substitutions collapse specific written variants. Removing parenthetical spans takes out visibly marked elaborations. Inserting a space before a conjunction can expose a unit that would otherwise be joined to a preceding word. The paper compares segmenters after preparation and does not rerun an otherwise identical setting with each of these repairs switched off. Their individual effects on BLEU, METEOR, or TER therefore remain unknown.

The illustrated outputs support a similarly focused interpretation. A plausible word for knowledge can occur in an inadequate translation, and a recognizable greeting can coexist with poor spacing. Those are observations about what was learned and reproduced under particular conditions. They do not connect the observed behavior to a single cleaning step or to the use of pretrained vectors. Their value is to show what kinds of agreement and disagreement the aggregate metrics are measuring.

Limitations

Limits identified by the authors

The authors identify the absence of a baseline system and the limited exploration of hyper-parameters as principal omissions. The internal comparisons establish which of their candidates do better under a common experimental arrangement. Earlier assessments of Apertium and inKurdish evaluated different setups and cannot supply a common test comparison. The paper consequently leaves open how a wider range of translation approaches would perform on its particular data and splits.

The search over training settings is also limited. The recurrent configurations demonstrate that choosing between the tested settings is consequential, particularly when the translation direction changes. The authors do not establish how far the scores could improve through a broader search over these settings. The trained segmenters likewise represent choices of vocabulary and preparation, so their relative positions apply to the implementations and conditions compared.

Data scarcity restricts the work to Sorani. The authors had resources for an initial experiment but judged parallel material insufficient for extending the investigation to other Kurdish varieties. They also describe imbalance in their data as causing overfitting. Their evidence of source dependence is strong, with the dominant training collection yielding the most favorable test results. The experiment does not report a separate intervention to distinguish overfitting to that source from limitations associated with other source properties.

The proposals at the end of the paper mark areas left open by the experiment. The authors suggest representing morphemes explicitly so that a finer alignment can connect parts of Sorani forms with their counterparts. They propose adding lexical resources more directly and investigating transfer from Kurmanji or Persian. They also point to pretraining a sequence-to-sequence system on monolingual text, giving MASS and mBART as examples of directions to explore. These suggestions address the shortages described in the study. Its experiments do not measure their effects.

Limits visible in the preparation and splits

The normalization procedure imposes a particular spelling convention. That makes the prepared corpora more consistent on the distinctions the authors identify, but the study does not check the treatment of every legitimate variant or name. The conjunction rule gives a concrete test for splitting a joined form, with no separate evaluation of how frequently the resulting boundary is correct. Its counts measure usage in Pewan, and the authors do not show that the preferred form in that corpus always identifies the intended word in a Tanzil passage.

Removing everything marked by parentheses is a practical way to target commentary. The authors’ examples give reasons to expect the rule to help with some uneven correspondences. They also describe differences that go beyond parenthetical explanations. The procedure does not provide a semantic assessment of each deletion or show how much asymmetry remains after applying it. It is possible for the retained pair to preserve the same verse identity while still asking a translation system to generate information present only on one side.

The repeated renderings in Tanzil raise a question about what the held-out unit represents. The paper describes reserves and pooled splits at the level of parallel records. It does not describe whether all versions of an underlying verse are assigned together before partitioning. If alternative renderings were assigned independently, a test record could contain underlying verse content already associated with a different counterpart in training. The description leaves that possibility unresolved. The scores establish the evaluation results for the reported reserves without establishing separation by underlying verse.

The tests can also support only the scope represented by their sources. The smaller collections give the study a way to see difficulty with subtitle passages and definitions. Their low scores do not estimate performance on every other kind of nonreligious Sorani text. The study also does not evaluate a corrected or newly balanced collection of the same material. Features of the sources help explain the outcomes, while the relative importance of coverage, alignment, length, and vocabulary remains open.

Limits of the measurements and examples

The automatic metrics compare outputs with references. They can support the ranking of tested settings in a particular comparison, especially where their preferences agree. They provide no independent check that the reference has all the information available in the source or that its written boundaries are desirable. The appendix makes both issues concrete. Reference-based scores can penalize a defensible lexical choice and reward resemblance to an imperfectly written reference.

The authors describe high overlap scores in connection with fluency. The evaluations themselves are measurements of reference agreement, with the examples offering a closer view of meaning. A close match can give good evidence about wording without showing that a name, grammatical role, or condition was preserved everywhere. A lower match can arise from acceptable variation in phrasing. Most importantly for this study, one correct term gives little assurance that the full proposition has been translated.

The paper gives scores at a specified precision without reporting variation across repeated training runs or confidence intervals for close comparisons. A tie in the reported values should be treated as a tie at that precision. Differences among nearby scores can guide selection within the table, but their stability under another run is unmeasured. This is distinct from the pronounced gap across sources, which is visible across multiple metrics and settings in the reported experiments.

TER gives a measure of how much editing would be needed to reach the reference. It does not give observed editing time, and the paper does not carry out an assessment of suitability for the humanitarian communication settings mentioned in its motivation. The selected translations are similarly limited as a sample. They let a reader inspect particular lexical successes, omissions, and changes of topic. There is no documented human-rating procedure from which to estimate how frequently a user would receive an acceptable translation.

Finally, some of the most promising linguistic observations motivate experiments still to be done. An analyst can align a Sorani indefinite marker separately from the noun, or track an agent clitic to a host elsewhere in the phrase. The paper uses such examples to explain what a finer representation might make available. The tested sub-word procedures learn pieces from text without an evaluation against those grammatical analyses. Evidence for the value of explicit morphemes in translation therefore remains distinct from the evidence that Sorani has meaningful structure beneath the written word.

What came after

The later citing work is Beyond Arabic: Software for Perso-Arabic Script Manipulation, published in 2022. Its subject is software for working with Perso-Arabic writing, directly adjacent to a problem the Sorani study brings into view. Ahmadi and Masoud have to decide which character forms belong in normalized Kurdish text and how written conventions affect subsequent processing. The later citation places that account in the context of script manipulation. The citation establishes the connection, while the adoption of particular substitutions, spacing rules, or translation settings is unspecified.

The original paper also records a resource development that followed the project. Ahmadi and colleagues assembled a Kurdish parallel corpus from multilingual news websites. This responds to the study’s difficulty in finding bilingual material with a broader range of subject matter. The translation experiments report no results on the news material, so its effect on translation quality and on the comparison between tokenizers remains open.

The two developments address different prerequisites exposed by the experiments. Script-processing software concerns the representation of the writing that a system receives. Parallel corpus construction concerns which texts it can learn to associate across languages. In the Sorani study, the choice of segmentation changes results even when the bilingual records are fixed, and the source of the test records changes results even when the trained setting is fixed. Those findings explain why both kinds of groundwork matter to subsequent translation research.

Cite

Cite as Sina Ahmadi and Maraim Masoud. 2020. Towards Machine Translation for the Kurdish Language. Proceedings of the 3rd Workshop on Technologies for MT of Low Resource Languages.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2020.loresmt-1.12

@inproceedings{ahmadi2020machine,
  title = {{Towards Machine Translation for the Kurdish Language}},
  author = {Sina Ahmadi and Maraim Masoud},
  booktitle = {Proceedings of the 3rd Workshop on Technologies for MT of Low Resource Languages},
  year = {2020},
  doi = {10.18653/v1/2020.loresmt-1.12},
  url = {https://doi.org/10.18653/v1/2020.loresmt-1.12}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ahmadi-2020-machine-translation-kurdish-language/