Elamur Research

Using Meta-Morph Rules to develop Morphological Analysers: A case study concerning Tamil

Paper · 2019 · Kengatharaiyer Sarveswaran, Gihan Dias and Miriam Butt

Summary

A Tamil verb ending can tell a reader when something happens and who or what is involved. Longer forms can also express distinctions such as whether an action is continuing. For a computational grammar to use this information, the written word has to be linked to an analysis that identifies its base and grammatical features. The authors build such a system for Tamil morphology. They also tackle a difficulty that came up while building it. Tamil has recurring patterns for putting words together, but entering every realisation of those patterns by hand makes the shared structure hard to see and the entries laborious to revise.

The authors introduce meta-morph rules to describe the patterns directly. A rule for a simple indicative verb says which groups of verbs it applies to and puts the root, tense marker and subject ending in order. Separate records give the actual markers and the labels that should appear in the analysis. A Python program expands these specifications into lexical entries for Foma, a finite-state compiler. Handwritten spelling rules account for changes when the pieces meet. The compiled system can retrieve an analysis from a spelling or produce a spelling from a lexical specification. The authors found that using shared rules made it easier to correct errors and add forms than in their initial workflow of entering the lexical strings individually.

The verb inventory comprises 3,300 lemmas, the forms under which verbs are listed, with 260 inflectional forms specified per lemma. The noun lexicon contains roughly 100,000 entries. A guesser helps with words missing from the lexicon. On test items from the AUKBC corpus of a Tamil historical novel, the reported proportions analysed were 98.7% for finite verbs, 95.4% for infinitives, 94.3% for relative participles, 93.1% for verbal participles and 76.5% for items tagged as nouns. The authors also demonstrate that a single spelling can receive several readings. The corpus counts describe how often the system produced analyses, and the evidence about ease of development comes from the authors’ own experience. They leave full treatment of derivation for future work and report a preliminary trial in Sinhala as a reason to investigate wider use of the rule format.

Deep dive: Using Meta-Morph Rules to develop Morphological Analysers: A case study concerning Tamil

Tamil meta-morph rules describe how words are built and let a finite-state system recover their grammatical features or generate their spellings. · about 35 minutes to read

The problem and its context

What a Tamil word can tell a grammar

The Tamil forms described in the paper often have a base followed by a series of smaller units, known as morphemes. Each can give the reader information about the word or its role in a sentence. The base identifies a lexical item, while added material can express such things as tense on a verb or case on a noun. Most of the combinations discussed involve material added after the base, although the authors note that Tamil also has cases of prefixation. This tendency to build words by attaching pieces makes the order of the pieces a natural place to begin a computational description.

A word form is a particular realisation of a word, such as the spelling that a reader encounters in a sentence. A lemma is the representative form used to list that word in a lexicon. An analyser may need to recover both the lemma and a description of the path from it to the word form. For a noun, the authors emphasise number and case. Number gives distinctions such as singular and plural. Case is a grammatical marking associated with how a noun participates in a construction. Recovering the noun’s base while overlooking its case ending would leave out information that the grammar could otherwise use.

Verb forms can carry a wider assortment of information. The paper discusses tense, aspect and mood, as well as markings associated with negation, questions and relations such as condition or cause. Tense concerns the time of a situation. Aspect concerns how the situation is presented, for example as continuing. Mood characterises the status of the situation, with the indicative providing the central example in the authors’ rule notation. These distinctions can appear alongside subject information. A grammar that has access to the internal structure of the verb can therefore start with more than the identity of the action or state.

The authors illustrate this with a Tamil form that conveys he has been coming. Its base means come. Further material contributes a continuous interpretation and functions corresponding to auxiliaries, while present tense and subject features occur toward the end. The ending ān̲ combines third person, singular number, masculine gender and rationality. Rationality here is a grammatical distinction described in terms of whether an entity is understood to be capable of thinking by itself. The paper calls the ending a portmanteau because one piece carries the package of features. Segmenting the form into separate endings for each of those features would give the wrong account of how the information is expressed.

The example helps explain the demands placed on the analyser. A single form contains several pieces whose contributions are worth preserving, while one of those pieces contributes several features together. A computational grammar needs access to both kinds of structure. At the same time, a human maintaining the analyser needs to see which parts of an analysis depend on a general rule of Tamil word formation and which depend on the particular class or construction involved.

Inflection, derivation and compounding make different demands on such a description. Inflection gives forms of a lexical item. Derivation builds a lexical item from existing material, and compounding combines lexical bases. A word can have an inflection that is easy to identify even when the base itself has a more elaborate structure. The authors concentrate on inflection, and that choice calls for a clear account of how an inflectional ending attaches to the base the system recognises. They give compounds and derived items a place in the linguistic discussion because these are part of the vocabulary that a Tamil analyser will encounter.

When the order is shared and the endings vary

