Detecting Clitics Related Orthographic Errors in Turkish
Paper · 2019 · Ugurcan Arikan, Onur Gungor and Suzan Uskudarli
Summary
A missing space in Turkish can change where an event took place or what it involved. In the paper’s example, araba da refers to a car as something the speaker also saw. Join the two parts into arabada, and the car becomes the place where the speaker saw something. The joined spelling is a legitimate Turkish word, so a checker can accept it even when the writer meant the first reading. A space inserted into a location ending creates the reverse difficulty. The authors ask whether a checker can use the rest of the sentence to identify both kinds of error.
They train a tagger that reads a sentence and marks the individual tokens that appear to contain a spelling mistake. It starts from word embeddings, numerical representations of words, and processes the sentence in both directions before selecting its labels. The authors obtain examples by taking Turkish sentences whose original spellings they assume are correct, changing the boundary around de or da, and labeling the resulting mistake. They also construct a separate set of 100 challenging sentences in which an unintended spelling can leave the grammar looking plausible.
On the synthetic test split, combining GloVe, fastText, and Word2Vec gives the highest reported F1, 86.67%. F1 takes account of both the reliability of the checker’s flags and how many labeled errors it finds. The fixed rule that accepts only separate spellings scores 15.00% F1, and the rule that accepts only attached spellings scores 66.33%. On the manually constructed challenge set, Word2Vec alone has the highest accuracy, 71%. The combined configuration reaches 65%, and Google Docs, the strongest outside checker on that set, reaches 34%.
The two evaluations show where the approach helps and how the choice of test affects the result. Training on deliberately altered sentences gives the tagger enough evidence to catch difficult cases written separately for evaluation. The combination that leads on the generated examples places below Word2Vec alone on the hand-built set. The evidence is strongest for identifying the location of this particular Turkish spacing error. The interpretation a writer intended can still depend on information beyond the sentence.
Deep dive: Detecting Clitics Related Orthographic Errors in Turkish
The study tests how well a Turkish spelling checker uses sentence context to spot when a clitic or a location ending has been joined or split by mistake. · about 32 minutes to read
The problem and its context
When a legitimate form is a spelling error
The spelling rule itself is definite. Turkish writes the additive clitic de or da separately from the preceding word. It contributes a meaning like “also” or “too.” A clitic is a grammatical unit that depends on a neighboring expression in pronunciation while functioning with a degree of independence in the sentence. That combination matters here because the spelling gives the clitic a boundary of its own even though its pronunciation and choice of vowel depend on its host.
The choice between de and da follows vowel harmony. The last vowel in the preceding word is the one that matters. A last vowel from e, i, ö, ü calls for de, and one from a, ı, o, u calls for da. The paper uses Selin and Fatma to illustrate this rule. The last vowel of Selin is i, so the expression for Selin also being present contains de. The last vowel of Fatma is a, so the corresponding statement about Fatma contains da. The vowel changes while the additive function stays the same.
The locative ending contributes a different grammatical meaning. The locative is a case, a grammatical marking that here conveys a place, with English renderings such as “at” or “in.” Turkish attaches the ending to the expression that supplies that place. Adding -da to araba, the word for “car,” gives arabada, meaning “in the car.” The letters at the end of this legitimate word are the same as the letters of the separate clitic after araba. A rule that can choose the correct vowel therefore still leaves open which of the two grammatical functions the writer meant.
The example with the verb gördüm makes the consequences visible. In the version with a separate da, the car is part of what the speaker saw. In the attached version, the car supplies the setting and the object of seeing can be understood without being expressed there. A reader who sees either version can arrive at a coherent account of the event. When the space was accidental, that coherence is precisely what allows the error to survive a routine spelling check.
An extra space presents a related problem. If the intended expression supplies a location, separating its ending can make the letters appear to form an independent additive clitic. The paper uses a sentence about staying at home to illustrate the difference. Written with evde, the place expression fits the verb directly. When the same letters appear as ev de, the visible spelling asks the reader to construct an additive interpretation. In this example the surrounding words make that reading awkward. The difference between this case and the car example matters. A boundary change can yield a sentence whose intended reading is fairly easy to recover, or it can yield another reading that stands by itself.
Some of the evidence the checker needs is consequently about the relationship between an expression and the rest of its sentence. An ending can supply a place for a verb, while a separate clitic can add an item to what the sentence is about. The written forms give clues, but a reader also considers what is being added or located. The authors describe the error as a common source of irritation in Turkish writing. They also observe that even a native speaker may need clarification when the intended reading is unclear. A warning can be warranted because a reading looks unlikely in context, even when the reader cannot recover the writer’s intention with certainty.
What a word analysis can establish
Turkish forms complex words by adding affixes in sequence. The paper describes it as agglutinative, meaning that a word can contain a succession of units with grammatical functions. An analysis of its morphology can identify a base and account for what has been attached to it. This gives a spelling system a way to recognize valid forms beyond the words it could simply look up. It also explains why an altered boundary can produce a form that passes a well-formedness check. If the letters admit a base and a legitimate ending, the analysis can succeed on the spelling the writer happened to enter.
The paper illustrates this with a sentence that legitimately contains both uses of de. In the expression Benim de, the separate token has the additive function. In sende, the case marking on the pronoun contributes the sense rendered in English as “with you.” The sentence is about the speaker’s thoughts remaining with someone. The ITU Turkish Natural Language Processing Pipeline analyzes the first occurrence as a conjunction and the latter as a locative form. In this example the written boundaries provide the units for which the pipeline supplies a grammatical analysis.
That demonstration makes the spellchecking difficulty more precise. A correct analysis can tell a reader what an attached form means as written. A warning about a boundary requires a judgment about whether that reading belongs in this occurrence. The words at issue may have a full grammatical analysis under either spelling, as the example about seeing illustrates. When the surrounding sentence strongly favors a place or an additive reading, it supplies evidence a checker can act on. When it supports both, the reader may need to know what the writer was talking about.
The paper situates this problem in a move from vocabulary-based spelling checks toward procedures that use grammatical and morphological information. Vocabulary membership can help identify forms that a checker has never seen, while rules can account for how a valid word is built. Both concerns arise in Turkish, where affixes create many forms. For the error examined here, the fact that a sequence of letters can form a word is often the beginning of the inquiry. The existence of a plausible analysis gives the checker one interpretation to consider, and the sentence gives it evidence about whether that interpretation fits.
The authors discuss Zemberek as a Turkish language-processing toolkit with morphological analysis, basic spelling checking, tokenization, and sentence boundary detection. Tokenization divides a text into the units the system will process. Sentence boundary detection identifies where one sentence ends and another begins. Zemberek also provides the spelling checker used by LibreOffice. In the authors’ account, Zemberek lacks the sentence-level interpretation needed to flag this ambiguity reliably. Their example of a legitimate attached spelling shows why the ability to identify a Turkish word can coexist with a missed boundary error.
The ITU pipeline extends the range of analyses available to a user. It can describe syntax, the organization of words in a sentence, as well as morphology. The authors nonetheless characterize it as lacking the semantic analysis needed for the spelling decision they study. Its treatment of the sentence with Benim de and sende illustrates the information it can produce when the intended boundaries are already in place. The task in this paper begins at a different point, with a written boundary that may convey a coherent grammatical analysis of the wrong reading.
The paper also brings in Google Docs, Microsoft Office, and LibreOffice as examples of spellcheckers a writer might already have at hand. Its interest in these tools is specific to the target ambiguity. An application can give useful spelling assistance across many words and still leave an unintended clitic attachment untouched. The authors frame this as part of grammatical error correction, where deciding that a word is wrong can require evidence about what role it plays in the sentence.
Why treat a spelling error as a position in a sentence?
The authors draw on sequence labeling to make that judgment testable. In sequence labeling, the input units remain in order, and the output attaches a category to each position. Earlier applications discussed in the paper include finding names and other entities, assigning grammatical categories to words, and locating chunks, which are short groups of words treated together. These applications give the authors a precedent for choosing a label partly from evidence elsewhere in the sentence. Named entity recognition and part-of-speech tagging are examples of that use.
Here the label has a spelling function. It identifies the place that a checker would bring to a writer’s attention. Consider an additive clitic that has been joined to the preceding word. In the displayed text, the checker has an attached token to examine. The words around it can give evidence about whether the location expressed by that token belongs in the sentence. Tagging keeps the decision anchored to the written occurrence, which makes it possible to compare a prediction with the position of a known alteration.
The authors pair this task with a way to collect examples at scale. If the correct boundary is known in an original sentence, changing it supplies an example of the sort of mistake the checker is supposed to detect. The starting sentence gives the authors a basis for recording what was intended, including cases in which the changed sentence still admits a reading. This division of labor shapes the entire study. The data procedure establishes a reference boundary, and the sequence tagger learns to recognize evidence for a possible departure from that boundary.
The method, step by step
Start with sentences that already contain the relevant forms
The source collection contains approximately 75 million Turkish sentences. It includes material taken from websites, novels, and news sites. This is the pool from which suitable sentences can be drawn. The training, development, and test collections reported in the paper are much smaller and carry labels for the spelling task. The distinction matters because the size of the source collection describes the material available for making examples, whereas the tagged splits describe what the tagger actually learns from and is evaluated on.
The authors assume that the original examples contain few spelling errors, citing the kinds of sources in the collection. That assumption lets them treat a separate occurrence as a correctly spaced clitic and an attached locative ending as correctly attached. The starting sentence supplies a reference that can be retained even after editing. If the altered sentence admits another interpretation, the authors still know which spelling they changed and which one the unaltered sentence used.
An ending with the right letters is an imperfect signal for selecting a source example. The paper mentions ziyade, glossed as “plentiful.” Its last letters resemble the ending of interest, although they belong to the lexical form with a different origin and function in the word. The authors treat such cases as infrequent enough for their data procedure. This assumption concerns a different question from whether an original sentence has been proofread. A perfectly spelled source word can still be an unsuitable candidate if its final letters are taken for an affix.
Produce the two kinds of spacing mistake
To create an attachment error, the authors remove the space before a separate de or da. In their example involving a cat, the original contains Kedi de. The cat is something the speaker also saw. After the edit, Kedide provides a location reading, with the same following verb now interpreted in relation to that place. The authors describe the sentences as syntactically possible with different meanings. What makes the joined occurrence a positive example of a mistake is the change from the reference spelling.
The reverse edit inserts a space before an ending that was part of a word. The original with Evde places the speaker at home. The synthetic form Ev de separates the ending and makes it look additive. The remaining verb refers to staying, and the authors use the example to show a split that leads to an awkward reading. This version highlights how the surrounding words can make an error easier to spot. The effect of editing the boundary depends on what the original sentence said.
Neither operation requires rewriting the rest of the sentence. In the cat example, the verb remains in place and the interpretation of its relationship to the preceding expression changes. In the home example, keeping the verb makes the place reading available as an explanation of why the detached form is suspect. These edits produce a supervised training problem, in which the desired output is known for each example. The ordinary words in the source sentences supply contexts for the error, and the chosen edits tell the authors which positions to annotate.
The observed input also changes in a way the tagger must handle. Removing a space can yield one larger token where there were separate tokens. Inserting a space can yield a standalone string that resembles a legitimate clitic. Thus the tagger has to read the sequence created by the edit, with the spelling exactly as it is presented. The original belongs to the data construction procedure. A prediction on an altered sentence is based on its current words and their ordering.
Record the error as a label
The authors adapt the CoNLL-2003 convention for linguistic annotation, the practice of marking units in a text with categories useful for a task. In that format, each word appears on a line, with blank lines marking sentence boundaries. The original format can record a word’s grammatical category, its chunk, and a named-entity label. Tags beginning with B mark the start of a typed span, and tags beginning with I mark a position within one. O is used for items outside the spans of interest.
The spelling task uses B-ERR to mark an offending item and O for other positions. ERR identifies the annotated type as an error. The paper shows an original occurrence of Onlar da with O on each part. In the corresponding altered sentence, Onlarda occupies one position, with the tag B-ERR. The adjacent tokens retain their ordinary labels. This display ties the spelling question to a concrete output. The checker is expected to identify the joined form at its place in the sentence.
That example also shows why the label is meaningful only in relation to the input tokens. In the original, a space separates the host and the clitic. In the edited sentence, the flagged token contains the letters of both. The tag points to the item that ought to be examined for an unintended boundary. The paper describes the insertion operation as well, although its displayed side-by-side annotation illustrates the joined case. The label inventory is the same across the annotated data.
The authors divide the generated collection into training, development, and test splits. Training examples supply the text and labels from which the tagger learns. A development split provides material associated with developing a system, while the test split supplies the held-out results reported for the synthetic data. The paper also describes the separate collection of 100 manually constructed sentences. The authors make both the generated data and the hand-built challenge set available in the derlem/kanarya repository.
From Turkish source sentences to spelling error flags
The steps in order.
Represent the words before reading the sentence
An embedding gives the tagger a list of numerical values for a word. The entries are frequently called coordinates, and the number of entries is the dimension of the vector. The paper describes embeddings as a way to convey similarities in how words behave grammatically and what they mean. These representations supply information learned from text before the tagger is trained on spelling labels. The recurrent part of the tagger can then use those values in conjunction with evidence from the particular sentence.
For GloVe, the reported dimension is 300 and the window size is 15. In this context a window controls the neighborhood from which occurrences of words together are recorded. The authors explain that GloVe builds representations from corpus-wide patterns of word co-occurrence. Local neighborhoods supply observations, and the global record summarizes how words occur in relation to one another across the material. Such a vector gives the tagger information about patterns of use that extend beyond the annotated error sentences. GloVe
For fastText, the authors use Turkish vectors pretrained on Common Crawl and Wikipedia. They emphasize that fastText can use pieces of words made up of consecutive characters. Such a piece is a character n-gram, with the length determining how many characters it contains. The paper’s illustration takes selam and points out the overlapping pieces sel, ela, and lam. Each piece describes part of the word’s spelling. The pretrained resource is the one described in Learning Word Vectors for 157 Languages.
The character pieces give fastText a way to process words absent from its stored vocabulary. That capability has a clear connection to the input the authors construct. A joined spelling can share a long stretch of letters with familiar forms even if the resulting word is individually uncommon. A vector derived from its constituent pieces can make some of that overlap available to the tagger. The experiment evaluates fastText as an entire source of word vectors, so the role of any particular pieces in a decision remains a separate question.
The Word2Vec resource is also pretrained for Turkish, with dimension 300. The paper’s background describes Word2Vec as deriving word vectors from a shallow neural network that learns from text. The experimental setup also lists a 300-dimensional continuous bag-of-words (CBOW) model with position weights, 5-character n-grams, a context window of size 5, and 10 negative samples. These are settings for learning vector representations from text. In CBOW, surrounding words provide evidence about a target word. Position weights affect the contribution of context according to where it occurs, and the negatives provide alternative examples for the learning procedure to distinguish from the target.
The experiments use the sources individually and in combination. To combine them, the authors concatenate the vectors. Concatenation places the coordinates from one representation after the coordinates from another, producing a longer input vector for the same token. A joint GloVe and Word2Vec configuration, for example, gives the sentence-processing network a vector containing values from both sources at each position. The network is trained with that representation as its input. The combining operation happens before the spelling decision.
This arrangement allows the comparison to ask how the tagger performs with different information about each token. A single-source configuration receives the values from that source. A paired or full configuration receives more coordinates and can learn to draw on multiple sets of values. The spelling task, its labels, and the kind of sentence processing remain common to these runs. The expanded vector is part of the changed configuration, so the experiment varies the information source and the width of its numerical representation together.
Read the sentence from both ends
The network that processes these vectors is a multilayer bidirectional long short-term memory network, abbreviated LSTM. An LSTM is a kind of recurrent network. As it processes successive items, it passes along an internal state that carries information from positions it has already read. In a sentence, that state gives the calculation at a word access to evidence from elsewhere in the sequence. The authors use a reading direction from the beginning toward the end and another that runs from the end toward the beginning.
These directions matter because the suspect word can precede or follow the words that clarify its role. In the example with Ev de, the verb after the detached form supplies evidence about the intended location. A representation informed by later words can make that evidence available at the relevant position. The other reading direction also carries information from the preceding words. The method gives the tagger a means of learning which contexts matter without specifying a separate grammatical rule for the examples involving every host word.
The recurrent computation takes place in successive layers. The representation produced by earlier processing provides input for further processing, so the final information at a token position reflects the sequence that has been read. The authors took this architecture from work on sequence labeling that they describe as successful on named entities, grammatical tags, and chunks. Their citation identifies the architectural precedent. In the Turkish spelling experiments, the compared inputs are the stated Turkish word vectors. Contextual String Embeddings for Sequence Labeling
The network produces a score vector for each position. Those scores express support for possible labels of the token. A conditional random field, or CRF, then uses the position scores to choose a sequence of labels for the sentence. A CRF is a way of scoring a structured output conditional on the given input. In this application it can consider how neighboring label decisions fit together while taking account of the evidence at each position. The chosen sequence assigns an ordinary or error label to every token to which the tagger produces a prediction.
Context consequently enters the procedure in two forms. The bidirectional network carries evidence from the sentence into the scores at each position. The CRF makes a collective choice over the predicted labels using those scores. A predicted B-ERR maps back to a token in the written sentence, which is where a checker can display the warning. The paper describes these stages and their training settings in prose. It gives the task and architecture without presenting an equation for its scoring or training objective.
Choose the training settings and reuse them
Before comparing the embedding configurations, the authors search over settings with fastText as the input. They use 10 epochs for each candidate during this search. An epoch is a pass through the training examples. The search is based on F1, which rewards finding errors while keeping the flags reliable. The procedure explores all combinations of the listed options, giving the authors a common recipe before they fit the systems used in the main comparison.
Batch size is one of the choices. A batch is a group of examples processed together for a training update, and the candidates are 8, 16, 32, and 64. The authors also try recurrent layer counts of 1, 2, 3, and 4. This setting governs how many successive recurrent layers take part in processing a sentence. The search therefore varies the organization of the training updates and the depth of the sentence-processing network.
The other choices are learning rate and hidden size. The learning rate controls the scale of the updates to learned parameters. Its tested values are 0.05, 0.1, 0.15, and 0.2. Hidden size governs the width of the recurrent internal representation. The authors try 16, 32, 64, 128, and 256. Both settings affect how training proceeds, with hidden size also determining how much numerical state the recurrent component has available.
The highest-F1 settings in this search are a batch size of 16, a recurrent layer count of 2, a learning rate of 0.2, and a hidden size of 256. The authors use those settings for the embedding experiments and train each configuration for 150 epochs. They report a PC with a GeForce RTX2080 and 32 GB of RAM. A training run took approximately 10 hours. Those details describe the cost and setup of fitting a detector. The tagging operation after training uses the learned scores and label selection on the sentence being checked.
Experiments and results
Two tests with different reference material
The synthetic data comprise a training split of 15,203 sentences and 383,066 tokens, a development split of 3,729 sentences and 94,232 tokens, and a test split of 2,070 sentences and 51,226 tokens. The sentence counts describe the sequences available in each partition. The token counts describe the positions that carry labels. The synthetic test measures how well a trained checker labels held-out text produced with the same type of spacing alterations used to construct the rest of the collection.
The hand-built evaluation consists of 100 Turkish sentences with target misspellings. The authors write the cases to pose difficulties of interpretation even when their syntax appears plausible. This test lets them compare the learned configurations against other available spellcheckers on deliberately challenging examples. Its construction also makes it possible to see whether the configuration rankings on generated examples hold on a collection with a different selection criterion.
The synthetic test reports precision, recall, and F1. For an error detector, precision asks how often a flag agrees with a reference error. Recall takes the reference errors as its starting point and asks how often the detector catches them. F1 combines precision and recall, giving a measure of how well a checker does on both. A system can have high precision by issuing reliable flags while missing some errors, and it can have high recall by catching many errors while also issuing unwarranted warnings. Looking at the component measures tells the reader which of those behaviors contributes to an F1 result.
The hand-built test reports accuracy for each system on the challenging sentences. It puts the learned taggers and existing tools on a shared reported measure for that collection. The accuracy column gives a direct ranking within the challenge test. The precision and recall columns belong to the synthetic experiment, where the data carry token labels and the task is to match those labels. The two sets of numbers therefore need to be interpreted with their respective measures and examples attached.
How the fixed spelling rules fare
The authors define two baselines that choose a boundary convention uniformly. A baseline is a point of comparison for judging what the more elaborate procedure achieves. The first accepts the separate spelling as correct, which causes it to flag valid locative attachments. On the synthetic test this rule has 10.60% precision, 25.67% recall, and 15.00% F1. Its precision describes the reliability of flags produced by imposing that spacing preference on the reference sentences.
The second baseline accepts the attached spelling as correct. It can consequently flag correctly separate clitics. This baseline obtains 59.89% precision, 74.32% recall, and 66.33% F1 on the synthetic test. It leads the first rule on all the reported metrics. That comparison concerns the errors and legitimate uses that occur in the synthetic test and the behavior of these specific rules. The paper does not use the baseline results to estimate how prevalent the two types of mistake are in Turkish writing.
These are relevant comparisons because the boundary itself is informative about what might have happened. A simple rule can take a candidate with certain letters and prefer one written form. The tagger also receives information about the token and the words around it. The comparison assesses the resulting change in detection performance when the full learned procedure replaces a uniform preference about spacing. The individual contributions of the procedure’s components require a finer comparison.
The combined input leads on generated examples
With one source of embeddings at a time, GloVe produces 87.09% precision, 81.53% recall, and 84.22% F1 on the synthetic test. Word2Vec produces 87.67% precision, 79.50% recall, and 83.39% F1. With fastText the corresponding values are 87.05%, 79.73%, and 83.23%. GloVe leads this group in recall and F1. Word2Vec is the most precise of the individual sources in the synthetic evaluation.
Among the paired inputs, GloVe with fastText reaches 90.55% precision, 81.98% recall, and 86.05% F1. GloVe with Word2Vec reaches 89.79% precision, 81.83% recall, and 85.63% F1. The pair of fastText with Word2Vec obtains 87.59% precision, 80.03% recall, and 83.64% F1. Both combinations containing GloVe exceed the strongest individual F1 result. The pair without GloVe improves on its own constituents by F1 and places below GloVe alone.
With all the sources concatenated, the tagger attains 91.56% precision, 82.28% recall, and 86.67% F1. Each is the highest value for its metric in the synthetic comparison. The precision result describes how often its flags are supported by the reference annotations. The recall result shows that reference errors are still missed. The paper’s lead F1 figure therefore accompanies the best measured trade between false flags and omissions among the reported configurations on this test.
Error detection F1 on the synthetic Turkish test split
Combining every embedding source gives the highest F1 on the generated examples.
The numbers
| System or setting | F1 % |
|---|---|
| Baseline accepting only separate spellings | 15.00 |
| Baseline accepting only attached spellings | 66.33 |
| GloVe alone | 84.22 |
| fastText alone | 83.23 |
| Word2Vec alone | 83.39 |
| GloVe with fastText | 86.05 |
| GloVe with Word2Vec | 85.63 |
| fastText with Word2Vec | 83.64 |
| All embedding sources (this paper) | 86.67 |
The synthetic results put every learned configuration above both fixed rules by F1. They also show that the ranking among embeddings depends on which outcome is examined. Word2Vec’s standalone precision leads that of the other individual sources, and its recall is the lowest of that group. GloVe’s recall is the highest among them, with precision close to the other individual results. This is one reason to retain the precision and recall figures when discussing the chart. They reveal how the taggers can arrive at different rankings on finding errors and on the trustworthiness of the flags they give.
Word2Vec leads on the hand-built cases
With the examples constructed by hand, Word2Vec alone achieves 71% accuracy. The other single-source results are 55% for GloVe and 64% for fastText. Pairing Word2Vec with fastText gives 69% accuracy, while pairing it with GloVe gives 67%. GloVe with fastText achieves 66%. The combined configuration that leads on the synthetic test reaches 65% on this collection. These are accuracy results for the same set of challenging sentences.
Among the external tools, Google Docs has the highest accuracy, 34%. Microsoft Office, LibreOffice, and the ITU pipeline are also evaluated. Their reported accuracy values, taken together, are 29%, 0%, and 0%. Every trained configuration in the challenge comparison has a higher reported accuracy than the strongest outside checker. This establishes the relative performance on cases selected for this particular Turkish ambiguity. The benchmark puts each tool in contact with the problem the tagger was specifically trained to address.
Spelling detection accuracy on the manually curated Turkish sentences
Word2Vec alone leads the challenge test, and every learned configuration surpasses Google Docs.
The numbers
| System or setting | accuracy % |
|---|---|
| Google Docs | 34 |
| GloVe alone | 55 |
| fastText alone | 64 |
| Word2Vec alone (this paper) | 71 |
| GloVe with fastText | 66 |
| GloVe with Word2Vec | 67 |
| fastText with Word2Vec | 69 |
| All embedding sources | 65 |
The paper also displays particular catches to show how a warning appears in running text. One example contains iyide. Another is a sentence evaluating a person, in which the system identifies çokta. The figure marks the erroneous word with a box. This illustrates the connection between the data annotation and the presented output. The score is aggregated across sentences, while the displayed warning directs attention to the spelling of one token.
The çokta example is especially relevant to the forms covered by the name de/da. The paper describes a consonant alternation in the attached ending. After a word ending in p, ç, t, k, s, ş, h, f, the suffix can take the forms -te or -ta. The flagged example contains the spelling with t. It is an instance in which the described detector catches a form beyond a literal ending in de or da. The figure gives an example of a successful prediction involving this alternation. The experiment reports its measured performance across the challenge collection as a whole.
What the ablations show
The value of adding an embedding depends on the starting point
The main ablation varies the inputs to the tagger. The authors fit configurations using single embedding sources, pairs, and the full concatenation, with the same recurrent architecture, decoding procedure, and selected training settings. The results therefore indicate what happens when particular embedding sources are included or omitted under that recipe. Because each configuration is trained with the input it receives, the measured effect concerns a complete tagger fitted with that choice of representation.
On the synthetic test, adding fastText to GloVe produces higher precision and recall than either source achieves by itself. The same holds for the pairing of GloVe with Word2Vec. This comparison identifies what drives their higher F1 in the reported results. Each GloVe pair both makes more reliable flags and finds a greater share of the annotated errors than either of its own single-source configurations. GloVe is also the strongest standalone input on synthetic F1.
The fastText and Word2Vec pairing shows a different relationship among the measures. Its recall is higher than that of either standalone component. Its precision lies between the individual precision values, and its F1 exceeds both single-source F1 figures. Hence a gain from combining sources can arise without precision improving over each constituent. Looking only at the F1 ordering would conceal that difference between the pairings.
With all sources present, the result leads every pair on the synthetic test. Omitting GloVe from the full representation leaves the weakest synthetic F1 of the paired configurations. Omitting Word2Vec leaves the strongest pair, GloVe with fastText. Those relations identify which complete inputs work better on the generated examples. They give no direct account of which individual dimensions or properties of the training corpora explain the differences.
Concatenation changes several things that are linked in this design. It supplies representations learned in different ways, and it increases the number of values available at each token. Either can matter to a recurrent network learning to make use of its inputs. The pairing results show that the identity of the sources matters under the reported setup, since the different pairs achieve different scores. A more specific explanation about which kind of linguistic information helped would need a comparison that varies that information more narrowly.
The same point applies to fastText and its character pieces. The motivation for their use is clear when token forms change with the loss or insertion of a space. A vector can draw on recurring character sequences even for an unfamiliar form. Including or omitting the fastText vector varies that capability alongside the other properties of the embedding resource. The paper’s comparisons establish how the complete configurations fare. They leave the effect of the character pieces on their own unresolved.
Changing the test changes the value of a combination
The challenge set gives a different answer about which combined input is strongest. Word2Vec on its own leads at 71% accuracy. Adding fastText to it gives 69%, and adding GloVe gives 67%. Using the full concatenation gives 65%. On these challenging sentences, supplementing the leading standalone representation with other sources corresponds to a lower reported accuracy.
Other additions help on the hand-built set. The GloVe and fastText pair scores above both of its standalone configurations. Adding Word2Vec to GloVe alone also yields a higher score than GloVe alone, even though the same pair scores below standalone Word2Vec. Whether an addition looks beneficial thus depends on what was already present and which evaluation is being considered. The observed rankings give little support to choosing an input solely by how many sources it contains.
The change from the synthetic test to the curated test involves a change of metric as well as a change in the composition of the sentences. The synthetic table reports whether the checker’s flags match a token annotation and whether annotated errors are found. The challenge table reports accuracy on the selected sentences. The ranking reversal shows that the choice of configuration can depend on the evaluation. It leaves open how much of that reversal is due to the kind of context the authors selected and how much is due to what the scoring rewards.
Word2Vec’s leading standalone precision on the synthetic test offers a point of comparison with its challenge result. The paper gives no corresponding precision and recall breakdown for the challenge set. Consequently the reader cannot tell whether Word2Vec leads there because its flags are especially reliable, because it finds more of the intended errors, or because of some combination of those behaviors. The tables establish the performance ordering under their own measures, and the score alone cannot identify the particular examples responsible.
How much of the gain can be assigned to context?
Every trained input configuration outperforms the fixed spacing conventions on synthetic F1. This establishes that the learned system makes better decisions in aggregate on the generated task than the two uniform spelling rules. The examples explain why sentence information could matter, since an attached expression may look legitimate while giving the sentence the wrong reading. A comparison with the fixed baselines includes the embedding information, the bidirectional processing, and the CRF together.
The paper has no corresponding controlled result for a tagger trained with the same data and word representations while seeing only the candidate token. Such a comparison would answer a narrower question about how much the surrounding words add over cues contained in the form itself. The existing experiment supports the complete use of context in the proposed procedure. It leaves the relative merits of evidence from the candidate’s letters, its word vector, and its neighbors unmeasured.
The recurrent network and the CRF likewise remain in place throughout the embedding comparison. The reader can see that the chosen architecture works with each input, but cannot attribute a measured share of the gain to the label sequence decoder or to either reading direction. The preliminary search includes different recurrent depths and reports the settings that win. It gives no scores for the settings that lose, so it cannot show how much the depth contributes by itself.
Finally, the displayed warnings provide an example-level view of a successful prediction. The catch on çokta establishes that the tagger can flag this particular form in its sentence. The figure does not provide the counterfactual sentences or alternate configurations needed to trace its decision to a specific contextual cue. It complements the ablation by illustrating the appearance and linguistic character of a successful output. The tabulated comparisons supply the evidence about how performance changes across input choices.
Limitations
Limits the authors identify
The authors limit the detector to the Turkish clitic ambiguity they study. A Turkish spelling checker with broader coverage would have to address other kinds of errors. They propose combining their approach with morphological analysis as part of that wider task. In the present experiments, the training labels point to the particular attachment or separation problem. The authors’ characterization of the result applies to this target and to the evaluations they report.
They also state the assumptions behind their generated data. The relevant source spellings are treated as correct, with few errors expected from the collection. Their selection approach can encounter words that end in the right letters for reasons unrelated to the locative suffix. The example ziyade makes the assumption concrete. These cases are accepted as rare, and the paper gives no measured rate for them. The method’s reference information comes from the source sentences and the edits applied to them, so the quality of both judgments matters.
Another difficulty the authors recognize is that the correct interpretation can require clarification. A reader may know all the relevant spelling and inflection rules and still lack the information needed to infer the writer’s intention. The paper’s original and changed car sentences illustrate that problem. Where either meaning fits the sentence, the detector may learn which reading is generally more plausible from its examples. The writer’s intended event can depend on details outside the sentence and thus outside the input the tagger receives.
Further limits of the setup
In the generated data, an error label records a deliberate departure from a spelling accepted as the reference. This is an efficient way to know where a change occurred. Its connection to how a reader judges the final sentence varies by example. A new spelling can yield a coherent reading that somebody else might have intended. The test in that case checks whether the system recovers the boundary associated with the original, even though the edited sentence can be interpretable on its own. Agreement with the reference is a more specific outcome than agreement among readers presented only with the changed version.
The paper reports the sizes of the synthetic splits. It gives no details about grouping a source sentence with its altered variants before partitioning the data. That detail matters because versions of the same sentence can share nearly all their context. If closely related versions occur across partitions, performance can reflect familiarity with that context. If they are kept together, held-out evaluation calls for generalization to different underlying sentences. The stated scores can be read as results on the designated test split, with that aspect of the split construction left open.
The generated alterations produce known examples of the target error through a repeatable operation. Naturally occurring writing can present a different distribution of contexts, alongside other mistakes and sentences whose ambiguity depends on what came before. The curated test broadens the evaluation to cases intentionally chosen for difficulty. Its examples are still constructed for the study, so the experiments leave unanswered how often the detector would help on errors that arise without deliberate editing or selection.
The aggregate synthetic results cover both joining and splitting. The paper gives no separate precision, recall, or F1 values by direction of edit. A reader therefore cannot infer whether the method is equally effective at noticing a missing space and an extra one. The same applies to the consonant alternation mentioned with çokta. A detection involving one such form demonstrates that the output can occur. It gives no comparative account of how reliably endings with t are caught across the data.
The manual comparison contains known misspellings and reports an accuracy figure for each checker. That evidence is informative about intentionally difficult cases. The paper does not spell out how the accuracy calculation treats additional warnings elsewhere in a sentence, and the challenge test does not include a matched group of correctly spaced sentences selected for comparable ambiguity. As a consequence, the challenge accuracy has limited value for estimating how often the system would interrupt a writer whose spelling is already correct. Precision in the synthetic test addresses false flags within its own annotated setting.
A related limit concerns detecting an error versus restoring the intended spelling. The proposed output attaches an error tag to a token, and the example figure shows the token brought to a reader’s attention. In the generated data the authors also know the original boundary because they created the change. In a new sentence, an accurate flag identifies where a reader should look. The paper does not separately measure the correctness of edits supplied to the writer, or whether applying a suggested edit restores the writer’s intended meaning in ambiguous cases.
The choice of settings introduces another qualification for the embedding comparisons. The training recipe is selected with fastText and then applied to all the inputs. This gives the runs a common setup, but an embedding source’s score under that recipe may differ from what it would achieve after a search of its own. The paper also reports point results, without ranges across repeated training runs. Close differences between configurations therefore establish the observed order in the tables, with the stability of that order left unmeasured.
The authors’ comparison with existing spellcheckers supports a narrow practical conclusion. The specialized taggers detect more of the intended cases according to the challenge accuracy than the other tools report on those sentences. The test focuses on a single ambiguity for which the tagger has dedicated training, and it supplies no evidence about the tools’ relative coverage of other Turkish spelling errors. The result is strongest when used to judge whether this particular error can benefit from a detector trained to read the surrounding sentence.
What came after
There is no documented later study here showing how another research group used the tagger or its datasets. The authors describe work they intended to pursue. Alongside the proposed integration with morphological analysis, they were exploring BERT as a source of word representations. They expected a change in the input representations to improve detection, a possibility left untested in the reported comparison.
The authors also planned to extend their approach to a similar spelling case and discussed making it available through a programming interface and a demonstration service. They considered editors, social platforms, and messaging applications as possible settings for the detector. The paper presents these as directions for further work. Its measured findings concern the generated test and the hand-built challenge set, including their different rankings for the same embedding configurations.
Cite
Cite as Ugurcan Arikan, Onur Gungor and Suzan Uskudarli. 2019. Detecting Clitics Related Orthographic Errors in Turkish. Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019).
@inproceedings{arikan2019detecting,
title = {{Detecting Clitics Related Orthographic Errors in Turkish}},
author = {Ugurcan Arikan, Onur Gungor and Suzan Uskudarli},
booktitle = {Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019)},
year = {2019},
doi = {10.26615/978-954-452-056-4\_009},
url = {https://doi.org/10.26615/978-954-452-056-4_009}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/arikan-2019-detecting-clitics-related-orthographic-errors/