Rule Based Morphological Analyzer of Kazakh Language
Paper · 2014 · Gulshat Kessikbayeva and Ilyas Cicekli
Summary
A Kazakh word can carry information about number, possession and case in a sequence of endings. Identifying those endings takes more than looking up a list of suffixes. The same ending can take different written forms depending on the sounds that precede it, and a single spelling can support several grammatical readings. Gulshat Kessikbayeva and Ilyas Cicekli build a rule-based system that recovers the root and grammatical information from a written word. The system also works in the other direction, producing a written form from a lexical description. This is a computational treatment of morphology, the study of how words are formed and how their forms express grammatical information.
The authors divide the work between rules for the order of morphemes and rules for the changes in spelling that accompany their combination. A morpheme is a unit such as a root or an ending that contributes meaning or grammatical information. In the authors’ transcription, the analyzer reads kitaptan, meaning “from a book,” as the noun root kitap with singular number, no possessive marking and ablative case. The last of these features is expressed by the visible ending. Singular number and the absence of a possessor are recorded in the analysis even though they consume no letters. An extra representation used during processing lets the sound rules choose the right version of an ending while the lexical analysis retains its grammatical identity.
The authors compile a lexicon and suffix sequences with the Xerox lexc tool and compose them with the letter alternations using xfst. They look for alternations that can be shared across grammatical categories, including regularities in nominal endings and changes that recur in derivation and verb forms. Verb analysis also shows why the system can return several readings. The form kel-geli can stand on its own with the sense “since coming.” In kel-geli tur-mIn, meaning “I am planning to come,” it belongs to a larger verb expression whose auxiliary carries the personal ending. A word-level analyzer can make both types of reading available.
The authors report approximately 96% correct analyses for a web sample described as approximately 1000 words already in the lexicon. Their test table gives 962 correctly analyzed words out of 1000 for w1.txt and 978 out of 1010 for w2.txt. It also reports an average of 2.1 morphological parses, reflecting that the output can contain alternatives. The authors identify technical vocabulary and missing exceptions as sources of errors. The evaluation concerns the analyzer’s handling of the tested forms, with open questions about coverage of unfamiliar vocabulary and selection of a reading in context.
Deep dive: Rule Based Morphological Analyzer of Kazakh Language
A rule-based Kazakh word analyzer uses finite-state suffix sequences and sound rules to recover grammatical analyses and generate word forms. · about 33 minutes to read
The problem and its context
Why a word needs an analysis
The paper starts from a property of Kazakh that matters directly to software. A root can take a suffix, and the resulting form can take another suffix. Each addition can contribute information that a reader needs to understand the word. With nouns, the paper illustrates number, a relationship to a possessor and case. Case is the grammatical category that distinguishes forms with functions such as expressing origin or direction. With verbs, the choices include endings associated with tense, mood and personal agreement. The word form that appears in a text therefore contains a sequence of decisions that an analyzer needs to recover.
Consider the paper’s qala, meaning “city,” and qa-la-lar-dIN, meaning “of cities,” with the latter separated in the authors’ presentation to show the syllables and endings. The longer form includes plural and genitive marking. The genitive is the case associated with the “of” interpretation in this example. A computational account needs to identify the root and find both pieces of grammatical information. It also needs to explain the form of the endings in that particular word. A lookup that recognizes qala at the front has only supplied the starting point.
The term agglutinative describes the way these units can be joined in a sequence, with identifiable contributions from different endings. That property gives the analyzer something to work with. If a word contains plural, possessive and case information, the program can look for an ordered path through those categories. The same property makes individual word forms an awkward unit for building a dictionary of analyses. A dictionary entry for a root becomes far more useful when the program can combine it with the grammatical continuations that the root permits.
The authors call the rules for combining these pieces morphotactics. Morphotactics asks which unit can follow the part of the word already built. A separate question arises once the grammatical sequence has been fixed. The form of a suffix can depend on the preceding vowels or consonants, so the analyzer needs rules that connect a grammatical ending to the letters that appear in a particular setting. These changes are called alternations. Word analysis needs both kinds of knowledge because a plausible division of the letters has to correspond to a grammatical sequence.
Ambiguity adds another requirement. Some spellings can arise through more than one grammatical path. A system that supplies an analysis for each word in isolation has limited evidence for deciding which path a writer intended. The authors make alternatives part of the output and describe cases where doing so is deliberate. The problem they take on consequently includes recovering possible structures and representing the distinctions between them. The surrounding sentence would supply additional evidence for choosing among those structures.
What the authors take from earlier work
The paper describes earlier research on the segmentation of Kazakh inflectional affixes. Segmentation addresses the boundaries between pieces of a word. Inflection is the formation of grammatical variants, such as a noun with a different case ending. Finding an inflectional boundary addresses part of the authors’ task. Their analyzer must also supply the category associated with an ending, record features that may have no visible suffix and determine which combinations its grammar licenses.
The authors also identify a finite-state treatment of the Kazakh nominal paradigm. A paradigm is the set of forms available for a category such as a noun. As they describe that work, it presents particular alternations. Their own aim is to capture broader regularities across the individual cases. The distinction is easiest to see in a choice such as the initial consonant of an ending. Several suffixes can respond to the same classes of preceding sounds even if they express different grammatical features. Writing down the shared condition gives the correspondences a common explanation.
The paper situates the project among descriptions of other Turkic languages, including work on Turkish, Crimean Tatar, Turkmen and Uyghur. Its discussion of Turkish includes a prior computational treatment that also uses two-level morphology, an approach that represents how lexical information corresponds to written forms. The Turkish example places the Kazakh system within an existing finite-state tradition. Two-level Description of Turkish Morphology
Other earlier studies compared related languages, sometimes in connection with machine translation. The authors use a limited Kazakh–Turkish comparison to clarify which distinctions matter for a Kazakh analyzer. They describe similarities in grammatical categories and in the behavior of voiceless consonants, alongside differences in the written alphabets, the form of personal possessive endings and some verb categories. The comparison also illustrates a distinction important to the implementation. A useful design for organizing endings can carry from one language to another while the rules for choosing their letters still have to be written for the language being analyzed.
What the comparison clarifies about Kazakh
In the authors’ description of Kazakh vowel harmony, the front or back quality of a vowel governs choices in a following suffix. Depending on the suffix, the contrast can be between a and e or between the sounds represented by I and i in their transcription. The Turkish comparison also considers whether the vowel is rounded. The relevant point for the analyzer is the choice of features that its rules inspect. The Kazakh rules presented in the paper group the controlling vowels primarily by frontness and backness.
The nominal systems illustrate both common structure and different inventories. The comparison gives both languages 7 case forms. It assigns 8 types of possessive agreement to Kazakh and 6 to Turkish. The Kazakh table distinguishes polite and other forms in its second-person entries. A representation that looked only for a general second-person meaning would lose a distinction that the analyzer is meant to supply. The system has to specify agreement categories and associate them with the endings allowed on the appropriate paths.
The comparison treats verbs with similar care. The paper identifies definite past, present, imperative, optative and conditional forms as examples of categories with close counterparts in the languages compared. It also notes that similar meanings can be expressed by different morphemes and gives goal-oriented future among the categories it discusses as distinctive in Kazakh. The grammatical label and its realization are separate decisions here as well. Establishing that two categories have comparable uses is a different question from establishing which material the analyzer should recognize in a Kazakh word.
The authors therefore approach the description as a synthesis of grammatical information that can be turned into executable rules. Their goal is broad enough to include more than a nominal paradigm but leaves room for the language-specific detail visible in particular endings. The body of the paper develops that detail through examples of nominal states, vowel and consonant rules, and the different ways that verbal morphology leads to completed verb forms or to forms that can participate in a larger expression.
The method, step by step
From the letters to the grammar
The system connects an analysis with a written form. On the lexical side, an entry identifies a root and supplies grammatical tags. On the surface side, the corresponding string is the written word in the system’s representation. Between those sides, the authors use symbols for parts of endings whose eventual spelling depends on a rule. Those intermediate symbols allow the lexicon to express that a suffix is present before committing to exactly which letters will realize it.
An example appears in the locative, the case used for a location. The paper describes related endings with dA and tA. Capital A in this position is a placeholder for a vowel chosen by harmony. The preceding sound helps determine whether the consonant is d or t, and the preceding vowel helps determine whether the last letter is a or e. The category locative stays the same across those choices. The lexical description can therefore capture the shared function while the alternation rules account for the spelling in context.
The implementation uses a finite-state network for the permitted continuations of roots and affixes. A state represents a point in a word’s analysis where particular continuations are available. A transition moves from that point to another and can match letters or supply a grammatical label. A finite-state transducer connects strings on two sides, so a transition can match or produce material with a different representation on the other side. This lets the analyzer connect visible letters with tags and also represent a tag that corresponds to an empty segment.
The authors write roots, morphemes and their possible continuations in a lexicon file, which they compile with lexc. They describe the alternations separately in a file of regular expressions, which specify patterns that the rules can recognize. With xfst they compose the alternation transducer and the lexical network. Composition joins the correspondences so that the shared intermediate representation serves as their point of connection. The final network can be applied to a written form to recover an analysis, or to lexical information to obtain a written form.
From the Kazakh lexicon to bidirectional word analysis
The steps in order.
Building and reading a nominal path
The nominal example kitaptan, meaning “from a book,” shows what the transitions contribute. At the start, the analyzer recognizes kitap as a noun root. The paper depicts the ending in the intermediate segmentation as kitap+tan. At this point in the description, the letters of the case suffix are apparent, but the full analysis also needs to account for the grammatical categories whose markers are empty.
After the noun root, the path passes through the number state. There is no visible plural ending in kitaptan, and the singular transition supplies +A3Sg while consuming no additional input. The next state deals with possession. Again the path consumes no letters, this time giving +Pnon, the tag for a noun without a possessive ending. A transition whose input is empty is called an epsilon transition. It allows the grammar to record a feature while leaving the input position where it was.
The case transition then matches tan and yields +Abl, which records ablative case. In this example, the ablative supplies the “from” sense. The analysis has the root and the noun tag followed by the number, possessive and case tags. The location of each tag shows which part of the nominal path supplied it. Even the categories with no matching letters remain visible in the result.
The paper describes the analysis as a search for permitted continuations from the root. A match at the beginning of a string is only part of that search. It still has to be possible to proceed through the remaining states and finish on an acceptable path. If a continuation leads to an invalid state, that path does not yield an analysis. If more than one path can finish, the composed network can return more than one lexical description of the same surface spelling.
This nominal example also explains what the network does in generation. A description containing the root, nominal category and the required features picks a sequence of grammatical transitions. Transitions for empty endings leave no letters in the generated form. The case transition supplies an ending whose realization is governed by the sound rules. The shared representation means that the information used to derive a surface form is available for recognizing that form in the reverse direction.
Possession demonstrates why the path keeps categories that can matter to later endings. For Eke, meaning “father,” the possessive table gives forms such as Eke-m for “my father” and Eke-si for “his” or “her father.” It also distinguishes familiar and polite forms, illustrated by Eke-N and Eke-Niz. These endings change the nominal description and can affect which case alternation applies next. For the ablative, the authors contrast -den after the unpossessed Eke with -nen after the third-person possessive form. The latter form ends in a vowel, yet the possessive category calls for a different ablative onset.
This is a place where the lexical network and the sound rules have to work in concert. Visible sounds often supply the environment for a rule. The history of the nominal path supplies information about which grammatical case has arisen. Treating every vowel-final context as equivalent would overlook the possessive conditioning in this example. The paper’s grouping of endings accordingly makes room for special possessive patterns alongside the sound classes.
The nominal description extends to continuations for pronouns, adjectives, adverbs and numerals as well as nouns. The worked noun trace makes the machinery concrete without requiring all of these categories to share every step in the same order. The general organization is a lexicon whose entries lead into the continuations specified for them. The change from one state to the next is where the grammar makes those distinctions available to the analyzer.
Giving the alternation rules their context
The authors use a Latin transcription during the initial work on the analyzer. Upper-case symbols in the examples have to be read with some care. Some stand for Kazakh sounds in the transcription, while others are placeholders that the alternation rules replace. In kitap-qa, for example, q is a realized consonant. In the abstract dative ending TA, capital T is a variable part of the ending. A reader of the final written form sees the selected letters, while the placeholder does its work inside the network.
For vowel harmony, the rules sort vowels into front and back classes. The last relevant syllable supplies the vowel context for a new suffix. The paper’s “of cities” example attaches back-vowel endings to qala. The word mu-Galim, meaning “teacher,” gives a more instructive case. Earlier syllables are described as back, while the final syllable is front. The paper gives muGalim-der-diN, meaning “of teachers,” with front vowels in the plural and genitive endings. The final syllable provides a basis for selecting those endings even when the root is internally mixed.
The instrumental ending -men illustrates a different relation between a suffix and its environment. In the authors’ description it has a fixed front vowel even after a form whose preceding vowel is back. Once it appears, the authors say subsequent endings use front vowels. These examples distinguish the source of harmony from a requirement that all vowels in an entire string share a class. The relevant context can change as the word acquires new material.
Consonant harmony involves a different kind of context. The authors group sounds into vowels and several classes of consonants. The consonant groups include sonorous, voiced and voiceless consonants, and the presentation divides certain groups further. For the locative, a final vowel, a sonorous consonant or a voiced consonant from the first group can be followed by dA. A voiceless consonant or a voiced consonant from the other group can be followed by tA. The initial consonant of the suffix and its vowel can thus reflect separate facts about the word that precedes it.
The most compact way to express a choice shared by several endings is to place the corresponding symbol in each relevant intermediate form. The rules can then interpret that symbol wherever its environment and the grammar allow. The authors group related behavior for ablative, locative and dative endings, and give another grouping covering genitive and accusative endings and a possessive form. Plural and negative forms, as well as some personal endings, appear in further groups. The groupings expose opportunities for reuse while leaving the individual endings with their distinct grammatical identities.
The paper calls one of these shared patterns Rule 12 and discusses the dative rule for T as part of it. The claim of generality comes from examining related suffix environments, including patterns that also arise in derivation. The final consonant class and the last vowel class can explain several realizations of the same abstract material. The discussion gives a linguistic reason to put the correspondence in the common alternation network.
Optional vowels in endings
The printed rules give two stages for handling H and B. The first combines the deletion alternatives in a shared environment.
[H → 0, B → 0 ∥ [Vowel] %+ _ [Cons]]
H and B are intermediate symbols. The arrow → gives the replacement, and 0 is the empty string, so either symbol disappears when the rule applies. The comma combines replacements with the same context. The symbol ∥ introduces that context, _ is the position of the symbol being replaced, and brackets enclose a rule or a named class. Vowel and Cons match vowels and consonants. %+ denotes the literal morpheme boundary written as +. Together the context describes a vowel at the end of the preceding unit and a consonant after the placeholder in the following ending.
The accompanying rule shows what the intermediate symbols become when they survive.
[H → J, B → A]
Here H and B retain their role as placeholders, J is the vowel choice that can give I or i, and A is the choice that can give a or e in the illustrated contexts. The arrows connect the input symbols to the replacement symbols. The comma groups the mappings, and the brackets enclose them. The rule display and examples show B giving A at this stage. The sentence beside the display gives B as the output in its account of this step.
The authors’ ana-Hm example loses the placeholder and yields ana-m, meaning “my mother.” In iS-Hm, the root ends in a consonant and the intermediate sequence becomes iS-Jm. The vowel rule then yields iSim. A corresponding pair appears with the verb endings. The authors show ege-Br yielding ege-r, “will sharpen,” while bar-Br goes through bar-Ar to give bar-ar, “will go.” The examples divide the work between the decision to retain vowel material and the decision about its vowel quality.
This arrangement also explains what the analyzer sees as it goes in reverse. A surface form with no vowel where H or B occurred can correspond to a lexical suffix that contains an optional vowel position. A form that does contain a vowel can lead back through a different realization of the same intermediate symbol. The path for the suffix still supplies its grammatical analysis, even when the amount of visible material changes.
Matching front and back vowels
The paper’s rules for A and J include a special realization of A at a vowel-final boundary.
[A → y ∥ [Vowel] %+ _]
A is the intermediate symbol and y its replacement in this environment. → marks replacement, and ∥ starts the environment. [Vowel] matches a vowel, %+ is the literal + boundary, and _ marks the position of A immediately after that boundary. The outer brackets contain the rule.
The remaining displayed rules treat back and front vowel environments separately. The following is the back vowel rule.
[A → a, J → I ∥ [BVowel] (Cons)* %+ ?* _]
A and J are the inputs, and the arrow gives the corresponding outputs a and I. The latter is the back vowel symbol paired with i in this transcription. The comma joins the two replacements, and ∥ separates them from the shared environment. [BVowel] matches a member of the back vowel class. Cons is the consonant class, grouped by parentheses, and * means zero or more occurrences of the preceding pattern. After the literal boundary %+, ? matches an arbitrary symbol, and ?* allows a sequence of such symbols before _, the replacement position. The brackets enclose either a class expression or the rule as a whole.
The front vowel rule changes the class and the outputs.
[A → e, J → i ∥ [FVowel] (Cons)* %+ ?* _]
A and J are again the intermediate inputs. Each arrow → specifies its replacement, e or i, and the comma groups the choices that share an environment. ∥ introduces that environment. [FVowel] matches a front vowel, parentheses group the consonant class Cons, and * allows zero or more repetitions. %+ again denotes the literal + boundary. ? denotes an arbitrary symbol, ?* allows a sequence of them, and _ marks where the rule changes the input. Brackets delimit the class expression and the whole rule.
These patterns let relevant consonants stand between the controlling vowel and the boundary, and the target can have material before it within the suffix. In the examples, the back vowel in dos gives dos-tar, “friends,” from dos-tAr. The final relevant vowel in dEpter gives dEpter-ler, “copybooks,” from dEpter-lAr. For bas-Hm, “my head,” H first becomes J, and the back vowel context gives basIm. The sequence barma-AmIn illustrates the other realization of A, giving barma-ymIn, “I will not go.” In this last case the negative form ends in a vowel at the relevant boundary.
Choosing the dative consonant
A dative can indicate direction or a recipient, as in the paper’s examples translated with “to.” The ending TA has a variable consonant as well as a variable vowel. The choice of T responds to the preceding consonant class or to a vowel-final boundary. The front or back class then determines which member of the relevant consonant pair appears. The paper gives the following replacement for a voiceless ending in a back vowel setting.
[T → q ∥ [BVowel] (?) [VLCons] %+ _]
T is the intermediate consonant, and q is its replacement, as indicated by →. ∥ introduces the environment. [BVowel] matches a back vowel, and (?) is the optional arbitrary symbol in the displayed pattern. The question mark is the arbitrary-symbol expression and the parentheses mark its optional occurrence. [VLCons] matches a voiceless consonant. %+ is the literal morpheme boundary, and _ is the position where T is replaced. Brackets delimit either a class match or the entire rule.
The parallel voiceless setting with a front vowel has a different result.
[T → k ∥ [FVowel] (?) [VLCons] %+ _]
The arrow → replaces intermediate T with k. After ∥, [FVowel] matches a front vowel, (?) allows an optional arbitrary symbol, and [VLCons] matches a voiceless consonant. The parentheses give the optional grouping around ?. The literal + boundary is written %+, and _ marks the target position. The brackets enclose the classes and the replacement rule.
For back vowel contexts with the other listed endings, the rule is as follows.
[T → G ∥ [BVowel] (?) [0 | SCons | VCons1] %+ _]
T is the intermediate input and G the consonant symbol produced in this transcription. → gives the replacement, and ∥ introduces the context. [BVowel] selects a back vowel, and (?) allows an optional arbitrary symbol, written ? inside parentheses. The vertical bars | list alternatives. 0 supplies an empty string, SCons names the sonorous consonant class, and VCons1 refers to the first voiced consonant group. %+ is the literal boundary, and _ is the place where the replacement occurs. Brackets enclose the class, the alternatives and the rule.
The corresponding front vowel rule yields g.
[T → g ∥ [FVowel] (?) [0 | SCons | VCons1] %+ _]
Here the arrow → takes T to g, and ∥ marks the start of the context. [FVowel] selects a front vowel. Parentheses allow an optional match of ?, an arbitrary symbol. The bars | separate the empty option 0, the sonorous consonant class SCons, and the first voiced consonant group VCons1. %+ represents the literal morpheme boundary. _ is the target position after it, and the brackets enclose the relevant expressions.
The four examples make the choices legible. kitap-qa, “to a book,” and mektep-ke, “to school,” both follow a voiceless p. They differ in the class of the last vowel, which changes the consonant and vowel of the ending. In the vowel-final examples bala-Ga, “to a child,” and Eke-ge, “to a father,” the vowel at the boundary guides both choices. The same dative function persists across the forms. The variation lies in the realization of the suffix.
The authors describe about 25 main alternation rules for the system, including generalizations that apply across endings, and refer to 7 exception rules in their account of the implementation. These counts describe the transducer’s rule inventory. The examples give a sense of the regularities that the inventory is intended to capture, while the tests identify some rule exceptions that remain outside it.
Verbal continuations and competing readings
The verbal grammar has to connect stems to categories such as tense and mood, and it has to handle continuations that can change the role of the word. The paper describes broad present, future and past categories, alongside conditional, optative and imperative moods. Its more detailed treatment recognizes thirteen tenses together with modals. The detailed distinctions are assembled from grammars whose terminology and category boundaries vary. Choosing a set of lexical labels is part of the work of making those descriptions computational.
The infinitive examples show how the network treats branching before a verbal ending. The authors give tara-w, “to comb,” as a starting form. They show tara-n-w for the reflexive, tara-l-w for the passive, and tara-s-w for the collective. The causative examples use tara-tQJz-w and tara-tTJr-w, in which Q, J and T are intermediate letters. The common infinitive ending stays in place while earlier material expresses a different verbal category. The authors point out that the available alternatives are restricted for individual verbs, a reason to represent allowed continuations as part of the lexical description.
Other verbal paths can yield a noun, an adverb or a participial form. The paper marks derivational routes out of the verb system in its morphotactic diagram. On the lexical side, the path can distinguish those developments from a verb carrying a tense suffix and a personal ending. On the surface side, the same letters may be compatible with more than one route. This is especially important in the constructions involving auxiliary verbs.
An auxiliary is a verb that contributes grammatical information to a larger verbal expression. In the paper’s kel-geli tur-mIn example, tur is the auxiliary, and the personal marker mIn attaches to it. Together the words mean “I am planning to come.” The piece kel-geli has the reading “since coming” when treated as a derived adverb by itself. The spelling of that piece supplies evidence for possible roles. The presence of the auxiliary supplies evidence for its actual role within the longer phrase.
The analyzer operates on individual words, so the authors allow it to analyze such a piece as a derived adverb or as a verb form whose tense construction is incomplete. They describe this as a generalization that yields more than one result. Personal agreement helps explain the choice. A complete verbal construction can carry the relevant agreement on the main verb after a tense suffix, or it can carry it on the auxiliary. An analysis of the first word alone has to leave room for the second arrangement.
The grammars’ disagreement about Future Transitional Tense provides another reason to separate what the system encodes from what a label implies in context. The paper presents one description in which the form denotes future action and shares an affix with a present form. It presents another description in which the same category is associated with present action. The analyzer formalizes permissible forms and categories in the authors’ account. The interpretation of a particular occurrence still depends on the construction in which it appears.
Compiling rules and expanding the lexicon
The authors build the system by specifying a lexicon and formalizing linguistic rules. The lexicon records roots and the morphemes a path can include. The regular expressions encode the contexts needed for substitutions. The work described for the analyzer consists of constructing these resources, compiling them, and extending them as forms are encountered. It has no reported fitting procedure in which corpus frequencies determine the transitions or the choice among analyses.
The paper names a corpus from Qazinform that the authors use in continuing development. They analyze material the system had yet to encounter and add new words to the lexicon. This makes the corpus useful for expanding the stock of roots against which the suffix rules can operate. It also creates a practical distinction between resource development and the reported test on words already covered by the lexicon. A word can be new to the development process without representing an unknown root at the point when test performance is counted.
The lexicon and the alternation rules have different roles when new material appears. Adding a missing root gives the existing grammar a starting point if its continuations and sound behavior are already covered. A form governed by an exceptional alternation requires a change to the rules or an explicit representation of the exceptional behavior. This distinction is reflected in the paper’s discussion of errors. Ordinary vocabulary expansion and correction of the correspondence between lexical and written forms address different failures.
Experiments and results
What the test measures
The authors describe a web sample of approximately 1000 randomly selected words that already occur in the lexicon. They report that roughly 96% of the words were correctly analyzed. Their results table separately reports counts for w1.txt and w2.txt. The textual account does not specify how the sample described in prose relates to the file entries, so the approximate percentage and the file counts can each be read at the level at which the authors report them.
A correct-word count measures success at the level of analyzed words. It gives the number of items the authors judged to have been correctly handled under the test conditions. The analyzer can produce several parses per item, so an interpretation of this metric depends on how the authors judged sets of returned analyses. The paper gives counts of successful words and errors and reports morphological ambiguity alongside them. It leaves the exact scoring treatment of extra alternatives unspecified.
The evaluation gives results for the implemented analyzer on the word files. The earlier nominal and segmentation studies provide research context, and the paper gives no baseline scores for them on the same data. The file comparison therefore shows what the same analyzer did on different sets of inputs. It does not quantify an advantage of the rule-based approach over a competing system.
The file sizes matter when reading raw correct-word counts. w1.txt contains 1000 words, of which 962 are recorded as correctly analyzed. w2.txt contains 1010 words, of which 978 are recorded as correctly analyzed. The chart compares counts on the metric used in the results table. The larger count comes from the file with more words, so its height represents the number of successes on that file.
Correctly analyzed word counts on the w1.txt and w2.txt test files
The analyzer correctly analyzed more words in the larger test file.
The numbers
| System or setting | correctly analyzed words |
|---|---|
| Kazakh analyzer on w1.txt | 962 |
| Kazakh analyzer on w2.txt (this paper) | 978 |
The recorded errors
The table breaks the errors down under the labels “Rules” and “Analyzer.” In w1.txt it records 30 rule errors and 8 analyzer errors. In w2.txt it reports 26 rule errors and 6 analyzer errors. The paper explains that errors attributed to rules involve exceptions yet to be included in the transducer. It gives less detail about the cause of the smaller category attributed to the analyzer, so the numbers establish how many items were assigned that label without supporting a finer diagnosis.
The authors say that technical forms account for much of the difficulty and characterize such forms as deviating from ordinary Kazakh alternations. They describe w1.txt as containing more technical words than w2.txt. This helps explain why the test files might differ in the kind of analysis they demand. The test does not supply a count of technical words in either file or isolate their results, so the size of their effect on the reported counts remains unspecified.
The implementation description also places technical terms, loanwords and proper names outside its stated coverage. The authors nevertheless discuss technical vocabulary when interpreting failures in the word files. Those statements make the distinction between coverage policy and input composition important. A system can encounter words belonging to a category it does not attempt to cover fully. The results do not tell us exactly which stems of this sort were present as entries, which failures arose from combination with endings and which were assigned to each error label.
The explicit account of rule exceptions helps locate a practical limit of the generalizations. Many words follow the shared vowel and consonant patterns, while an exceptional spelling may lack a path through the current rules. The counts show that rule errors are the larger recorded category in each file. They say less about which alternation is most in need of revision. The detailed examples in the method exhibit regular cases, whereas the results aggregate the failures.
Reading the ambiguity measure
The paper reports 2.1 morphological parses on average. A parse here is a possible root and grammatical analysis of an input. Multiple parses can arise because the surface form can be connected to different lexical descriptions. The verbal example involving kel-geli makes clear that at least some ambiguity is expected from the intended design. The analyzer preserves readings that make sense alone and readings whose use becomes clear in a larger verbal construction.
The mean describes the amount of candidate analysis the system returns. Several questions about quality remain open after that number is known. A word could have several well-formed readings, several readings induced by a broad rule, or a mix of the two. The average gives no distribution over words or grammatical categories, and the paper does not specify whether the mean uses both test files, the web sample described in prose or another counting scope. The paper reports the number as a general property of the analyses in its test discussion.
The correct-word counts and the ambiguity measure therefore concern different aspects of the output. One records success judgments on words. The other shows that the system ordinarily has to deal with more than one possible lexical interpretation. A reader considering the analyzer for sentence processing can infer that some inputs will require a further choice among readings. The reported experiment supplies neither a method nor a separate score for that later choice.
Generation is an architectural capability of the same network. The authors say the program can work from the lexical side or the surface side, and the rule examples explain the connection between them. The results table concerns words analyzed from their written forms. Its counts measure that direction specifically, while the reliability of generation across the grammatical inventory remains unevaluated in the reported test.
What the ablations show
The paper reports no ablations or controlled removals of components and instead analyzes error categories, differences in file content and the sources of competing readings.
What the error comparison can explain
The error categories indicate where the authors direct their diagnosis. The rule category is larger than the analyzer category for each file, and the authors associate it with exceptional patterns that the alternation transducer has yet to encode. This is evidence about what the authors assigned as the cause of individual failures. There is no parallel run using an enhanced exception inventory to show how many of the recorded errors a particular revision would recover.
The two files offer a comparison of inputs to a single implementation. The authors identify more technical vocabulary in w1.txt and report more rule errors there. That relationship is consistent with their account of technical forms as a source of failures. Differences in the words, and in the sizes of the files, are part of the same comparison. The experiment therefore leaves open how the error counts would change if technical vocabulary alone varied while the rest of the test conditions stayed fixed.
The rule organization itself rests on a different kind of comparison. The authors place endings side by side and look for a similar set of sound environments. Their locative and dative group is a case in point. Overlapping patterns motivate a rule that can be used in several places in the grammar. This is an analysis of the relation between rules and linguistic examples. The paper does not measure the effect of sharing the rule by comparing the generalized implementation with a second implementation that lists independent patterns.
The possession example shows what evidence the authors use when a sound-based grouping needs grammatical detail. The third-person possessive path takes an ablative variant different from the one illustrated for unpossessed Eke. If a reader considers only the vowel at the boundary, the choice is unexplained. The authors’ analysis identifies the earlier agreement category as relevant. There is no corresponding test in which the system omits possessive conditioning and reports the errors that follow.
What the verbal example explains
The contrast between kel-geli on its own and kel-geli tur-mIn in a larger expression is a comparison of interpretations. It explains why an auxiliary construction can leave the first word open to more than one reading during isolated analysis. The change in interpretation is tied to the appearance of tur-mIn, which carries agreement and contributes to the verbal construction. The example gives a concrete grammatical source for alternatives in the output.
The reported mean of 2.1 parses leaves the contribution of this particular construction unknown. There is no test of a version that returns only the adverb reading or only the incomplete verbal reading. The study therefore explains the authors’ reason for preserving both possibilities, while providing no outcome measure for how that design affects recognition in context. The descriptive analysis and the aggregate ambiguity result address related questions at different levels of detail.
Limitations
Limits the authors identify
The authors describe a lexicon and rule system with exclusions for loanwords, proper names and technical terms. They make exceptions a subject of further work, especially for loanwords and names. The paper’s discussion of harmony explains why this matters. A borrowed word may have vowels from different classes within the same root. Some such combinations still allow a regular choice based on the final syllable, as in the “of teachers” example. Other forms, including some technical items in the tests, are described as requiring further treatment. The existence of a useful harmony rule for the suffix is compatible with gaps in the system’s coverage of borrowed vocabulary.
The authors also identify exceptions that apply beyond the main shared rules. Their distinction between the existing transducer and missing exceptions matters to the reported performance. The broad rules cover recurring environments. A particular environment or form may still be untreated even when its root is present. The system the authors envision would improve through changes to both the stock of entries and the rules that connect those entries to surface forms.
Verbal analysis has a stated boundary at the individual word. The authors explicitly allow more general analyses where an auxiliary could complete a construction, and they discuss compound verb expressions separately. Recognizing alternative readings of one word is within the analyzer’s scope. Recovering the tense and agreement of a construction by assembling evidence across its words is a larger grammatical task. The example involving tur-mIn explains why that distinction can matter even when each word is individually analyzable.
The authors also describe unresolved details of character encoding. The initial work uses a Latin transcription of Kazakh Cyrillic, and the conclusion treats encoding improvements as pending. The transcription gives the paper a working notation for examples and rule classes. A deployment that accepts and presents words in their ordinary writing system depends on the treatment of characters at the system’s boundaries.
Finally, the authors treat disagreements among grammatical descriptions as a challenge for the formalization. Their conclusion mentions sources that distinguish twelve tenses and other sources that recognize fewer. The paper’s own verbal analysis makes choices about how to organize these categories. A working analyzer needs such an inventory, but the existence of an implemented inventory leaves the disagreements among the descriptions unresolved.
Limits visible in the experimental design
The reported correct-analysis rate concerns the conditions under which the words were selected. The prose sample consists of items already represented in the lexicon. This lets the test exercise the system’s handling of forms for which lexical starting information is available. The same conditions leave unanswered how often the lexicon would supply that starting information in unrestricted text. The authors’ continuing addition of words from Qazinform shows that lexical coverage was still being developed.
The paper gives a short account of random selection from the web. It does not give the sorting or sampling procedure for the test files, their relationship to each other or a complete account of their relationship to the Qazinform material. It also does not state whether repeated spellings appear or how the sample was distributed across grammatical categories. These details would determine how far the reported results could be generalized to particular categories of words, roots or suffix sequences.
The timing of lexicon growth matters separately from familiarity with a complete word. A written form can have an unfamiliar sequence of suffixes attached to a root that is already represented. Conversely, a root can be missing even though the rest of the string follows a regular paradigm. The paper describes new corpus material and continued updates to the lexicon but leaves their timing relative to the reported test unspecified. Its results therefore establish performance on the reported word files without isolating performance on unseen roots or unseen combinations.
The scoring description leaves other aspects of reliability open. The table reports correctly analyzed words, but the paper does not specify whether an item counted as correct whenever its intended reading appeared, or whether the set of returned analyses also had to exclude incorrect readings. That distinction is consequential for an analyzer that intentionally returns multiple candidates. A set can contain the reading that a human wants while also listing analyses that become implausible once the word is placed back in context.
The average of 2.1 parses comes without a breakdown by part of speech, ending or type of ambiguity. The paper illustrates grammatical ambiguity and describes overgeneralization for some verbal forms. The average by itself cannot assign a share to these sources. A fuller analysis would need judgments about the returned readings, including when several are genuinely available in the language and when a broad rule admits an unintended one. The reported evaluation leaves that categorization unspecified.
The comparison across files supports the authors’ description of where they observed difficulty. It provides limited evidence about the overall merit of any individual design decision. There is no scoring comparison with an earlier analyzer, no controlled test of shared alternation rules against separate ones, and no evaluation with and without the exception rules. The paper’s stronger evidence for the individual design choices comes from the worked examples, where the correspondence between a specific rule and its output can be inspected directly.
The paper also leaves open how evenly the system covers the verbal and nominal forms it describes. The overall counts are compatible with different distributions of success across those classes. The examples exhibit selected constructions, while the aggregate evaluation gives no results for a particular case or tense. Readers can follow how a documented path handles kitaptan or why kel-geli admits alternatives. The evaluation cannot establish the frequency of successful behavior for those kinds of forms beyond the examples.
Finally, bidirectionality tells us what operation the finite-state network is designed to support. The reported tests give empirical evidence for analysis of written inputs. They supply no separate set of lexical requests and expected written outputs for generation. The evidence for that direction rests on the construction of the network and the displayed correspondences, with systematic generation performance left to be established.
What came after
The documented account ends with the authors’ plans for developing and releasing the analyzer. It establishes no later study that extended its generalized rules, reused its lexicon or validated the results on another collection. The earlier work on Turkish morphology and the earlier Kazakh nominal and segmentation studies explain the tradition in which the analyzer was built. They precede the contribution described here.
The authors anticipated extending the exception rules for loanwords and proper names and resolving the encoding details as the system stabilized. They also intended to make the analyzer available on the web and collect feedback from people who used it. Such feedback was part of the proposed development process. It could expose entries that users expected to find and written forms whose alternations exceeded the coverage of the existing rules.
For that release, the authors proposed using Foma, which the paper identifies as an open-source alternative to Xerox XFST. The reported analyzer and its test counts belong to the Xerox implementation. A Foma version and the outcomes of public use remain prospective in the authors’ account.
Cite
Cite as Gulshat Kessikbayeva and Ilyas Cicekli. 2014. Rule Based Morphological Analyzer of Kazakh Language. Proceedings of the 2014 Joint Meeting of SIGMORPHON and SIGFSM.
@inproceedings{kessikbayeva2014rule,
title = {{Rule Based Morphological Analyzer of Kazakh Language}},
author = {Gulshat Kessikbayeva and Ilyas Cicekli},
booktitle = {Proceedings of the 2014 Joint Meeting of SIGMORPHON and SIGFSM},
year = {2014},
doi = {10.3115/v1/w14-2806},
url = {https://doi.org/10.3115/v1/w14-2806}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/kessikbayeva-2014-rule-based-morphological-analyzer-kazakh/