The paper takes the simple indicative verb as an example of regular order. The base comes first. Tense material follows it, and an ending with subject features follows the tense material. Many verbs can share that description even when the tense marker has a different shape for different roots. A useful representation needs to capture both the common order and the conditions that govern the choice of marker. Writing all the finished forms gives the reader the result of those choices. Describing the order and the choices separately makes the generalisation visible.

The paper’s account of earlier work shows that Tamil verbs can be grouped on several grounds. A semantic classification might attend to what the verb means, and a syntactic classification to how it behaves in a sentence. A morphological classification groups verbs by the way they conjugate, which means how their forms change with distinctions such as tense. The authors take their starting point from Graul’s classification, which uses future-tense markings and gives the verbal lexicon 12 categories. They describe it as a basis that subsequent work adapted, including work on the Tamil lexicon.

The discussion also mentions a distinction between weak and strong behaviour in Tamil verbal paradigms. A paradigm is the collection of forms associated with a word or a class of words. Earlier analysis cited in the paper connects weak and strong behaviour to properties such as transitivity, volition and affectedness. These connections explain why such class information can be linguistically relevant beyond the spelling of a suffix. For the implementation, grouping verbs by their inflectional behaviour lets the authors assign a common description to roots with a shared pattern and make a separate entry for an irregular pattern when necessary.

The problem extends beyond determining which endings can follow which roots. Tamil descriptions use the term canti, also known as sandhi, for changes associated with the meeting of linguistic pieces. The paper discusses noun classifications based on such behaviour. An ending can be identifiable as a grammatical unit even when its presence changes the shape of the base to which it attaches. Pronouns are a clear case for the authors because the form used with a case suffix may differ from the nominative form. A description of the possible sequences of pieces, called morphotactics, has to work together with a description of how those combinations are realised.

The two representations of a word

The authors build on two-level morphology. The surface level contains the word as written. The lexical level contains a string that represents its analysis. A finite-state transducer is a means of relating these strings so that the relation can be used in either direction. Given a spelling, the analyser can look up lexical strings that correspond to it. Given a lexical string, the generator can look up a corresponding spelling. A surface form can correspond to several lexical strings when the written word allows more than one analysis.

The paper places the approach in a line of work that begins with early applications to Finnish, Russian and Sanskrit. It describes later use for Urdu, Nepali and Sindhi, among other languages. The Urdu analyser and generator used transliteration to extend its reach to Hindi and addressed processes including derivation and compounding. The Nepali work used a two-level description implemented in XFST, the Xerox finite-state system. The Sindhi work used a finite-state analyser as a component of a computational grammar. This last example is particularly close to the Tamil project’s motivation, since the form of the analysis has to serve a grammar as well as stand on its own.

The Tamil authors were building a grammar in the Xerox Linguistic Environment, or XLE, using Lexical Functional Grammar and the conventions of the ParGram effort. A morphology component in that setting has a defined interface. Its output has to give the grammar enough information to work with the word it receives. The component can also serve independent word analysis and generation, which is why the authors discuss uses in natural language processing beyond the grammar itself. These objectives make the lexical representation important. Its labels have to be meaningful to the people describing Tamil and usable by the components that read them.

The paper draws another connection to earlier grammar engineering. A metagrammar gives contributors a way to express grammatical choices above the level of detailed implementation. The work by Fokkens and Bender discussed in the paper assigns maintenance of the underlying grammar code to engineers while giving contributors a place to make language-specific changes. The authors also cite the value of regression testing, in which earlier examples are checked again after an extension. If a change is expressed in terms of a particular class and pattern, its intended reach is easier to inspect. This matters in a system whose lexical descriptions will continue to grow.

Why the authors built a new analyser

The paper’s review of earlier Tamil work describes systems with different purposes and different degrees of accessibility. Some generated word forms from rules. Others provided analysis as well as generation, including an approach based on machine learning. For some projects, the authors could obtain a binary application while finding little or no accompanying evaluation data. For others, the sources of the examples or the rules that produced the analyses were unavailable. Such a system can still be used as an application, but adapting it to a grammar requires access to choices that a word-level demonstration can leave hidden.

Encoding was another obstacle. The paper describes Atcharam as a Java analyser for text in TAB, the Tamil Bilingual encoding. The authors tried to convert its available word data to Unicode and report that the attempt failed. They also describe an XFST system for Tamil whose developers used transliteration to get around display problems. Their own choice of Foma reflects both licensing considerations and script support. Foma followed the finite-state conventions the authors needed and supported the Unicode processing and rendering required for Tamil and other South Asian scripts.

The authors give concrete observations from trying a separately available Java analyser for nouns and verbs. The irregular verb cettān, meaning he died, yielded no reading. The proper name carvēśvaran received a verbal analysis with both future and past markings. The paper also records unexpected behaviour when the input had yet to be normalised and a single reading being returned for words with multiple analyses. These observations explain why the authors cared about input encoding, the treatment of irregular items and the ability to preserve ambiguity. They are examples from trying the software, with a different purpose from the authors’ later test on a corpus.

The decision to build with Foma answered the need for a compatible finite-state implementation. A separate decision concerned how to write the Tamil specification that Foma would read. Entering lexical strings directly made the authors repeatedly translate linguistic descriptions into compiler notation. Corrections required working back through that notation. The meta-morph rules address this part of the development problem by putting an editable description of classes, markers and sequences upstream of the entries needed by the compiler.

The method, step by step

Start with the expected pieces of a word

Consider what the system needs to generate a simple indicative form. It needs a verb base from the lexicon and an indication of the class that base belongs to. It needs to know that tense goes next and that the subject ending comes last. It also needs the specific marker for the relevant tense in that class and a specification of what that marker contributes to the analysis. Once the pieces have been chosen, spelling rules can account for changes required at their boundaries. Analysis uses the resulting relation in the other direction, starting with a spelling and recovering the information associated with it.

The authors give the developers separate places to state these decisions. A lexicon supplies the bases. A meta-morph rule names the pattern and identifies the classes for which it can be used. Structured records supply the marker strings and labels referred to in the pattern. The authors’ Python program expands the rules into lexical entries suitable for Foma. The class-specific spelling rules are written alongside this process. With both the lexical specification and the spelling specification, Foma compiles the transducer used by the analyser and generator.

From Tamil word descriptions to a finite-state transducer

The steps in order.

From Tamil word descriptions to a finite-state transducerStep 1: Collect lexical bases and classify their inflection1. Collect lexical bases and classify their inflectionStep 2: Write formation patterns for the relevant classes2. Write formation patterns for the relevant classesStep 3: Record markers and analysis labels in JSON3. Record markers and analysis labels in JSONStep 4: Expand the patterns into Foma lexical entries4. Expand the patterns into Foma lexical entriesStep 5: Specify spelling changes at morpheme boundaries5. Specify spelling changes at morpheme boundariesStep 6: Compile the transducer with Foma6. Compile the transducer with FomaStep 7: Look up analyses or generate word forms7. Look up analyses or generate word forms

This is a construction procedure based on linguistic sources and rules. The authors make decisions about which forms to include, what class a verb belongs to and how an analysis should express each feature. The script carries those decisions through to the compiler’s input. The evaluation corpus is then used to examine how the resulting system handles words. The procedure described for preparing the system consists of compiling inventories, writing specifications and expanding them, with no fitted parameters or training split reported for the Tamil transducer.

Build a lexicon for both older and contemporary writing

The verb lexicon combines material from sources chosen for different reasons. Annamalai and colleagues identified 369 often used Modern Tamil verbs. Their selection drew on a web corpus of 7 million tokens and on expert linguistic advice. The list appears in the contemporary Cre-A dictionary. For the authors of the analyser, it provides a set of commonly encountered verbs described with contemporary use in view. Its underlying web material belongs to the history of the lexical source. The historical-novel corpus used for evaluation enters the project at a different stage.

The other source is Irākavaiyaṅkār’s survey of Tamil literature up to 1958. It identifies 3,124 lemmas and places them in the 12 classes associated with Graul’s account. The authors retain the entire list, in spite of noting that some of its verbs are absent from contemporary usage. That choice follows from the kinds of texts they want a Tamil analyser to process. A verb can be infrequent or obsolete in contemporary writing and still be relevant to a grammar intended for historical material. The paper reports 3,300 verb lemmas for the resulting inventory.

The implementation organises its verbal material into 34 classes. Graul’s 12 categories come first. Each of the 7 irregular verbs described by Annamalai and colleagues is given an individual class. The authors also implement 15 auxiliaries in separate classes. An auxiliary contributes information in combination with another verb. Giving the auxiliaries their own classes lets the specification express their patterns explicitly. The same principle works for irregular verbs, for which a class can be narrow enough to describe a single item.

The authors note that Tamil builds complex verbs on forms including infinitives, verbal participles and verbal nouns. An infinitive is a form used without the finite subject and tense marking of a simple indicative verb. A verbal participle can participate in a larger verbal construction, and a verbal noun lets verbal material function nominally. In preparing the auxiliary classes, the authors manually used infinitival and verbal participial forms of the lemmas. This is part of the linguistic work behind the entries. Automatically expanding a formation rule still presupposes a decision about the kind of base that a particular auxiliary construction uses.

Classifying roots solves part of the problem even before expansion. A root associated with a class can inherit the combinations available to that class. A shared pattern can refer to several such classes, and a marker record can serve some of them where appropriate. The way the files are organised therefore accommodates several kinds of reuse. Roots can share a paradigm, classes can share a formation pattern, and particular marker realisations can be reused across the classes for which they are specified.

Decide which inflections to cover

A list of roots and conjugation classes still leaves open how much of each paradigm to implement. The authors draw their choice of 260 inflectional forms from the descriptions by Annamalai and colleagues and Rajaram. The paper says the analyser and generator are prepared for these forms for each lemma. The former description identifies 254 forms per verb in its study of contemporary usage and points out that some verbs lack some of them. The latter describes 21 forms per verb for pedagogical purposes. These counts refer to different descriptions, with different reasons for selecting the forms they include.

The paper also cites a claim from earlier Tamil work that a lemma can take up to 8,000 forms. It notes that the literature does not list or attest all the forms referred to by that claim. This helps explain why a computational inventory needs an explicit boundary. The implementation needs a set of form patterns that can be specified, along with class restrictions where a combination is available only to some verbs. A much broader claim about possible forms leaves those implementation decisions to be made.

Adding a form in an established part of the system involves stating the classes that take it and giving its pattern. Existing markers can be reused where the linguistic description permits it. The authors describe this as work that can be done in the rule files without further programming. The decision about what to add remains substantive. A form might call for a general tense slot, a specific tense realisation, or a class-specific ending. Encoding those choices explicitly is what allows the script to make the corresponding lexical entries.

Classify noun bases and pronoun behaviour

The noun inventory was assembled from online databases, glossaries and corpora. The developers did an initial cleaning pass aimed at keeping lemmas. The resulting lexicon contains roughly 100,000 nouns. The distinction between a listed base and one of its already inflected forms matters when the system is going to attach case and number markers itself. A list gathered from several sources needs preparation before its entries can be used as bases for that process.

For most noun classes, the authors follow the system described by Rajendran. That description uses 26 classes based on changes where pieces join. Within it, 9 classes address pronoun behaviour. Case marking is especially revealing for pronouns because an attached case suffix may require a form different from the nominative. The classification therefore has to make room for alternation in the pronoun base as well as for the suffix occurring after it.

The authors report identifying 38 classes in their own pronoun paradigm, including classes for personal, possessive and interrogative pronouns. They also state that their system handles a subset of the possible pronoun categories. Their reason for distinguishing classes is instructive. They encountered pronouns whose spelling changes followed the same pattern but whose lexical analyses had to differ. A classification made solely for producing the right characters could put those items together. A classification meant to produce a grammatical analysis also needs to preserve the information that distinguishes them.

For compound nouns, the chosen unit is the whole compound. The analyser is concerned with inflection on that unit. This treatment gives the system a way to describe the grammatical material attached to a compound even when it treats its base as a single piece in the analysis. The guesser extends that treatment to inflected nouns outside the lexicon, including compounds. The paper describes it as a fallback for unfamiliar vocabulary and gives more detail on the intended scope than on its internal implementation.

Read the formation rules as ordered descriptions

The authors’ example begins with a classes declaration. This gives the domain of the rule file, so the pattern can be interpreted as a statement about specified verb classes. The declaration commonLabels supplies tags indicating that the forms are finite, simple and indicative. A finite verb here is one of the forms that carries the grammatical distinctions associated with a finite clause. The other labels identify the simple construction and its mood. Since the tags apply to the group, they can be stated together before the rules that use them.

The first formation rule in the example is the general pattern for the indicative:

v-ind = root + tense + png

v-ind names the indicative pattern, and = introduces its definition. root stands for the verb base. tense calls for a marker of the appropriate tense. png calls for the ending that expresses person, number and gender, with rationality also part of the feature bundle discussed for Tamil. Each + on the right places the following component after the preceding one. With this order, tense follows the base and the subject ending follows tense.

A reader can understand that sequence before learning which Tamil marker is associated with a particular verb. That independence is valuable because the formation pattern describes a family of forms. A generic reference to tense can cover the past, present and future groups in the marker data. Class information then narrows the choice of marker within the relevant group. The rule consequently states a regularity about the position occupied by tense without implying that every verb spells its tense marker the same way.

The next rule is for a construction that contains euphonic material. The paper uses that term for a marker serving a requirement of phonological form. This rule specifies past marking and an ending associated with the construction:

v-euph = root + past + euph + pngeuph

v-euph names the construction with euphonic material, and = defines its pattern. root again gives the verb base. past requests a marker from the past-tense group. euph denotes the euphonic piece. pngeuph specifies the subject ending allowed with that piece. Each + marks the ordering of successive components. The tense component is narrower here because the constructor calls for past, and the choice of subject ending is likewise tied to the use of the euphonic material.

The two patterns illustrate how the same notation can express a productive sequence and a more restricted one. The euphonic rule puts the past requirement where a developer can see it while reading the pattern. The data that describe the marker remain reusable by other rules. A person examining the specification can thus ask separately which combinations the authors license and which actual pieces realise those combinations for a given class.

In discussing the formal role of the rules, the authors relate them to continuation classes in LEXC. A continuation class describes the material that can follow a point in a finite-state lexicon. The meta-morph notation supplies a way to express the combinations that would otherwise be specified through those classes. The paper’s contribution is an authoring representation for those lexical possibilities. Foma compiles the expanded entries into a finite-state relation.

Resolve each slot to a marker and a label

The sample marker file uses JSON, a format that associates named keys with values and can nest groups inside other groups. The authors put past, pres and fut under tense. These names distinguish the past, present and future sets, and each set can contain the records for its particular marker variants. The classes field in a marker record says where that marker is available. The similarly named declaration in a rule file says where the formation pattern applies. They express conditions at different levels, and a usable combination has to respect both.

The past group in the paper contains entries called past1 and past2. Each names a particular marker record. The example assigns these records different markers and different sets of eligible verb classes. A broad instruction can refer to past, leaving the specific realisation to the data and the class information. An instruction requiring a named realisation can reach directly to a record such as past1. This choice of how specifically to refer to the data lets a rule be as broad as the shared pattern warrants.

The marker field provides the actual morphological material. The label field provides information to be written into the lexical analysis. For instance, the paper describes the past record as supplying both the information that the form is past and the realisation that expresses it. The two fields let the representation distinguish a grammatical category from the piece of Tamil text that carries that category. Different marker records can identify the same tense while contributing different realisations to their respective forms.

This organisation gives changes a predictable place to start. A mistake in a marker value can be corrected in its record, and regeneration propagates the new value where that record is used. A change in the eligibility of a whole construction belongs with the rule that names the eligible classes. The files also give a developer a way to examine the reach of a proposed edit. A marker shared among classes may occur in several patterns, so the class declarations and the references to that marker are part of understanding what will change after expansion.

The labels were chosen for the Tamil grammar project. The authors wanted the lexical output to carry person, number, gender and rationality together where they are expressed by one ending. Their reason is that carrying these features as a bundle allows the grammar to use fewer lexical rules for the combination. They discuss UniMorph as an effort to provide a common way of representing morphological features across languages and describe export to that format as planned work. The paper’s compiled example uses their own labels.

Compile the entries and account for spelling

The Python parser reads the formation rules and the structured marker descriptions and emits the lexical specification for Foma. In the paper’s sample output, the finite, simple and indicative labels occur along with information about strong behaviour, past tense and the subject ending. The output illustrates the detail the compiler receives following expansion. A short rule that names a pattern is able to produce entries that carry both the shared grammatical tags and the details selected for particular forms.

The example uses a vertical bar to indicate a boundary between morphemes. The authors relate their choice to boundary notation in earlier finite-state work. They also mention that Universal Dependencies uses a vertical bar between features. The percent sign in the lexical notation serves to escape special characters, so the compiler can distinguish characters that belong to an entry from characters it might otherwise interpret as part of the specification. The expansion script handles this level of detail when writing the entries.

The authors write orthographic rules as required for the different classes. These rules say how the relevant lexical combinations correspond to their written forms. Once a formation rule and its records provide a sequence of pieces, the spelling specification can describe the adjustments where those pieces meet. In a case-marked pronoun, for instance, the general question of what suffix can occur is distinct from the question of what shape the base takes in combination with it. The class organisation helps the developers identify where to state the corresponding spelling behaviour.

When introducing a class, the authors describe extending the orthographic specification with the entries it needs. An edit to a label or a marker value can instead take place in JSON, and a new combination for established classes can be described through a formation rule. Which source needs editing follows from the nature of the linguistic change. The script automates the expansion into entries while the developers supply the orthographic knowledge needed to turn class-appropriate combinations into surface words.

Compilation brings these specifications into the relation that the application uses. In analysis, a written form can yield one or several licensed lexical descriptions. In generation, a lexical description yields its associated written form. These are two uses of the decisions already encoded about the verb base, the availability and order of endings, and their written realisation. The authors describe the system as suitable for the grammar as well as for stand-alone and web use, where a person can submit a word and inspect its analysis.

Prepare Tamil Unicode input for lookup

The spelling accepted by a transducer depends on the encoded sequence of characters. The paper describes a practical difficulty with Tamil input. A consonant carrying a particular vowel can be entered with a composite vowel modifier or through a sequence of separate modifiers. The authors describe these inputs as requiring conversion to their expected representation. A reader may recognise the intended character from its appearance, while a finite-state lookup depends on the sequence the application actually passes to it.

The developers therefore wrote a Tamil Unicode normalisation script and used it to prepare input for the web interface. Normalisation in this context brings alternate encodings into the form expected by the system. This addresses a different point in the processing than the orthographic rules. Orthographic rules relate pieces of a morphological analysis to a written word. Normalisation prepares the characters with which that word has been entered. The corpus test used preprocessed inputs, so its reported outcomes apply to the system with this preparation in place.

The distinction also explains why there can be several sources of a failed lookup. A converter can bring a form into the expected encoding without resolving whether its spelling is correct or its construction is covered. A complete spelling specification for a class is useful once the input is expressed in symbols that the transducer can match. In the implemented system, the two kinds of rule address different parts of the route from a submitted word to its analysis.

Experiments and results

The historical-novel test

The authors report that they could find no benchmark dataset for Tamil morphological analysis. They chose the AUKBC 500K corpus, drawn from a Tamil historical novel, and used its category labels to gather material for the evaluation. This gives the test words from a continuous piece of writing. It also means that its contents depend on the vocabulary and grammatical constructions used in that novel, along with the quality of the corpus annotation, the labels assigned to items in the text.

The paper reports 19,250 unique verbs in the corpus. The authors selected finite verbs, infinitives, relative participles, verbal participles and conditional forms. Relative participles are the participial forms associated with modification of a noun. Verbal participles form a distinct group in the extraction and are among the forms used to build complex verbs in the paper’s linguistic account. The results table reports the finite, infinitive and both participle categories separately. It gives no corresponding line for the conditional forms mentioned in the selection procedure.

The finite-verb group includes compounds and derived verbs. The available corpus labels could identify this group as finite but did not distinguish those constructions within it. In particular, a derived verb could meet the criterion for inclusion even though derivation was covered only partially by the implementation. This makes the test count representative of the selected corpus category as the authors could extract it. It leaves open how the same system would fare on a slice containing only the finite forms of simple lexical verbs.

The noun group was obtained by extracting 26,000 tokens marked as nouns. The paper describes the verb pool in terms of unique forms and the noun extraction in terms of tokens, or occurrences. The latter selection contains compound nouns, borrowed Sanskrit words, personal names and nominal complexes. The authors give a noun with a conjunction attached as an example of a nominal complex. These types of item can require quite different analyses from one another, although the corpus label brings them together in the noun group.

The reported test is a run of the complete analyser on the selected and preprocessed items. The authors tabulate how many items were present and how many received an analysis, followed by a percentage. They use the language of accuracy in describing the outcome. The published counts directly support an interpretation as coverage, the share of the tested inputs the system analysed. The paper gives no independent scoring of each returned lemma or feature against a reference analysis.

Coverage by category

Tamil analyser coverage by word category on the AUKBC 500K corpus

The finite-verb group had the highest reported coverage and the noun group had the lowest.

Tamil analyser coverage by word category on the AUKBC 500K corpusFinite verbs (this paper): 98.7Finite verbs (this paper)98.7Infinitives: 95.4Infinitives95.4Relative participles: 94.3Relative participles94.3Verbal participles: 93.1Verbal participles93.1Nouns: 76.5Nouns76.5
The numbers
System or settinganalysed %
Finite verbs (this paper)98.7
Infinitives95.4
Relative participles94.3
Verbal participles93.1
Nouns76.5

For finite verbs, the authors report 10,269 corpus forms and analyses for 10,142. Infinitives account for 1,615 forms, with 1,540 analysed. The relative-participle category has 2,677 forms, of which 2,525 received analyses. For verbal participles the corresponding counts are 3,339 in the evaluation group and 3,110 analysed. The figure shows the paper’s reported percentages for these groups. Each of the separately reported verb groups was handled at a higher rate than the noun group.

The noun count is 19,990 analysed among the 26,000 extracted tokens. Its reported percentage is 76.5. The noun result concerns the whole set carrying the noun tag, including the names and nominal complexes discussed by the authors. The lexicon’s roughly 100,000 entries describe the scale of the resource used by the analyser. The test result describes its encounters with the actual noun tokens selected from the novel. Those quantities answer different questions about the system’s coverage.

Within the verb categories, the finite group gives the most direct corpus evidence for the part of the morphology used in the paper’s opening rule examples. Its high count of analysed forms applies to the mixed finite group the authors extracted. The results for infinitives and the participles show that the system’s coverage also extends beyond the simple finite construction. The reported differences give a description of the system on those inputs. The groups contain different grammatical forms, so the comparison leaves the contribution of individual rules to be determined.

The paper illustrates another output property with the Tamil form ceyyum. The web interface displays several analyses for this spelling. A system linked to a grammar can pass on such lexical possibilities for further consideration in context. At the level of the paper’s demonstration, the result shows that the interface can represent the fact of ambiguity. The corpus table supplies no separate count of ambiguous forms or assessment of which reading was intended on a particular occurrence.

Comparisons available from earlier systems

The paper reviews earlier performance reports but has no common evaluation run for competing systems. Parameshwari’s rule-based Apertium analyser and generator is described as reporting 84% accuracy. The authors could find neither the associated evaluation data nor the rules. Lushanthan and colleagues reported a success rate of 78% for their XFST system on their own collection of 3,500 nouns and 500 verbs. Their description covers 2,000 noun stems and 96 verb stems, and the authors again report that the evaluation data and rules were unavailable.

The sequence-labelling study by Anand Kumar and colleagues is discussed in terms of the scale of its data. According to the paper, it tested with 40,000 verbs and 30,000 nouns and used 130,000 verbs and 70,000 nouns from its own corpus in training. The available sample is described as having 270,000 tokens. These are counts for that study and its resources. They offer context for an earlier approach to Tamil analysis and generation while leaving its coverage on the AUKBC selections unknown.

The earlier percentages use the measures and datasets described by the respective projects. Since the Tamil meta-morph paper gives neither a shared test set nor common scoring for those projects, the numbers cannot rank them against the new system. Its practical observations on a Java analyser likewise concern individual inputs and interface behaviour. The comparable rows in the figure are the authors’ own test results, where the analyser, preprocessing and corpus source are shared and the word category varies.

What the ablations show

The paper reports no formal ablation, a test that selectively removes or changes part of a system, and instead examines its authoring workflow, the form of the expanded rules, coverage by word category and the types of inputs that caused difficulty.

What changed when the authors stopped entering strings by hand

The authors initially built their Tamil specification by writing out the lexical strings needed by Foma. They report that the effort of preparing and correcting the entries took time away from working out linguistic generalisations. In particular, a correction meant dealing again with details of the finite-state representation. Moving to the meta-morph rules shifted the point at which they wrote and checked much of this information. They describe the patterns as quick to write and the associated feature values in JSON as easier to correct.

The rule examples show how such a change in workflow can arise. A tense record connects a particular grammatical category, a marker string and the classes allowed to use it. An editor can look there when the marker or its label is wrong. A formation rule describes more than one resulting entry, and a correction to its order or its classes can be made in the rule itself. The compiler still receives full lexical entries, but the authors can produce them again after editing a compact description. The examples support this account by displaying a shared source and the kind of detailed output produced from it.

This comparison rests on the experience of the people who wrote the analyser. The paper gives no timed authoring exercise, no tally of corrections and no parallel task in which contributors built the same fragment using the two interfaces. A matched comparison of the compiled analysers on the same corpus is also absent. The contribution demonstrated by the change is a way to encode the developers’ linguistic decisions and regenerate the entries. The claim that the work went faster is their report of using that representation.

The paper’s discussion of regression testing explains a related motivation. If a class or marker is shared, an edit can have effects beyond the form that prompted it. The declaration of that sharing makes its intended reach visible in the source. The authors connect such visibility to the challenge of maintaining analyses while a grammar grows. Their comparison does not include a record of regression checks or quantify how many existing analyses were preserved as a result of changing the authoring method.

What the missed forms tell us

The evaluation discussion traces failures to several kinds of input. The authors point to derivational verbs, spelling mistakes, nominal complexes, personal names and tagging errors. A derivational verb may call for a construction beyond the inflectional description. A spelling mistake can alter the sequence matched by the transducer, even after encoding normalisation. A nominal complex can have material whose analysis goes beyond the inflection of the noun. A tagging error can put an item into an evaluation group whose label does not apply to it. The qualitative list helps identify which part of the workflow would have to account for each kind of item.

These observations also explain why the category breakdown is only a first diagnosis. A low or high analysed percentage combines all the kinds of entries found in that group. The table does not assign the missed items to specific causes, and it does not tabulate outcomes separately for compounds or names. Consequently, the figures cannot establish how much of the noun result follows from lexical coverage, how much from constructions outside the noun patterns and how much from the annotation or input spelling. The error discussion identifies plausible places to look within the recorded evaluation.

The authors also say that the guesser produced analyses for compound verbs and nouns. This gives an example of fallback behaviour when a whole form needs treatment beyond ordinary matching to listed bases. The paper gives no coverage run with guessing disabled and no separate assessment of the correctness of guessed readings. The role of normalisation is likewise explained through an encoding example, with no published comparison of coverage using the same inputs with and without that stage. These components contribute to the system that was tested, and the experiment reports the outcome of using that system as a whole.

Finally, ceyyum demonstrates that returning alternative analyses is a real option in the interface. It provides evidence of a capability that a raw count of analysed items would leave invisible. It gives no estimate of how many test cases benefit from this capability or how often a grammar can choose the intended reading. Together, the development account and the examples offer explanations of the design. The corpus breakdown supplies a measure of the breadth of its outputs under the recorded test conditions.

Limitations

Boundaries stated by the authors

Inflection is the principal area developed in the paper. The authors identify derivational verbs among the causes of failure and leave full incorporation of derivational morphology for future work. A relation between a base and its case, number or tense marking covers an important part of the word. A description of how the base was itself derived requires further analysis. For compound nouns, the implemented choice to use the whole compound as the base similarly limits the extent of structural information in the output. The inflectional description can still be useful for that compound as it functions in a sentence.

The authors state that pronoun support covers a subset of the possible categories. Their account of the pronoun paradigm explains why recognising a spelling alternation is only part of that work. The resulting lexical string has to identify the grammatical information appropriate to the pronoun. They also discuss the amount of verbal inflection described in prior work and give their own 260-form inventory as the implemented selection. The range of forms the system can address is accordingly tied to both the forms selected and the class restrictions given for them.

The lack of an available Tamil morphology benchmark is another limit the authors flag. They use the AUKBC corpus and report the problems encountered with its existing tags. Derived and compound verbs could not be picked out from the finite group by those tags. The noun selection included inputs such as names and nominal complexes, and the authors identify incorrect tags as a source of difficulty. These conditions affect both what is presented to the analyser and the precision with which a failure can be assigned to a grammatical cause.

The authors also treat cross-language use as an open question. They report preliminary experimentation with Sinhala, an Indo-Aryan language, and characterise it as encouraging. The paper provides neither a quantified Sinhala result nor a description comparable in detail to the Tamil implementation. The stated aim is to find out whether the interface can be generalised, with other South Asian languages as a focus. An export interface for UniMorph is similarly described as planned. The labels and lexical specifications documented in the paper serve the Tamil grammar for which they were designed.

Conclusions the evaluation leaves open

The principal measurement limit is that a produced analysis can be correct, partial or mistaken. A count of items analysed puts those possibilities together. For a system that can return several analyses, a reference evaluation could ask whether the intended lemma and features are present, whether the set includes spurious readings and whether it omits valid ones. The corpus counts give no such breakdown. The ceyyum demonstration shows that several analyses can be displayed, and its purpose in the paper is to illustrate that behaviour.

This matters especially for guessing. A fallback can increase the number of words to which the analyser attaches a reading. Its usefulness depends on whether the guessed base and features fit the word. The paper gives no comparison between guessed and lexicon-based outputs and no error rates for guesses. It also leaves untested how the fallback behaves on material that looks like a possible inflected word while actually being a name, a spelling error or an item from a different category. The counts are therefore most informative about whether the test inputs could be handled at all by the full system.

The corpus source limits the scope of the percentages. The paper describes the vocabulary used to build the lexicon as drawing on both contemporary and historical resources. The evaluation, however, uses the words of a historical novel. The lexical sources establish the intention to cover material from both settings. The evaluation gives one view of how that inventory and the rules perform together. There is no separate result for contemporary writing or for other kinds of historical text whose selection of names, inflections and compounds may differ.

The verb inventories and the experiment also have different units. A specified paradigm describes the lexical forms that developers have undertaken to make available. The corpus test starts with word forms that occurred in the novel and fell into selected groups. It cannot assess every lexical specification the generator accepts, including combinations that are uncommon in text. Conversely, the fact that a corpus form receives an analysis does not establish that generation has been checked for every possible form of its lemma. The paper reports generation as a capability of the compiled relation, with no separate validation set or score for generated forms.

The purpose of serving a computational grammar adds a further evaluation question. The lexical output carries labels chosen to fit that use. The report explains how bundling features and keeping multiple analyses available can support the grammar interface. It gives no sentence-level measurement of what happens when the grammar consumes these analyses. In particular, the word-level test provides no count of how often a choice among lexical readings is needed in context or how frequently the larger grammar can resolve it. The grammar motivates the design, and the corpus results concern the morphological component itself.

There is a similar boundary around the claim of accessibility. The authors present the rule layer as a way for linguists without extensive programming experience to contribute. Their examples expose the information an editor would need to inspect when changing a pattern or a marker. The paper records the authors’ own improvement in ease of editing, with no study of independent contributors working through such changes. Morphological description still requires decisions about class membership, licensed combinations and spelling changes. The source format makes those decisions visible, while the amount of help a new contributor might need remains an empirical question.

What came after

A later citing work, ThamizhiUDP, a dependency parser for Tamil, concerns dependency parsing. This task identifies grammatical relationships between words in a sentence. It is a different level of analysis from the lookup of an inflected word. The connection is relevant to the original paper’s reasons for building a grammar component. A lexical analysis can make features such as case or subject marking available to sentence analysis. The citation establishes that the finite-state morphology work was referenced by subsequent work on Tamil dependencies. It gives no detail about whether the parser consumed the analyser’s output, which features it may have used or how those features affected its results.

The other later citing work, ThamizhiMorph, a morphological parser for Tamil, addresses the original word-level task directly. Its subject is the area in which the meta-morph paper gives the fullest implementation account, namely constructing a system that can recover Tamil morphological information from a written form. The citation connects the two efforts at that level. It leaves the precise relationship between their implementations open, including whether the later parser reused the rule format, drew on the class descriptions or cited the earlier system in discussing prior Tamil analysers.

The original paper raised separate questions about fuller Tamil derivation and the applicability of the rule format beyond Tamil. The two later works identify continuing activity on Tamil sentence analysis and word analysis respectively. Their titles and citation relationships establish those connections. They supply no results about the completion of derivational coverage or the success of the Sinhala experiment.

Cite

Cite as Kengatharaiyer Sarveswaran, Gihan Dias and Miriam Butt. 2019. Using Meta-Morph Rules to develop Morphological Analysers: A case study concerning Tamil. Proceedings of the 14th International Conference on Finite-State Methods and Natural Language Processing.

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

@inproceedings{sarveswaran2019using,
  title = {{Using Meta-Morph Rules to develop Morphological Analysers: A case study concerning Tamil}},
  author = {Kengatharaiyer Sarveswaran, Gihan Dias and Miriam Butt},
  booktitle = {Proceedings of the 14th International Conference on Finite-State Methods and Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/w19-3111},
  url = {https://doi.org/10.18653/v1/w19-3111}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/sarveswaran-2019-meta-morph-rules-develop-morphological/