RAIL 2021Original text
Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages
This is the original text of the paper. Translations are linked above.
Proceedings of the 2nd Workshop on Resources for African Indigenous Languages (RAIL 2021), Journal of the Digital Humanities Association of Southern Africa.
Original text, shown under its licence (CC BY-SA 4.0). Reuse allowed with attribution; share adaptations alike. The translations on this site are by Ernst van Gassen (Arktos AI Lab).
Plain text for reuse, with its licence: English · LICENSE
Affiliations
Du Toit, Jakobus S.
Puttkammer, Martin J.
CTexT®, North-West University
E-mail addresses removed for privacy. They are in the original PDF.
Abstract
Morphological analysis involves investigating the syntactic class of a word but can also extend to the decomposition and syntactic analysis of its underlying morpheme composition. This is especially relevant to languages with an agglutinative writing system where multiple linguistic words are expressed as a single orthographic word. In this paper, we propose a memory-based approach to canonical segmentation using a windowing approach to recover the uncondensed morphemes that differ from the surface form of a word. Additionally, we propose treating the syntactic labelling of morphemes as a sequence labelling task, similar to part of speech tagging. This approach leverages the internal morpheme composition of a word as local context in much the same way that the surrounding sentence of word serves in the disambiguation of its part-of-speech. Both tasks are modelled separately but performed sequentially by cascading the decomposed morphemes of a word into the task of syntactic labelling. When evaluated on four resource-scarce, conjunctively written Nguni languages, the proposed approach achieves an overall accuracy ranging between 82% and 92% which outperforms previously developed rule-based analysers for the same languages.
Keywords
morphological analysis, canonical segmentation, syntactic morpheme tagging
1 Introduction
Access to quality linguistic resources is crucial to any research and development efforts in the field of Natural Language Processing (NLP). Collecting and assembling such resources is generally expensive and time-consuming, especially in the case of resource-scarce languages as is the case for ten of the eleven official languages of South Africa. To address this scarcity and promote research and development efforts in the area of human language technology, the South African government has established several legislative frameworks that promote the use and advancement of these languages and has funded various development projects over the last two decades. One such project was the National Centre for Human Language Technology's Text project (Eiselen and Puttkammer 2014), that collected circa 50,000 tokens, annotated with part of speech (POS), lemma and morphological analysis information for ten of the official South African languages. POS taggers, lemmatisers and rule-based morphological decomposers were also developed. A follow-up project expanded on this work by developing an additional 50,000 annotated tokens and improved technologies for four of these languages, viz. isiNdebele (NR), Siswati (SS), isiXhosa (XH) and isiZulu (ZU). In this paper, we focus on the morphological analysers that were developed in the follow-up project.
In the next section we provide a brief overview of the project, followed by a description of morphological decomposition versus analysis. We then (section 4) present our two-tiered approach to morphological analysis and results (section 6). Conclusions and future work are discussed in section 7.
2 Background
The aim of this project was to create corpora annotated with POS, lemma and morphological analysis information for four resource-scarce South African Nguni languages and to develop associated core technologies using these datasets. In this paper the focus is on the development of the morphological analysers. For a detailed description of the development process followed during the annotation of the data, see Gaustad & Puttkammer, 2021. A description of the other core technologies can be found in Du Toit & Puttkammer, 2021.
South Africa is a linguistically diverse country with eleven official languages, nine of which are Southern Bantu languages that follow either a conjunctive or disjunctive writing system. This study only focuses on the conjunctively written Nguni languages namely, isiNdebele, Siswati, isiXhosa, isiZulu. To illustrate the orthographic difference between these writing systems, Prinsloo & De Schryver (2002) use the example phrase "I love him/her". The agglutinative nature of isiZulu produces the phrase as a single word, ngiyamthanda, whereas it would be written disjunctively in Sepedi as four separate words, ke a mo rata. Although this study is restricted to the four South African Nguni languages, insights gained during development could also be to be applied to languages that share a similar morphology.
3 Morphology
Morphological features are an important aspect in developing language engineering technologies and applications such as machine translation and spelling error correction. Morphological features typically refer to either lexicalized (e.g. lemmas) and non-lexicalized features (e.g. gender, case, number). Most approaches that operate at word-level annotate tokens with lexicalized features using either combined feature sets or by modelling individual features as separate tagging tasks.
A combined feature set expresses multiple aspects as a single composition of non-lexical tags (e.g. Noun+A3sg+Pnon+Nom). This allows for underlying relationships between different features to be modelled explicitly but it does result in a large target space that further increases sparsity for morphologically rich languages. On the other hand, modelling these features separately yields a smaller target space but constrains the capacity of a model to learn any inter-feature dependencies which is crucial for our intended task. When operating at the morpheme-level, the functional role of a morpheme in the Nguni languages is both influenced and constrained by its internal context. Two approaches that utilise morphological features are so called morphological decomposition where morphemes are identified, and morphological analysis, where tags are assigned to each morpheme based on its grammatical function.
Morphological decomposition entails dividing a word into its constituent morphemes, the smallest meaning-bearing units of a word (Ruokolainen et al. 2013). However, these morphemes may not be orthographically equal to the corresponding segment of the word in written form when spelling transformations manifest during agglutination. We thus distinguish between two forms of segmentation, surface segmentation and canonical segmentation. The former yields a set of substrings that concatenate to the original word from, whereas the latter yields a sequence of canonical morphemes that are true to the underlying forms of the morphemes but potentially differ in their orthographic representation within the original wordform. Morphological decomposition is beneficial in helping to support further analyses for NLP tasks, especially in resource languages where data sparsity can undermine the quality of a task.
The set of decomposers for conjunctive languages previously developed as part of the NCHLT project were rule-based implementations that follow the work of Bosch et al. (2006). These implementations entailed recursively identifying all affixes in a token whereafter the remaining constituent would be verified against a lexicon of roots and stems. Only in instances where a valid stem or root and a valid combination of affixes were confirmed would the decomposition be deemed successful. These rule deductions were based on the collection of 50,000 annotated tokens developed as part of that project. These and the newly developed decomposers split tokens into their constituent morphemes, including each constituent affix, roots in the case of verbs, and stems in other parts of speech. For example, the isiZulu word ukusebenzisa ("use") is split into its constituent morphemes as u-ku-sebenz-is-a, where each affix boundary is marked in conjunction with the verb root.
Morphological analysis is of particular importance when applied to the Nguni languages since its words are naturally composed of aggregating morphemes that may undergo spelling alterations after their unions. These languages follow a conjunctive writing system which leads to an agglutinative orthography where morphemes are written unseparated. Yet, the meaning of a word is a function of its morphemes, and it is therefore necessary to isolate these individual morphemes for further syntactic analysis. Full morphological analysis entails both the segmentation of morphemes and the analysis of the interactions among the underlying morphemes of a word by determining their syntactic classes (Van den Bosch and Daelemans 1999). For example, the same isiZulu word used in the previous example, ukusebenzisa ("use"), is morphologically decomposed and analyzed as u[NPrePre]-ku[BPre]-sebenz[VRoot]-is [CausExt]-a[VerbTerm], where the syntactic class of each morpheme is assigned. For this example, the syntactic classes consist of a secondary noun prefix (NPrePre), a primary noun prefix (BPre), a verbal root (VRoot), a causative verbal suffix (CausExt), and a verb terminative (VerbTerm).
4 Morphological Analyser Design
This section describes the task of modelling morphological analysis and the level of granularity in analyses that existing solutions support. Our initial investigations into a suitable approach to morphological analysis included NLP pipelines that typically accommodate multiple tagging and morphological tasks, as in the case of UDPipe (Straka 2018) and MarMoT (Müller et al. 2013). MarMoT is a generic CRF framework capable of both POS tagging and morphological analysis, similarly UDPipe is a trainable pipeline for tokenization, POS tagging, dependency parsing, and morphological analysis that employs contextualized BERT embeddings. However, the capacity for morphological analysis in these solutions only accommodate non-lexicalised features that distinguish lexical and grammatical properties of words. Attempts to adopt this system to annotate Nguni language tokens with syntactic morpheme classes were expectedly unsuccessful, since its capacity for morphological analysis is limited to only the word-level and context is derived from the encompassing sentence rather than the local composition of morphemes.
Taking into account the required depth of morphological analysis and because canonical segmentation and class annotation at the morpheme level are not usually addressed as a single task, we approached morphological analysis as two separate problems. Both morpheme segmentation and morphological analysis are treated as a sequence tagging task, as was the approach followed by Sorokin & Kravtsova's (2018) for Russian, a comparably agglutinative language.
In their approach, morpheme segmentation was represented using the BMES labelling scheme where the classes account for beginning (B), middle (M), and ending (E) as well as single (S) single letter morphemes. Additionally, morphemes were tagged according to their type namely, root, prefix, suffix, ending, postfix, link, and hyphen. Thus, the task of their system was to predict segmentation and type labels for a sequence of letters. However, morpheme classifications constitute a small target space of only 7 labels thereby ensuring better prediction accuracy. Adopting the approach taken by Sorokin & Kravtsova (2018) to our task resulted in a low tagging accuracy given our larger target space and subsequent increased sparsity as our labelling scheme contains 71 tags for ZU, 70 for NR, 68 for SS and 62 tags for XH.
The before-mentioned NLP pipelines and other approaches to morphological analysis typically model morphological features at the word-level and context representation spans the entirety of the encompassing sentence. In contrast, morpheme segmentation is modelled at the character-level and thus the difference in granularity explains why most approaches approach each task separately unless the target space can be kept relatively small as in the case of Sorokin & Kravtsova (2018). In contrast, Van den Bosch & Daelemans (1999) was however successful at jointly modelling morphological boundaries, syntactic classes, and spelling transformations at the character-level as a single task which resulted in a large target space but was supported by a large dataset. This approach is compatible with our intended task but applying a similar method to our limited data sets would introduce sparsity and only diminish the quality of predictions. Nonetheless, inspiration was taken from Van den Bosch & Daelemans (1999) in reducing the task of segmentation to a sequence of classification tasks using a windowing method across the characters of a word. To accomplish tagging each morpheme with its syntactic morphological class we opted to treat the task similar to that of POS tagging and representing individual morphemes as words to realise local context from within the internal morpheme composition of a word. This approach is discussed in greater detail in the next section.
The proposed approach follows a two-tier design for sequential segmentation and analysis. Isolating the two tasks allowed for greater accuracy in segmentation, which suffered the most in prior attempts given the complexity of the languages. A pipeline approach is subject to cascading errors, but the significant accuracy of the morphological decomposer as the initial component in the pipeline does little to impact the overall accuracy.
4.1 Tier 1: Morphological decomposition
The first tier of the approach is a memory-based learning system that models morphological decomposition and spelling transformations as a series of classification tasks inspired by the work of Van den Bosch and Daelemans (1999). Memory-based learning is a class of supervised, inductive machine learning algorithms that learn based on examples of a task stored in memory. The Tilburg Memory-Based Learner (TiMBL) facilitates this function as an open-source software package that supports a selection of k-nearest neighbour classification and feature weighting algorithms (Daelemans et al. 2004). When new instances of a learnt task are presented to the TiMBL model, computational effort is invested in finding the best-matching instances from memory as determined by a similarity metric. Once the nearest neighbour (or instance) is identified in memory, the associated class is transferred to the new instance. Memory-based approaches have been successfully applied to other natural language processing tasks such as hyphenation and compounding analysis (Pilon et al. 2008).
Morphological decomposition can be treated as a context sensitive mapping problem, similar to most linguistic problems (e.g. source to target language translation, text to speech synthesis etc.). As part of this approach, TiMBL is tasked with learning this particular mapping through a windowing method from the surface form of a word to its canonical segmentation. Windowing in this manner transforms a word into multiple instances where each instance is focused on the boundary between letters, or the start and end boundary of the word. The method is illustrated in table 1, where a sliding context window of 6 letters traverses the length of the word with the point of focus positioned 3 letters left and right of the given boundary. The instance class expresses whether the given boundary maps to a point of segmentation in its decomposed form and if any letters within its right 3 letter window should undergo a spelling transformation in obtaining its canonical segmentation. A window size of 6 letters was found to be sufficient for the task since most conversion-type transformation rules range between 1 and 3 characters. In the end, the canonical segmentation is obtained by constructing the surface form of the word according to the predicted transformation rules.
Table 1: Segmentation rules for the word ngokuphathelene

Per illustration of the approach, Table 1 contains 16 instances that were generated from the isiZulu word ngokuphathelene ("in relation to") with their associated morphological transformation and segmentation classes that produce its canonical segmentation. The generated classes can express five different types of transformations, the first is represented in instance 1 with the "=" class. This indicates that no transformation or segmentation takes place at the current point of focus in the original surface form. These classes denote no difference between the surface form and the canonical segmentation for the right context at the point of focus. The second type of class is represented in instance 4 (o>a*u*) which is indicative of a conversion transformation. These classes are assigned to the letter immediately left of the point of focus but can include letters from the right context when a transformation affects multiple letters like in instance 15 (ne>0). Any asterisks contained within the class represent segmentation points in the canonical form. Instance 6 (*) depicts an asterisk as an independent class which denotes a segmentation point in the canonical form of the word at the current point of focus. The fourth type of classification depicts the insertion of characters at the given boundary as in instance 13 (0>an*il*) where the letters and segmentation points "an*il*" are to be inserted between the letters l and e. The fifth and last class denotes the removal of letters like in the case of instance 15 (ne>0) where the trailing letters "ne" are to be omitted in the canonical segmented wordform.
The classes were derived using diminishing longest string matching between the surface and canonical forms to isolate the differences at character level. This yielded an instance base ranging between 447,605 (SS) and 481,153 (NR) that consist of 98 (NR), 122 (SS), 96 (XH), and 124 (ZU) unique classes, but excluding exceptional classes with an occurrence frequency of less than 3. Across all four languages, the most frequent classes are (=) and (*), making up just over 50% of all class instances in each language.
In order to determine which learning algorithm best served the task of canonical segmentation, TiMBL was trained on the generated instances using each of the five k-nearest neighbour algorithms that it accommodates. A parameter search was used as part of this experiment to determine which hyperparameter adjustments could provide the greatest prediction accuracy. Since the two-tier approach relies on the predicted segmentation, it was important to obtain a reliable morphological decomposition to ensure as few errors as possible that may hamper the second tier's capacity to reliably annotate each morpheme with the related morphological analysis. In the end, IB2 was found to provide the greatest accuracy. IB2 operates similarly to other memory-based learning algorithms by keeping instances in memory that contribute to the potential classification of unseen instances during learning and uses a distance metric to determine class association. IB2 however employs an incremental editing strategy where its instance base is seeded with a certain (typically small) number of instances and only adds to instances in memory when it is misclassified by the k-NN classifier. The intention behind this approach is to construct an instance base that naturally establishes boundaries or key instances within memory with deviating or atypical instances to allow for greater generalisation. To further improve generalisation, each windowed instance was also associated with a seventh feature namely, the actual POS tag of the token. This improved the accuracy of predicted segmentation classes by around 1 to 2 percentage points.
4.2 Tier 2: Morphological Tagging
The second tier of the approach entails adopting a POS tagger to model syntactic morpheme classes of canonically segmented tokens. The chosen candidate for this approach is MarMoT, (Müller et al. 2013) given its trainable NLP pipeline and its successful application as a POS tagger on the considered Nguni languages in Du Toit & Puttkammer, 2021. Because morphological classes are context dependent, treating the task of syntactic morphological tagging of morphemes similar to that of POS tagging helps to take advantage of its capacity to learn predictions within the context of a sentence. This is achieved by treating each segmented morpheme as a word and sequentially ordering them to resemble a sentence, thereby realising the internal morpheme composition of a word as local context in their tagging predictions.
The segmented morphemes are provided to the tagger as words along with the actual POS tag of the word as an additional feature. This improved the quality of its syntactic morphological class predictions by increasing the tagging accuracy by around 1 to 3 percentage points.
5 Results
The annotated data developed as part of this project is divided according to an approximate 90% training and 10% test split. Without including any punctuation, the following token counts make up each dataset split.
Table 2: Token counts per language dataset

To evaluate the segmentation competency of TiMBL, the before-mentioned test sets were first transformed into windowed instances of 6 letters and segmentation rules were generated. Each instance was then associated with the transformation and segmentation rule as its intended classification. The instances also included the POS tag of the token as a seventh, additional feature alongside its 6 windowed letters. Finally, the four trained TiMBL models were evaluated by presenting the windowed instances for classification. By comparing the class predictions to the intended segmentation rules, a prediction accuracy ranging between 96% and 98% was achieved for each of the language-specific models. These results are listed in Table 3.
Table 3: Segmentation and transformation rule class prediction accuracy

Similarly, to evaluate the syntactic morphological tagging competency of MarMoT, the test set of tokens were segmented into their intended morphemes and associated morphological tags.
The test sets were then presented to MarMoT for tagging along with the POS tag of the token as additional feature. By comparing the predicted morphological tags to the intended tags, a prediction accuracy ranging between 91% and 96% was achieved for each of the language-specific models. These results are listed in Table 4.
Table 4: Prediction accuracy for syntactic morpheme tagging

Finally, the combined accuracy of both tiers was evaluated by cascading the resulting canonical segmentation into MarMoT for syntactic morphological tagging. This was performed by applying the predicted transformation and segmentation rules in the first tier to the tokens in the test set to produce the canonically segmented morphemes. These morphemes were then tagged by MarMoT to obtain their syntactic morphological class. The results of the first tier were evaluated by comparing the number of corresponding morphemes between the intended test set of canonical segmentation and the predicted rule-based transformation of the token. Similarly, the morphological tag and morpheme associations were evaluated by comparing the predicted morpheme and tag pairs to the intended test set pairings for each token. These results are listed in Table 5.
Table 5: Canonical segmentation and morphological tagging prediction accuracy

6 Conclusion
To ensure the continued development of human language technologies, it is important that resources be developed and distributed. We have described one such effort funded by the South African government for four resource-scarce Nguni languages. These resources are available as open-source modules from the SADiLaR resource catalogue and can aid researchers and developers in improving and furthering the reach of language technology. Furthermore, the approaches taken toward morphological analysis at the morpheme level of agglutinative languages may also provide evidence for its viability and applicability to similar languages. The lexical resources provided as part of this project will enable further improvements and alternative approaches in developing related language technologies.
Acknowledgements
This research was made possible with the support from the South African Centre for Digital Language Resources (SADiLaR). SADiLaR is a research infrastructure established by the Department of Science and Innovation (DSI) of the South African government as part of the South African Research Infrastructure Roadmap (SARIR).
Notes
1 https://ufal.mff.cuni.cz/udpipe/2
2 http://cistern.cis.lmu.de/marmot/
3 https://repo.sadilar.org/handle/20.500.12185/7
References
Bosch, S, Jones, J, Pretorius, L & Anderson, W 2006, 'Resource development for South African Bantu languages: computational morphological analysers and machine-readable lexicons' In Proceedings on the Workshop on Networking the Development of Language Resources for African Languages at the 5th International Conference on Language Resources and Evaluation, pp. 38-43.
Daelemans, W, Zavrel, J, Van Der Sloot, K & Van den Bosch, A 2004, TiMBL: Tilburg memory-based learner, version 6.4: reference guide, Tilburg, Tilburg University.
Du Toit, JS & Puttkammer, MJ 2021, Developing Core Technologies for Resource-scarce Nguni Languages. Manuscript submitted for publication.
Eiselen, R & Puttkammer, MJ 2014, 'Developing Text Resources for Ten South African Languages', In Proceedings of the 9th International Conference on Language Resources and Evaluation (LREC 2014), pp. 3698-3703.
Gaustad, T & Puttkammer, MJ 2021, Linguistically annotated dataset for four official South African languages with a conjunctive orthography: isiNdebele, isiXhosa, isiZulu, and Siswati. Manuscript submitted for publication.
Müller, T, Schmid, H & Schütze, H 2013, 'Efficient higher-order CRFs for morphological tagging.' In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 322-332.
Pilon, S, Puttkammer, MJ & Van Huyssteen, GB, 2008. 'Die ontwikkeling van 'n woordafbreker en kompositumanaliseerder vir Afrikaans', Journal of Literary Criticism, Comparative Linguistics and Literary Studies, vol. 29 no. 1, pp. 21-41.
Prinsloo, DJ & De Schryver, GM 2002, 'Towards an 11 x 11 array for the degree of conjunctivism/disjunctivism of the South African languages', Nordic Journal of African Studies, vol. 11 no. 2, pp. 249-265.
Ruokolainen, T, Kohonen, O, Virpioja, S & Kurimo, M 2013, 'Supervised morphological segmentation in a low-resource learning setting using conditional random fields' In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 29-37.
Sorokin, A & Kravtsova, A 2018, 'Deep convolutional networks for supervised morpheme segmentation of Russian language' In Conference on Artificial Intelligence and Natural Language, pp. 3-10
Straka, M 2018, 'UDPipe 2.0 prototype at CoNLL 2018 UD shared task' In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pp. 197-207.
Van den Bosch, A & Daelemans, A 1999, 'Memory-based morphological analysis' In Proceedings of the 37th annual meeting of the association for computational Linguistics, pp. 285-292.
Zalmout, N & Habash, N 2017, 'Don't throw those morphological analyzers away just yet: Neural morphological disambiguation for Arabic' In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 704-713.
Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages
Segmentation canonique et marquage morphémique syntaxique de quatre langages Nguni à court de ressources
Affiliations
Du Toit, Jakobus S.
Puttkammer, Martin J.
CTexT®, North-West University
Affiliations
Du Toit, Jakobus S.
Puttkammer, Martin J.
CTexT®, North-West University
Abstract
Résumé
Morphological analysis involves investigating the syntactic class of a word but can also extend to the decomposition and syntactic analysis of its underlying morpheme composition. This is especially relevant to languages with an agglutinative writing system where multiple linguistic words are expressed as a single orthographic word. In this paper, we propose a memory-based approach to canonical segmentation using a windowing approach to recover the uncondensed morphemes that differ from the surface form of a word. Additionally, we propose treating the syntactic labelling of morphemes as a sequence labelling task, similar to part of speech tagging. This approach leverages the internal morpheme composition of a word as local context in much the same way that the surrounding sentence of word serves in the disambiguation of its part-of-speech. Both tasks are modelled separately but performed sequentially by cascading the decomposed morphemes of a word into the task of syntactic labelling. When evaluated on four resource-scarce, conjunctively written Nguni languages, the proposed approach achieves an overall accuracy ranging between 82% and 92% which outperforms previously developed rule-based analysers for the same languages.
L'analyse morphologique implique l'étude de la classe syntaxique d'un mot mais peut également s'étendre à la décomposition et à l'analyse syntaxique de sa composition morphémique sous-jacente. Ceci est particulièrement pertinent pour les langues avec un système d'écriture agglutinative où plusieurs mots linguistiques sont exprimés comme un seul mot orthographique. Dans cet article, nous proposons une approche basée sur la mémoire pour la segmentation canonique en utilisant une approche par fenêtre pour récupérer les morphèmes non condensés qui diffèrent de la forme de surface d'un mot. De plus, nous proposons de traiter l'étiquetage syntaxique des morphèmes comme une tâche d'étiquetage de séquences, similaire à l'étiquetage morpho-syntaxique. Cette approche exploite la composition morphémique interne d'un mot comme contexte local, de la même manière que la phrase environnante d'un mot sert à la désambiguïsation de sa catégorie grammaticale. Les deux tâches sont modélisées séparément mais exécutées séquentiellement en cascadant les morphèmes décomposés d'un mot dans la tâche d'étiquetage syntaxique. Lorsqu'elle est évaluée sur quatre langues Nguni rares en ressources, écrites conjonctivement, l'approche proposée atteint une précision globale comprise entre 82% et 92%, ce qui surpasse les analyseurs basés sur des règles précédemment développés pour les mêmes langues.
Keywords
Mots-clés
morphological analysis, canonical segmentation, syntactic morpheme tagging
analyse morphologique, segmentation canonique, étiquetage syntaxique des morphèmes
1 Introduction
1 Introduction
Access to quality linguistic resources is crucial to any research and development efforts in the field of Natural Language Processing (NLP). Collecting and assembling such resources is generally expensive and time-consuming, especially in the case of resource-scarce languages as is the case for ten of the eleven official languages of South Africa. To address this scarcity and promote research and development efforts in the area of human language technology, the South African government has established several legislative frameworks that promote the use and advancement of these languages and has funded various development projects over the last two decades. One such project was the National Centre for Human Language Technology's Text project (Eiselen and Puttkammer 2014), that collected circa 50,000 tokens, annotated with part of speech (POS), lemma and morphological analysis information for ten of the official South African languages. POS taggers, lemmatisers and rule-based morphological decomposers were also developed. A follow-up project expanded on this work by developing an additional 50,000 annotated tokens and improved technologies for four of these languages, viz. isiNdebele (NR), Siswati (SS), isiXhosa (XH) and isiZulu (ZU). In this paper, we focus on the morphological analysers that were developed in the follow-up project.
L'accès à des ressources linguistiques de qualité est crucial pour tout effort de recherche et de développement dans le domaine du traitement automatique des langues (TAL). La collecte et l'assemblage de telles ressources sont généralement coûteuses et chronophages, surtout dans le cas des langues peu dotées en ressources, comme c'est le cas pour dix des onze langues officielles d'Afrique du Sud. Pour remédier à cette pénurie et promouvoir les efforts de recherche et de développement dans le domaine de la technologie du langage humain, le gouvernement sud-africain a établi plusieurs cadres législatifs qui favorisent l’utilisation et le progrès de ces langues et a financé divers projets de développement au cours des deux dernières décennies. L'un de ces projets était le projet Text du National Centre for Human Language Technology (Eiselen et Puttkammer 2014), qui a collecté environ 50 000 tokens, annotés avec des informations de catégorie grammaticale (POS), de lemme et d'analyse morphologique pour dix des langues officielles sud-africaines. Des étiqueteurs morphosyntaxiques, des lemmatiseurs et des décomposeurs morphologiques à base de règles ont également été développés. Un projet de suivi a élargi ce travail en développant 50 000 tokens supplémentaires annotés et en améliorant les technologies pour quatre de ces langues, à savoir l'isiNdebele (NR), le Siswati (SS), l'isiXhosa (XH) et l'isiZulu (ZU). Dans cet article, nous nous concentrons sur les analyseurs morphologiques qui ont été développés dans le projet de suivi.
In the next section we provide a brief overview of the project, followed by a description of morphological decomposition versus analysis. We then (section 4) present our two-tiered approach to morphological analysis and results (section 6). Conclusions and future work are discussed in section 7.
Dans la section suivante, nous fournissons un bref aperçu du projet, suivi d'une description de la décomposition morphologique versus l'analyse. Nous présentons ensuite (section 4) notre approche à deux niveaux pour l'analyse morphologique et les résultats (section 6). Les conclusions et les travaux futurs sont discutés dans la section 7.
2 Background
2 Contexte
The aim of this project was to create corpora annotated with POS, lemma and morphological analysis information for four resource-scarce South African Nguni languages and to develop associated core technologies using these datasets. In this paper the focus is on the development of the morphological analysers. For a detailed description of the development process followed during the annotation of the data, see Gaustad & Puttkammer, 2021. A description of the other core technologies can be found in Du Toit & Puttkammer, 2021.
L'objectif de ce projet était de créer des corpus annotés avec des informations de POS, de lemme et d'analyse morphologique pour quatre langues nguni sud-africaines à ressources limitées et de développer des technologies de base associées à l'aide de ces jeux de données. Dans cet article, l'accent est mis sur le développement des analyseurs morphologiques. Pour une description détaillée du processus de développement suivi lors de l'annotation des données, voir Gaustad & Puttkammer, 2021. Une description des autres technologies de base se trouve dans Du Toit & Puttkammer, 2021.
South Africa is a linguistically diverse country with eleven official languages, nine of which are Southern Bantu languages that follow either a conjunctive or disjunctive writing system. This study only focuses on the conjunctively written Nguni languages namely, isiNdebele, Siswati, isiXhosa, isiZulu. To illustrate the orthographic difference between these writing systems, Prinsloo & De Schryver (2002) use the example phrase "I love him/her". The agglutinative nature of isiZulu produces the phrase as a single word, ngiyamthanda, whereas it would be written disjunctively in Sepedi as four separate words, ke a mo rata. Although this study is restricted to the four South African Nguni languages, insights gained during development could also be to be applied to languages that share a similar morphology.
L'Afrique du Sud est un pays linguistiquement diversifié avec onze langues officielles, dont neuf sont des langues bantoues du sud qui suivent soit un système d'écriture conjonctif ou disjonctif. Cette étude se concentre uniquement sur les langues Nguni écrites conjonctivement, à savoir, isiNdebele, Siswati, isiXhosa, isiZulu. Pour illustrer la différence orthographique entre ces systèmes d'écriture, Prinsloo & De Schryver (2002) utilisent la phrase d'exemple "I love him/her". La nature agglutinante de l'isiZulu produit la phrase en un seul mot, ngiyamthanda, alors qu'elle serait écrite de manière disjonctive en sepedi sous forme de quatre mots distincts, ke a mo rata. Bien que cette étude soit limitée aux quatre langues Nguni sud-africaines, les enseignements tirés de son développement pourraient également être appliqués à des langues qui partagent une morphologie similaire.
3 Morphology
3 Morphologie
Morphological features are an important aspect in developing language engineering technologies and applications such as machine translation and spelling error correction. Morphological features typically refer to either lexicalized (e.g. lemmas) and non-lexicalized features (e.g. gender, case, number). Most approaches that operate at word-level annotate tokens with lexicalized features using either combined feature sets or by modelling individual features as separate tagging tasks.
Les caractéristiques morphologiques sont un aspect important dans le développement des technologies et applications de l'ingénierie linguistique telles que la traduction automatique et la correction des erreurs d'orthographe. Les caractéristiques morphologiques font généralement référence soit à des caractéristiques lexicalisées (par exemple, les lemmes) et non lexicalisées (par exemple, le genre, le cas, le nombre). La plupart des approches opérant au niveau du mot annotent les tokens avec des caractéristiques lexicalisées en utilisant soit des ensembles de caractéristiques combinés, soit en modélisant les caractéristiques individuelles comme des tâches d'étiquetage distinctes.
A combined feature set expresses multiple aspects as a single composition of non-lexical tags (e.g. Noun+A3sg+Pnon+Nom). This allows for underlying relationships between different features to be modelled explicitly but it does result in a large target space that further increases sparsity for morphologically rich languages. On the other hand, modelling these features separately yields a smaller target space but constrains the capacity of a model to learn any inter-feature dependencies which is crucial for our intended task. When operating at the morpheme-level, the functional role of a morpheme in the Nguni languages is both influenced and constrained by its internal context. Two approaches that utilise morphological features are so called morphological decomposition where morphemes are identified, and morphological analysis, where tags are assigned to each morpheme based on its grammatical function.
Un ensemble de caractéristiques combiné exprime plusieurs aspects sous la forme d'une seule composition de balises non lexicales (par exemple Noun+A3sg+Pnon+Nom). Cela permet de modéliser explicitement les relations sous-jacentes entre les différentes caractéristiques, mais cela se traduit par un grand espace cible qui augmente encore la parcimonie pour les langages morphologiquement riches. D'autre part, la modélisation de ces caractéristiques séparément donne un espace cible plus petit, mais limite la capacité d'un modèle à apprendre les dépendances inter-caractéristiques, ce qui est crucial pour notre tâche prévue. Lorsqu'il opère au niveau des morphèmes, le rôle fonctionnel d'un morphème dans les langues nguni est à la fois influencé et contraint par son contexte interne. Deux approches qui utilisent des caractéristiques morphologiques sont la décomposition morphologique, où les morphèmes sont identifiés, et l'analyse morphologique, où des étiquettes sont attribuées à chaque morphème en fonction de sa fonction grammaticale.
Morphological decomposition entails dividing a word into its constituent morphemes, the smallest meaning-bearing units of a word (Ruokolainen et al. 2013). However, these morphemes may not be orthographically equal to the corresponding segment of the word in written form when spelling transformations manifest during agglutination. We thus distinguish between two forms of segmentation, surface segmentation and canonical segmentation. The former yields a set of substrings that concatenate to the original word from, whereas the latter yields a sequence of canonical morphemes that are true to the underlying forms of the morphemes but potentially differ in their orthographic representation within the original wordform. Morphological decomposition is beneficial in helping to support further analyses for NLP tasks, especially in resource languages where data sparsity can undermine the quality of a task.
La décomposition morphologique consiste à diviser un mot en ses morphèmes constitutifs, les unités porteuses de sens les plus petites d'un mot (Ruokolainen et al. 2013). Cependant, ces morphèmes peuvent ne pas être orthographiquement égaux au segment correspondant du mot sous forme écrite lorsque des transformations orthographiques se manifestent lors de l'agglutination. Nous distinguons ainsi deux formes de segmentation, la segmentation de surface et la segmentation canonique. La première donne un ensemble de sous-chaînes qui se concatènent pour former le mot original, tandis que la seconde donne une séquence de morphèmes canoniques qui sont fidèles aux formes sous-jacentes des morphèmes mais peuvent potentiellement différer dans leur représentation orthographique au sein de la forme de mot originale. La décomposition morphologique est bénéfique pour aider à soutenir des analyses ultérieures pour des tâches de TAL, surtout dans les langues ressources où la rareté des données peut saper la qualité d'une tâche.
The set of decomposers for conjunctive languages previously developed as part of the NCHLT project were rule-based implementations that follow the work of Bosch et al. (2006). These implementations entailed recursively identifying all affixes in a token whereafter the remaining constituent would be verified against a lexicon of roots and stems. Only in instances where a valid stem or root and a valid combination of affixes were confirmed would the decomposition be deemed successful. These rule deductions were based on the collection of 50,000 annotated tokens developed as part of that project. These and the newly developed decomposers split tokens into their constituent morphemes, including each constituent affix, roots in the case of verbs, and stems in other parts of speech. For example, the isiZulu word ukusebenzisa ("use") is split into its constituent morphemes as u-ku-sebenz-is-a, where each affix boundary is marked in conjunction with the verb root.
Les ensembles de décomposeurs pour les langues conjonctives précédemment développés dans le cadre du projet NCHLT étaient des implémentations basées sur des règles qui suivent le travail de Bosch et al. (2006). Ces implémentations consistaient à identifier récursivement tous les affixes dans un token, après quoi le constituant restant était vérifié par rapport à un lexique de racines et de radicaux. Ce n'est que dans les cas où un radical ou une racine valide et une combinaison valide d'affixes étaient confirmés que la décomposition était jugée réussie. Ces déductions de règles étaient basées sur la collection de 50 000 tokens annotés développée dans le cadre de ce projet. Ceux-ci et les décomposeurs nouvellement développés divisent les tokens en leurs morphèmes constitutifs, y compris chaque affixe constitutif, les racines dans le cas des verbes, et les radicaux dans les autres parties du discours. Par exemple, le mot isiZulu ukusebenzisa (« utiliser ») est divisé en ses morphèmes constituants comme u-ku-sebenz-is-a, où chaque limite d'affixe est marquée en conjonction avec la racine du verbe.
Morphological analysis is of particular importance when applied to the Nguni languages since its words are naturally composed of aggregating morphemes that may undergo spelling alterations after their unions. These languages follow a conjunctive writing system which leads to an agglutinative orthography where morphemes are written unseparated. Yet, the meaning of a word is a function of its morphemes, and it is therefore necessary to isolate these individual morphemes for further syntactic analysis. Full morphological analysis entails both the segmentation of morphemes and the analysis of the interactions among the underlying morphemes of a word by determining their syntactic classes (Van den Bosch and Daelemans 1999). For example, the same isiZulu word used in the previous example, ukusebenzisa ("use"), is morphologically decomposed and analyzed as u[NPrePre]-ku[BPre]-sebenz[VRoot]-is [CausExt]-a[VerbTerm], where the syntactic class of each morpheme is assigned. For this example, the syntactic classes consist of a secondary noun prefix (NPrePre), a primary noun prefix (BPre), a verbal root (VRoot), a causative verbal suffix (CausExt), and a verb terminative (VerbTerm).
L'analyse morphologique est d'une importance particulière lorsqu'elle est appliquée aux langues Nguni puisque ses mots sont naturellement composés de morphèmes d'agrégation qui peuvent subir des altérations orthographiques après leurs unions. Ces langues suivent un système d'écriture conjonctive qui conduit à une orthographe agglutinante où les morphèmes sont écrits non séparés. Pourtant, le sens d'un mot est une fonction de ses morphèmes, et il est donc nécessaire d'isoler ces morphèmes individuels pour une analyse syntaxique plus approfondie. L'analyse morphologique complète implique à la fois la segmentation des morphèmes et l'analyse des interactions entre les morphèmes sous-jacents d'un mot en déterminant leurs classes syntaxiques (Van den Bosch et Daelemans 1999). Par exemple, le même mot isiZulu utilisé dans l'exemple précédent, ukusebenzisa (« utiliser »), est morphologiquement décomposé et analysé comme u[NPrePre]-ku[BPre]-sebenz[VRoot]-is [CausExt]-a[VerbTerm], où la classe syntaxique de chaque morphème est attribuée. Pour cet exemple, les classes syntaxiques consistent en un préfixe nominal secondaire (NPrePre), un préfixe nominal primaire (BPre), une racine verbale (VRoot), un suffixe verbal causatif (CausExt), et un terminatif verbal (VerbTerm).
4 Morphological Analyser Design
4 Conception d'un analyseur morphologique
This section describes the task of modelling morphological analysis and the level of granularity in analyses that existing solutions support. Our initial investigations into a suitable approach to morphological analysis included NLP pipelines that typically accommodate multiple tagging and morphological tasks, as in the case of UDPipe (Straka 2018) and MarMoT (Müller et al. 2013). MarMoT is a generic CRF framework capable of both POS tagging and morphological analysis, similarly UDPipe is a trainable pipeline for tokenization, POS tagging, dependency parsing, and morphological analysis that employs contextualized BERT embeddings. However, the capacity for morphological analysis in these solutions only accommodate non-lexicalised features that distinguish lexical and grammatical properties of words. Attempts to adopt this system to annotate Nguni language tokens with syntactic morpheme classes were expectedly unsuccessful, since its capacity for morphological analysis is limited to only the word-level and context is derived from the encompassing sentence rather than the local composition of morphemes.
Cette section décrit la tâche de modélisation de l'analyse morphologique et le niveau de granularité des analyses que les solutions existantes supportent. Nos premières investigations sur une approche appropriée pour l'analyse morphologique ont inclus des pipelines de traitement automatique du langage naturel qui accommodent typiquement plusieurs tâches d'étiquetage et d'analyse morphologique, comme c'est le cas pour UDPipe (Straka 2018) et MarMoT (Müller et al. 2013). MarMoT est un cadre CRF générique capable à la fois d'étiquetage POS et d'analyse morphologique, de même UDPipe est un pipeline entraînable pour la tokenisation, l'étiquetage POS, l'analyse en dépendances et l'analyse morphologique qui emploie des plongements BERT contextualisés. Cependant, la capacité d'analyse morphologique de ces solutions n'accommode que des caractéristiques non lexicalisées qui distinguent les propriétés lexicales et grammaticales des mots. Les tentatives d'adopter ce système pour annoter les jetons linguistiques Nguni avec des classes de morphèmes syntaxiques ont été infructueuses, car sa capacité d'analyse morphologique est limitée au niveau du mot et le contexte est dérivé de la phrase englobante plutôt que de la composition locale des morphèmes.
Taking into account the required depth of morphological analysis and because canonical segmentation and class annotation at the morpheme level are not usually addressed as a single task, we approached morphological analysis as two separate problems. Both morpheme segmentation and morphological analysis are treated as a sequence tagging task, as was the approach followed by Sorokin & Kravtsova's (2018) for Russian, a comparably agglutinative language.
En tenant compte de la profondeur requise de l'analyse morphologique et parce que la segmentation canonique et l'annotation de classe au niveau du morphème ne sont généralement pas abordées comme une seule tâche, nous avons abordé l'analyse morphologique comme deux problèmes distincts. La segmentation des morphèmes et l'analyse morphologique sont traitées comme une tâche de marquage de séquence, tout comme l'a été l'approche suivie par Sorokin & Kravtsova (2018) pour le russe, une langue agglutinative comparable.
In their approach, morpheme segmentation was represented using the BMES labelling scheme where the classes account for beginning (B), middle (M), and ending (E) as well as single (S) single letter morphemes. Additionally, morphemes were tagged according to their type namely, root, prefix, suffix, ending, postfix, link, and hyphen. Thus, the task of their system was to predict segmentation and type labels for a sequence of letters. However, morpheme classifications constitute a small target space of only 7 labels thereby ensuring better prediction accuracy. Adopting the approach taken by Sorokin & Kravtsova (2018) to our task resulted in a low tagging accuracy given our larger target space and subsequent increased sparsity as our labelling scheme contains 71 tags for ZU, 70 for NR, 68 for SS and 62 tags for XH.
Dans leur approche, la segmentation des morphèmes a été représentée en utilisant le schéma d'étiquetage BMES où les classes représentent le début (B), le milieu (M) et la fin (E) ainsi que les morphèmes simples (S). De plus, les morphèmes ont été étiquetés selon leur type, à savoir, racine, préfixe, suffixe, terminaison, postfixe, lien et trait d'union. Ainsi, la tâche de leur système était de prédire la segmentation et les étiquettes de type pour une séquence de lettres. Cependant, les classifications des morphèmes constituent un espace cible réduit de seulement 7 étiquettes, assurant ainsi une meilleure précision de prédiction. L'adoption de l'approche prise par Sorokin & Kravtsova (2018) pour notre tâche a abouti à une faible précision d'étiquetage étant donné notre espace cible plus grand et la rareté accrue qui en découle, notre schéma d'étiquetage contenant 71 étiquettes pour ZU, 70 pour NR, 68 pour SS et 62 étiquettes pour XH.
The before-mentioned NLP pipelines and other approaches to morphological analysis typically model morphological features at the word-level and context representation spans the entirety of the encompassing sentence. In contrast, morpheme segmentation is modelled at the character-level and thus the difference in granularity explains why most approaches approach each task separately unless the target space can be kept relatively small as in the case of Sorokin & Kravtsova (2018). In contrast, Van den Bosch & Daelemans (1999) was however successful at jointly modelling morphological boundaries, syntactic classes, and spelling transformations at the character-level as a single task which resulted in a large target space but was supported by a large dataset. This approach is compatible with our intended task but applying a similar method to our limited data sets would introduce sparsity and only diminish the quality of predictions. Nonetheless, inspiration was taken from Van den Bosch & Daelemans (1999) in reducing the task of segmentation to a sequence of classification tasks using a windowing method across the characters of a word. To accomplish tagging each morpheme with its syntactic morphological class we opted to treat the task similar to that of POS tagging and representing individual morphemes as words to realise local context from within the internal morpheme composition of a word. This approach is discussed in greater detail in the next section.
Les pipelines de TAL mentionnés précédemment et les autres approches d'analyse morphologique modélisent généralement les caractéristiques morphologiques au niveau du mot et la représentation contextuelle s'étend sur l'ensemble de la phrase englobante. En revanche, la segmentation des morphèmes est modélisée au niveau du caractère et donc la différence de granularité explique pourquoi la plupart des approches abordent chaque tâche séparément, à moins que l’espace cible ne puisse être maintenu relativement petit comme dans le cas de Sorokin & Kravtsova (2018). En revanche, Van den Bosch & Daelemans (1999) a réussi à modéliser conjointement les frontières morphologiques, les classes syntaxiques et les transformations orthographiques au niveau des caractères comme une seule tâche, ce qui a abouti à un grand espace cible mais a été soutenu par un grand ensemble de données. Cette approche est compatible avec notre tâche prévue, mais l'application d'une méthode similaire à nos ensembles de données limités introduirait la parcimonie et ne ferait que diminuer la qualité des prédictions. Néanmoins, l'inspiration a été prise de Van den Bosch & Daelemans (1999) pour réduire la tâche de segmentation à une séquence de tâches de classification en utilisant une méthode de fenêtrage à travers les caractères d'un mot. Pour parvenir à étiqueter chaque morphème avec sa classe morphologique syntaxique, nous avons choisi de traiter la tâche de manière similaire à celle de l'étiquetage POS et de représenter les morphèmes individuels comme des mots afin de réaliser un contexte local à partir de la composition morphémique interne d'un mot. Cette approche est discutée plus en détail dans la section suivante.
The proposed approach follows a two-tier design for sequential segmentation and analysis. Isolating the two tasks allowed for greater accuracy in segmentation, which suffered the most in prior attempts given the complexity of the languages. A pipeline approach is subject to cascading errors, but the significant accuracy of the morphological decomposer as the initial component in the pipeline does little to impact the overall accuracy.
L'approche proposée suit une conception à deux niveaux pour la segmentation et l'analyse séquentielles. Isoler les deux tâches a permis une plus grande précision dans la segmentation, qui souffrait le plus dans les tentatives précédentes en raison de la complexité des langues. Une approche en pipeline est sujette aux erreurs en cascade, mais la précision significative du décomposeur morphologique en tant que composant initial dans le pipeline a peu d'impact sur la précision globale.
4.1 Tier 1: Morphological decomposition
4.1 Niveau 1 : Décomposition morphologique
The first tier of the approach is a memory-based learning system that models morphological decomposition and spelling transformations as a series of classification tasks inspired by the work of Van den Bosch and Daelemans (1999). Memory-based learning is a class of supervised, inductive machine learning algorithms that learn based on examples of a task stored in memory. The Tilburg Memory-Based Learner (TiMBL) facilitates this function as an open-source software package that supports a selection of k-nearest neighbour classification and feature weighting algorithms (Daelemans et al. 2004). When new instances of a learnt task are presented to the TiMBL model, computational effort is invested in finding the best-matching instances from memory as determined by a similarity metric. Once the nearest neighbour (or instance) is identified in memory, the associated class is transferred to the new instance. Memory-based approaches have been successfully applied to other natural language processing tasks such as hyphenation and compounding analysis (Pilon et al. 2008).
Le premier niveau de l'approche est un système d'apprentissage basé sur la mémoire qui modélise la décomposition morphologique et les transformations orthographiques sous la forme d'une série de tâches de classification inspirées des travaux de Van den Bosch et Daelemans (1999). L'apprentissage basé sur la mémoire est une classe d'algorithmes d'apprentissage automatique supervisés et inductifs qui apprennent à partir d'exemples d'une tâche stockée en mémoire. Le Tilburg Memory-Based Learner (TiMBL) facilite cette fonction en tant que package logiciel open-source qui prend en charge une sélection d'algorithmes de classification des k plus proches voisins et de pondération des caractéristiques (Daelemans et al. 2004). Lorsque de nouvelles instances d'une tâche apprise sont présentées au modèle TiMBL, un effort de calcul est investi pour trouver les instances les mieux adaptées en mémoire, comme déterminé par une mesure de similarité. Une fois que le voisin (ou l'instance) le plus proche est identifié en mémoire, la classe associée est transférée vers la nouvelle instance. Des approches basées sur la mémoire ont été appliquées avec succès à d’autres tâches de traitement du langage naturel telles que l’analyse de césure et de composition (Pilon et al. 2008).
Morphological decomposition can be treated as a context sensitive mapping problem, similar to most linguistic problems (e.g. source to target language translation, text to speech synthesis etc.). As part of this approach, TiMBL is tasked with learning this particular mapping through a windowing method from the surface form of a word to its canonical segmentation. Windowing in this manner transforms a word into multiple instances where each instance is focused on the boundary between letters, or the start and end boundary of the word. The method is illustrated in table 1, where a sliding context window of 6 letters traverses the length of the word with the point of focus positioned 3 letters left and right of the given boundary. The instance class expresses whether the given boundary maps to a point of segmentation in its decomposed form and if any letters within its right 3 letter window should undergo a spelling transformation in obtaining its canonical segmentation. A window size of 6 letters was found to be sufficient for the task since most conversion-type transformation rules range between 1 and 3 characters. In the end, the canonical segmentation is obtained by constructing the surface form of the word according to the predicted transformation rules.
La décomposition morphologique peut être traitée comme un problème de mise en correspondance sensible au contexte, similaire à la plupart des problèmes linguistiques (par exemple, la traduction d'une langue source vers une langue cible, la synthèse vocale de texte, etc.). Dans le cadre de cette approche, TiMBL est chargé d'apprendre ce mappage particulier à travers une méthode de fenêtrage, depuis la forme de surface d'un mot jusqu'à sa segmentation canonique. Le fenêtrage de cette manière transforme un mot en plusieurs instances où chaque instance est centrée sur la frontière entre les lettres, ou sur la frontière de début et de fin du mot. La méthode est illustrée dans le tableau 1, où une fenêtre de contexte coulissante de 6 lettres traverse la longueur du mot avec le point de focalisation positionné 3 lettres à gauche et à droite de la frontière donnée. La classe instance exprime si la limite donnée correspond à un point de segmentation dans sa forme décomposée et si des lettres dans sa fenêtre de 3 lettres droites doivent subir une transformation orthographique pour obtenir sa segmentation canonique. Une taille de fenêtre de 6 lettres a été jugée suffisante pour la tâche puisque la plupart des règles de transformation de type conversion varient entre 1 et 3 caractères. En fin de compte, la segmentation canonique est obtenue en construisant la forme de surface du mot selon les règles de transformation prédites.
Table 1: Segmentation rules for the word ngokuphathelene
Tableau 1 : Règles de segmentation pour le mot ngokuphathelene

Per illustration of the approach, Table 1 contains 16 instances that were generated from the isiZulu word ngokuphathelene ("in relation to") with their associated morphological transformation and segmentation classes that produce its canonical segmentation. The generated classes can express five different types of transformations, the first is represented in instance 1 with the "=" class. This indicates that no transformation or segmentation takes place at the current point of focus in the original surface form. These classes denote no difference between the surface form and the canonical segmentation for the right context at the point of focus. The second type of class is represented in instance 4 (o>a*u*) which is indicative of a conversion transformation. These classes are assigned to the letter immediately left of the point of focus but can include letters from the right context when a transformation affects multiple letters like in instance 15 (ne>0). Any asterisks contained within the class represent segmentation points in the canonical form. Instance 6 (*) depicts an asterisk as an independent class which denotes a segmentation point in the canonical form of the word at the current point of focus. The fourth type of classification depicts the insertion of characters at the given boundary as in instance 13 (0>an*il*) where the letters and segmentation points "an*il*" are to be inserted between the letters l and e. The fifth and last class denotes the removal of letters like in the case of instance 15 (ne>0) where the trailing letters "ne" are to be omitted in the canonical segmented wordform.
Par illustration de l'approche, le tableau 1 contient 16 instances qui ont été générées à partir du mot isiZulu ngokuphathelene ("en relation avec") avec leur transformation morphologique associée et les classes de segmentation qui produisent sa segmentation canonique. Les classes générées peuvent exprimer cinq types différents de transformations, la première étant représentée dans l'instance 1 avec la classe "=". Cela indique qu'aucune transformation ou segmentation n'a lieu au point de focalisation actuel dans la forme de surface d'origine. Ces classes ne dénotent aucune différence entre la forme de surface et la segmentation canonique pour le contexte droit au point de focalisation. Le second type de classe est représenté dans l'instance 4 (o>a*u*) qui est indicative d'une transformation de conversion. Ces classes sont attribuées à la lettre immédiatement à gauche du point de focalisation mais peuvent inclure des lettres du contexte droit lorsqu'une transformation affecte plusieurs lettres comme dans l'instance 15 (ne>0). Tous les astérisques contenus dans la classe représentent des points de segmentation dans la forme canonique. L'instance 6 (*) représente un astérisque comme classe indépendante qui dénote un point de segmentation dans la forme canonique du mot au point de focalisation actuel. Le quatrième type de classification montre l'insertion de caractères à la frontière donnée comme dans l'instance 13 (0>an*il*) où les lettres et les points de segmentation "an*il*" doivent être insérés entre les lettres l et e. La cinquième et dernière classe désigne la suppression de lettres comme dans le cas de l'instance 15 (ne>0) où les lettres finales "ne" doivent être omises dans la forme de mot segmentée canonique.
The classes were derived using diminishing longest string matching between the surface and canonical forms to isolate the differences at character level. This yielded an instance base ranging between 447,605 (SS) and 481,153 (NR) that consist of 98 (NR), 122 (SS), 96 (XH), and 124 (ZU) unique classes, but excluding exceptional classes with an occurrence frequency of less than 3. Across all four languages, the most frequent classes are (=) and (*), making up just over 50% of all class instances in each language.
Les classes ont été dérivées en utilisant la correspondance décroissante de la chaîne la plus longue entre la surface et les formes canoniques pour isoler les différences au niveau des caractères. Cela a donné une base d'instances allant de 447 605 (SS) à 481 153 (NR) qui se composent de 98 (NR), 122 (SS), 96 (XH) et 124 (ZU) classes uniques, mais en excluant les classes exceptionnelles avec une fréquence d'occurrence inférieure à 3. Dans les quatre langues, les classes les plus fréquentes sont (=) et (*), représentant juste plus de 50 % de toutes les instances de classes dans chaque langue.
In order to determine which learning algorithm best served the task of canonical segmentation, TiMBL was trained on the generated instances using each of the five k-nearest neighbour algorithms that it accommodates. A parameter search was used as part of this experiment to determine which hyperparameter adjustments could provide the greatest prediction accuracy. Since the two-tier approach relies on the predicted segmentation, it was important to obtain a reliable morphological decomposition to ensure as few errors as possible that may hamper the second tier's capacity to reliably annotate each morpheme with the related morphological analysis. In the end, IB2 was found to provide the greatest accuracy. IB2 operates similarly to other memory-based learning algorithms by keeping instances in memory that contribute to the potential classification of unseen instances during learning and uses a distance metric to determine class association. IB2 however employs an incremental editing strategy where its instance base is seeded with a certain (typically small) number of instances and only adds to instances in memory when it is misclassified by the k-NN classifier. The intention behind this approach is to construct an instance base that naturally establishes boundaries or key instances within memory with deviating or atypical instances to allow for greater generalisation. To further improve generalisation, each windowed instance was also associated with a seventh feature namely, the actual POS tag of the token. This improved the accuracy of predicted segmentation classes by around 1 to 2 percentage points.
Afin de déterminer l'algorithme d'apprentissage le mieux adapté à la tâche de segmentation canonique, TiMBL a été entraîné sur les instances générées en utilisant chacun des cinq algorithmes de k-voisins les plus proches qu'il supporte. Une recherche de paramètres a été utilisée dans le cadre de cette expérience pour déterminer quels ajustements d'hyperparamètres pourraient fournir la plus grande précision de prédiction. Puisque l'approche à deux niveaux repose sur la segmentation prédite, il était important d'obtenir une décomposition morphologique fiable afin d'assurer le moins d'erreurs possibles qui peuvent entraver la capacité du deuxième niveau à annoter de manière fiable chaque morphème avec l'analyse morphologique connexe. En fin de compte, IB2 s'est avéré fournir la plus grande précision. IB2 fonctionne de la même manière que d'autres algorithmes d'apprentissage basés sur la mémoire en gardant en mémoire les instances qui contribuent à la classification potentielle des instances invisibles pendant l'apprentissage et utilise une métrique de distance pour déterminer l'association de classe. IB2 utilise cependant une stratégie d'édition incrémentale où sa base d'instances est ensemencée avec un certain nombre (généralement petit) d'instances et n'ajoute aux instances en mémoire que lorsqu'elle est mal classée par le classificateur k-NN. L'intention derrière cette approche est de construire une base d'instances qui établit naturellement des frontières ou des instances clés dans la mémoire avec des instances déviantes ou atypiques pour permettre une meilleure généralisation. Pour améliorer davantage la généralisation, chaque instance fenêtrée a également été associée à une septième caractéristique, à savoir, l'étiquette POS réelle du token. Cela a amélioré la précision des classes de segmentation prédites d'environ 1 à 2 points de pourcentage.
4.2 Tier 2: Morphological Tagging
4.2 Niveau 2 : Étiquetage morphologique
The second tier of the approach entails adopting a POS tagger to model syntactic morpheme classes of canonically segmented tokens. The chosen candidate for this approach is MarMoT, (Müller et al. 2013) given its trainable NLP pipeline and its successful application as a POS tagger on the considered Nguni languages in Du Toit & Puttkammer, 2021. Because morphological classes are context dependent, treating the task of syntactic morphological tagging of morphemes similar to that of POS tagging helps to take advantage of its capacity to learn predictions within the context of a sentence. This is achieved by treating each segmented morpheme as a word and sequentially ordering them to resemble a sentence, thereby realising the internal morpheme composition of a word as local context in their tagging predictions.
Le deuxième niveau de l'approche consiste à adopter un étiqueteur de parties du discours (POS tagger) pour modéliser les classes de morphèmes syntaxiques de tokens segmentés de manière canonique. Le candidat choisi pour cette approche est MarMoT, (Müller et al. 2013) étant donné son pipeline de TAL entraînable et son application réussie comme étiqueteur morphosyntaxique sur les langues nguni considérées dans Du Toit & Puttkammer, 2021. Puisque les classes morphologiques sont dépendantes du contexte, traiter la tâche d'étiquetage morphologique syntaxique des morphèmes de manière similaire à celle de l'étiquetage POS permet de tirer parti de sa capacité à apprendre des prédictions dans le contexte d'une phrase. Ceci est réalisé en traitant chaque morphème segmenté comme un mot et en les ordonnant séquentiellement à ressembler à une phrase, réalisant ainsi la composition morphémique interne d'un mot comme contexte local dans leurs prédictions de marquage.
The segmented morphemes are provided to the tagger as words along with the actual POS tag of the word as an additional feature. This improved the quality of its syntactic morphological class predictions by increasing the tagging accuracy by around 1 to 3 percentage points.
Les morphèmes segmentés sont fournis à l'étiqueteur en tant que mots avec l'étiquette POS réelle du mot comme caractéristique supplémentaire. Cela a amélioré la qualité de ses prédictions de classe morphologique syntaxique en augmentant la précision de marquage d'environ 1 à 3 points de pourcentage.
5 Results
5 Résultats
The annotated data developed as part of this project is divided according to an approximate 90% training and 10% test split. Without including any punctuation, the following token counts make up each dataset split.
Les données annotées développées dans le cadre de ce projet sont réparties selon une répartition approximative de 90% d'entraînement et de 10% de test. Sans inclure aucune ponctuation, les nombres de tokens suivants composent chaque division du jeu de données.
Table 2: Token counts per language dataset
Tableau 2 : Nombres de tokens par jeu de données linguistique

To evaluate the segmentation competency of TiMBL, the before-mentioned test sets were first transformed into windowed instances of 6 letters and segmentation rules were generated. Each instance was then associated with the transformation and segmentation rule as its intended classification. The instances also included the POS tag of the token as a seventh, additional feature alongside its 6 windowed letters. Finally, the four trained TiMBL models were evaluated by presenting the windowed instances for classification. By comparing the class predictions to the intended segmentation rules, a prediction accuracy ranging between 96% and 98% was achieved for each of the language-specific models. These results are listed in Table 3.
Pour évaluer la compétence de segmentation de TiMBL, les ensembles de test mentionnés précédemment ont d'abord été transformés en instances fenêtrées de 6 lettres et des règles de segmentation ont été générées. Chaque instance a ensuite été associée à la règle de transformation et de segmentation correspondant à sa classification prévue. Les instances incluaient également l'étiquette POS du token comme septième caractéristique supplémentaire aux côtés de ses 6 lettres fenêtrées. Enfin, les quatre modèles TiMBL entraînés ont été évalués en présentant les instances fenêtrées pour classification. En comparant les prédictions de classe aux règles de segmentation prévues, une précision de prédiction comprise entre 96% et 98% a été atteinte pour chacun des modèles spécifiques à la langue. Ces résultats sont présentés dans le tableau 3.
Table 3: Segmentation and transformation rule class prediction accuracy
Tableau 3 : Précision de prédiction des classes de règles de segmentation et de transformation

Similarly, to evaluate the syntactic morphological tagging competency of MarMoT, the test set of tokens were segmented into their intended morphemes and associated morphological tags.
De manière similaire, pour évaluer la compétence d'étiquetage morphologique syntaxique de MarMoT, l'ensemble de test de tokens a été segmenté en leurs morphèmes prévus et en étiquettes morphologiques associées.
The test sets were then presented to MarMoT for tagging along with the POS tag of the token as additional feature. By comparing the predicted morphological tags to the intended tags, a prediction accuracy ranging between 91% and 96% was achieved for each of the language-specific models. These results are listed in Table 4.
Les ensembles de test ont ensuite été présentés à MarMoT pour l'étiquetage avec l'étiquette POS du token comme caractéristique supplémentaire. En comparant les balises morphologiques prédites aux balises prévues, une précision de prédiction comprise entre 91% et 96% a été atteinte pour chacun des modèles spécifiques à la langue. Ces résultats sont présentés dans le tableau 4.
Table 4: Prediction accuracy for syntactic morpheme tagging
Tableau 4: Précision de prédiction pour le marquage des morphèmes syntaxiques

Finally, the combined accuracy of both tiers was evaluated by cascading the resulting canonical segmentation into MarMoT for syntactic morphological tagging. This was performed by applying the predicted transformation and segmentation rules in the first tier to the tokens in the test set to produce the canonically segmented morphemes. These morphemes were then tagged by MarMoT to obtain their syntactic morphological class. The results of the first tier were evaluated by comparing the number of corresponding morphemes between the intended test set of canonical segmentation and the predicted rule-based transformation of the token. Similarly, the morphological tag and morpheme associations were evaluated by comparing the predicted morpheme and tag pairs to the intended test set pairings for each token. These results are listed in Table 5.
Enfin, la précision combinée des deux niveaux a été évaluée en cascadant la segmentation canonique résultante dans MarMoT pour le marquage morphologique syntaxique. Ceci a été réalisé en appliquant les règles de transformation et de segmentation prédites dans le premier niveau aux jetons de l'ensemble de test pour produire les morphèmes canoniquement segmentés. Ces morphèmes ont ensuite été balisés par MarMoT pour obtenir leur classe morphologique syntaxique. Les résultats du premier niveau ont été évalués en comparant le nombre de morphèmes correspondants entre l'ensemble de test prévu de segmentation canonique et la transformation prédite à base de règles du token. De même, les associations d'étiquettes morphologiques et de morphèmes ont été évaluées en comparant les paires prédites de morphèmes et d'étiquettes aux paires prévues de l'ensemble de test pour chaque token. Ces résultats sont listés dans le Tableau 5.
Table 5: Canonical segmentation and morphological tagging prediction accuracy
Tableau 5 : Précision de la segmentation canonique et de la prédiction du marquage morphologique

6 Conclusion
6 Conclusion
To ensure the continued development of human language technologies, it is important that resources be developed and distributed. We have described one such effort funded by the South African government for four resource-scarce Nguni languages. These resources are available as open-source modules from the SADiLaR resource catalogue and can aid researchers and developers in improving and furthering the reach of language technology. Furthermore, the approaches taken toward morphological analysis at the morpheme level of agglutinative languages may also provide evidence for its viability and applicability to similar languages. The lexical resources provided as part of this project will enable further improvements and alternative approaches in developing related language technologies.
Pour assurer le développement continu des technologies du langage humain, il est important que des ressources soient développées et distribuées. Nous avons décrit un effort de ce type financé par le gouvernement sud-africain pour quatre langues Nguni pauvres en ressources. Ces ressources sont disponibles sous forme de modules open source dans le catalogue de ressources de SADiLaR et peuvent aider les chercheurs et les développeurs à améliorer et à étendre la portée des technologies du langage. De plus, les approches prises envers l'analyse morphologique au niveau du morpheme des langues agglutinantes peuvent également fournir des preuves de sa viabilité et de son applicabilité à des langues similaires. Les ressources lexicales fournies dans le cadre de ce projet permettront d'autres améliorations et approches alternatives dans le développement de technologies linguistiques connexes.
Acknowledgements
Remerciements
This research was made possible with the support from the South African Centre for Digital Language Resources (SADiLaR). SADiLaR is a research infrastructure established by the Department of Science and Innovation (DSI) of the South African government as part of the South African Research Infrastructure Roadmap (SARIR).
Cette recherche a été rendue possible grâce au soutien du South African Centre for Digital Language Resources (SADiLaR). Le SADiLaR est une infrastructure de recherche établie par le Department of Science and Innovation (DSI) du gouvernement sud-africain dans le cadre de la South African Research Infrastructure Roadmap (SARIR).
Notes
Notes
1 https://ufal.mff.cuni.cz/udpipe/2
2 http://cistern.cis.lmu.de/marmot/
3 https://repo.sadilar.org/handle/20.500.12185/7
References
Références
Bosch, S, Jones, J, Pretorius, L & Anderson, W 2006, 'Resource development for South African Bantu languages: computational morphological analysers and machine-readable lexicons' In Proceedings on the Workshop on Networking the Development of Language Resources for African Languages at the 5th International Conference on Language Resources and Evaluation, pp. 38-43.
Daelemans, W, Zavrel, J, Van Der Sloot, K & Van den Bosch, A 2004, TiMBL: Tilburg memory-based learner, version 6.4: reference guide, Tilburg, Tilburg University.
Du Toit, JS & Puttkammer, MJ 2021, Developing Core Technologies for Resource-scarce Nguni Languages. Manuscript submitted for publication.
Eiselen, R & Puttkammer, MJ 2014, 'Developing Text Resources for Ten South African Languages', In Proceedings of the 9th International Conference on Language Resources and Evaluation (LREC 2014), pp. 3698-3703.
Gaustad, T & Puttkammer, MJ 2021, Linguistically annotated dataset for four official South African languages with a conjunctive orthography: isiNdebele, isiXhosa, isiZulu, and Siswati. Manuscript submitted for publication.
Müller, T, Schmid, H & Schütze, H 2013, 'Efficient higher-order CRFs for morphological tagging.' In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 322-332.
Pilon, S, Puttkammer, MJ & Van Huyssteen, GB, 2008. 'Die ontwikkeling van 'n woordafbreker en kompositumanaliseerder vir Afrikaans', Journal of Literary Criticism, Comparative Linguistics and Literary Studies, vol. 29 no. 1, pp. 21-41.
Prinsloo, DJ & De Schryver, GM 2002, 'Towards an 11 x 11 array for the degree of conjunctivism/disjunctivism of the South African languages', Nordic Journal of African Studies, vol. 11 no. 2, pp. 249-265.
Ruokolainen, T, Kohonen, O, Virpioja, S & Kurimo, M 2013, 'Supervised morphological segmentation in a low-resource learning setting using conditional random fields' In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 29-37.
Sorokin, A & Kravtsova, A 2018, 'Deep convolutional networks for supervised morpheme segmentation of Russian language' In Conference on Artificial Intelligence and Natural Language, pp. 3-10
Straka, M 2018, 'UDPipe 2.0 prototype at CoNLL 2018 UD shared task' In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pp. 197-207.
Van den Bosch, A & Daelemans, A 1999, 'Memory-based morphological analysis' In Proceedings of the 37th annual meeting of the association for computational Linguistics, pp. 285-292.
Zalmout, N & Habash, N 2017, 'Don't throw those morphological analyzers away just yet: Neural morphological disambiguation for Arabic' In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 704-713.
Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages
Ugawaji wa Kanuni na Ulezi wa Mifano ya Kimatamshi ya Lugha Nne za Nguni Zisizo na Rasilimali Nyingi
Affiliations
Du Toit, Jakobus S.
Puttkammer, Martin J.
CTexT®, North-West University
Taasisi
Du Toit, Jakobus S.
Puttkammer, Martin J.
CTexT®, North-West University
Abstract
Muhtasari
Morphological analysis involves investigating the syntactic class of a word but can also extend to the decomposition and syntactic analysis of its underlying morpheme composition. This is especially relevant to languages with an agglutinative writing system where multiple linguistic words are expressed as a single orthographic word. In this paper, we propose a memory-based approach to canonical segmentation using a windowing approach to recover the uncondensed morphemes that differ from the surface form of a word. Additionally, we propose treating the syntactic labelling of morphemes as a sequence labelling task, similar to part of speech tagging. This approach leverages the internal morpheme composition of a word as local context in much the same way that the surrounding sentence of word serves in the disambiguation of its part-of-speech. Both tasks are modelled separately but performed sequentially by cascading the decomposed morphemes of a word into the task of syntactic labelling. When evaluated on four resource-scarce, conjunctively written Nguni languages, the proposed approach achieves an overall accuracy ranging between 82% and 92% which outperforms previously developed rule-based analysers for the same languages.
Uchambuzi wa umbo unahusisha kuchunguza darasa la sintaksia la neno lakini pia unaweza kufikia uchambuzi wa sintaksia na uainishaji wa muundo wake wa msingi wa morfimu. Hii ni muhimu hasa kwa lugha zenye mfumo wa uandishi wa agglutinative ambapo maneno mengi ya lugha yanaonyeshwa kama neno moja la kisarufi. Katika makala hii, tunapendekeza mbinu inayotegemea kumbukumbu kwa ugawaji wa kikanuni kwa kutumia mbinu ya dirisha ili kurejesha mofimu zisizofupishwa ambazo zinatofautiana na umbo la uso la neno. Zaidi ya hayo, tunapendekeza kuchukulia uwekaji lebo wa kisintaksia wa mofimu kama kazi ya uwekaji lebo wa mfuatano, sawa na uwekaji lebo wa aina za maneno. Utaratibu huu hutumia muundo wa ndani wa mofimu ya neno kama muktadha wa ndani kwa njia ile ile ambayo sentensi inayozunguka neno hutumika katika kutofautisha sehemu yake ya usemi. Kazi zote mbili zinaundwa kwa namna tofauti lakini zinatekelezwa kwa mfuatano kwa kuingiza mofimu zilizotenganishwa za neno kwenye kazi ya uwekaji lebo wa kisintaksia. Wakati wa kutathminiwa kwa lugha nne za Nguni zilizo na rasilimali chache, mbinu iliyopendekezwa inapata usahihi wa jumla wa kati ya asilimia 82 na 92 ambayo inazidi vichambuzi vilivyotengenezwa hapo awali kwa lugha hizo.
Keywords
Maneno Muhimu
morphological analysis, canonical segmentation, syntactic morpheme tagging
uchambuzi mofolojia, canonical kugawanyika, syntactic morpheme tagging
1 Introduction
1 Utangulizi
Access to quality linguistic resources is crucial to any research and development efforts in the field of Natural Language Processing (NLP). Collecting and assembling such resources is generally expensive and time-consuming, especially in the case of resource-scarce languages as is the case for ten of the eleven official languages of South Africa. To address this scarcity and promote research and development efforts in the area of human language technology, the South African government has established several legislative frameworks that promote the use and advancement of these languages and has funded various development projects over the last two decades. One such project was the National Centre for Human Language Technology's Text project (Eiselen and Puttkammer 2014), that collected circa 50,000 tokens, annotated with part of speech (POS), lemma and morphological analysis information for ten of the official South African languages. POS taggers, lemmatisers and rule-based morphological decomposers were also developed. A follow-up project expanded on this work by developing an additional 50,000 annotated tokens and improved technologies for four of these languages, viz. isiNdebele (NR), Siswati (SS), isiXhosa (XH) and isiZulu (ZU). In this paper, we focus on the morphological analysers that were developed in the follow-up project.
Upatikanaji wa rasilimali za lugha za ubora ni muhimu kwa utafiti wowote na juhudi za maendeleo katika uwanja wa Natural Language Processing (NLP). Kukusanya na kuunganisha rasilimali kama hizo kwa ujumla ni ghali na kunachukua muda, hasa katika kesi ya lugha zenye uhaba wa rasilimali kama ilivyo kwa lugha kumi kati ya lugha kumi na moja rasmi za Afrika Kusini. Ili kushughulikia uhaba huu na kuendeleza jitihada za utafiti na maendeleo katika eneo la teknolojia ya lugha za kibinadamu, serikali ya Afrika Kusini imeanzisha miundo kadhaa ya kisheria inayoendeleza matumizi na maendeleo ya lugha hizi na imedhamini miradi mbalimbali ya maendeleo kwa miongo miwili iliyopita. Mradi mmoja kama huo ulikuwa mradi wa Text wa Kituo cha Kitaifa cha Teknolojia ya Lugha ya Binadamu (Eiselen na Puttkammer 2014), ambao ulikusanya takriban tokeni 50,000, zilizoandikwa kwa maelezo ya aina za maneno (POS), lemma na uchanganuzi wa kimofolojia kwa lugha kumi kati ya lugha rasmi za Afrika Kusini. Vitambulishi vya POS, vitoa lemma na vitenganishi vya kimofolojia vinavyotegemea kanuni pia vilitengenezwa. Mradi wa ufuatiliaji ulipanua kazi hii kwa kutengeneza tokeni 50,000 za ziada zilizoandikwa na teknolojia zilizoboreshwa kwa lugha nne kati ya hizi, yaani isiNdebele (NR), Siswati (SS), isiXhosa (XH) na isiZulu (ZU). Katika makala hii, tunazingatia vichanganuzi vya kimofolojia ambavyo vilitengenezwa katika mradi wa ufuatiliaji.
In the next section we provide a brief overview of the project, followed by a description of morphological decomposition versus analysis. We then (section 4) present our two-tiered approach to morphological analysis and results (section 6). Conclusions and future work are discussed in section 7.
Katika sehemu inayofuata tunatoa muhtasari mfupi wa mradi, ikifuatiwa na maelezo ya mgawanyiko wa kimorfolojia dhidi ya uchambuzi. Kisha (sehemu ya 4) tunawasilisha mbinu yetu ya ngazi mbili ya uchanganuzi wa kimofolojia na matokeo (sehemu ya 6). Hitimisho na kazi ya baadaye zinajadiliwa katika sehemu ya 7.
2 Background
2 Usuli
The aim of this project was to create corpora annotated with POS, lemma and morphological analysis information for four resource-scarce South African Nguni languages and to develop associated core technologies using these datasets. In this paper the focus is on the development of the morphological analysers. For a detailed description of the development process followed during the annotation of the data, see Gaustad & Puttkammer, 2021. A description of the other core technologies can be found in Du Toit & Puttkammer, 2021.
Lengo la mradi huu lilikuwa kuunda korasi zilizo na maelezo ya POS, lemma na taarifa za uchanganuzi wa kimofolojia kwa lugha nne za Nguni za Afrika Kusini zenye uhaba wa rasilimali na kuendeleza teknolojia msingi zinazohusiana kwa kutumia seti hizi za data. Katika karatasi hii lengo ni uendelezaji wa wachanganuzi wa kimofolojia. Kwa maelezo ya kina ya mchakato wa uendelezaji uliofuatwa wakati wa ufafanuzi wa data, angalia Gaustad & Puttkammer, 2021. Maelezo ya teknolojia nyingine za msingi yanapatikana katika Du Toit & Puttkammer, 2021.
South Africa is a linguistically diverse country with eleven official languages, nine of which are Southern Bantu languages that follow either a conjunctive or disjunctive writing system. This study only focuses on the conjunctively written Nguni languages namely, isiNdebele, Siswati, isiXhosa, isiZulu. To illustrate the orthographic difference between these writing systems, Prinsloo & De Schryver (2002) use the example phrase "I love him/her". The agglutinative nature of isiZulu produces the phrase as a single word, ngiyamthanda, whereas it would be written disjunctively in Sepedi as four separate words, ke a mo rata. Although this study is restricted to the four South African Nguni languages, insights gained during development could also be to be applied to languages that share a similar morphology.
Afrika Kusini ni nchi yenye utofauti wa lugha na lugha rasmi kumi na moja, tisa ambazo ni lugha za Bantu ya Kusini zinazofuata mfumo wa kuandika unaounganisha au unaotenganisha. Utafiti huu unazingatia tu lugha za Kinguni zilizoandikwa kwa namna ya kuunganisha maneno ambazo ni, isiNdebele, Siswati, isiXhosa, isiZulu. Ili kuonyesha tofauti ya kisarufi kati ya mifumo hii ya kuandika, Prinsloo & De Schryver (2002) hutumia mfano wa sentensi "I love him/her". Asili ya kiambatanishi ya isiZulu inazalisha kirai kama neno moja, ngiyamthanda, ilhali kingeandikwa kwa namna ya kutenganisha maneno katika Sepedi kama maneno manne tofauti, ke a mo rata. Ingawa utafiti huu unahusu lugha nne za Afrika Kusini za Nguni, maarifa yaliyopatikana wakati wa maendeleo yanaweza pia kutumika kwa lugha ambazo zina mofolojia sawa.
3 Morphology
3 Mofolojia
Morphological features are an important aspect in developing language engineering technologies and applications such as machine translation and spelling error correction. Morphological features typically refer to either lexicalized (e.g. lemmas) and non-lexicalized features (e.g. gender, case, number). Most approaches that operate at word-level annotate tokens with lexicalized features using either combined feature sets or by modelling individual features as separate tagging tasks.
Vipengele vya mofolojia ni vipengele muhimu katika kuendeleza teknolojia ya uhandisi wa lugha na maombi kama vile tafsiri ya mashine na marekebisho ya makosa ya kuandika. Vipengele vya kimofolojia kwa kawaida hurejelea vipengele vilivyoleksika (k.m. lemma) na visivyoleksika (k.m. jinsia, kesi, nambari). Mbinu nyingi zinazofanya kazi katika kiwango cha neno hufafanua tokeni kwa vipengele vilivyoleksika kwa kutumia seti za vipengele vilivyounganishwa au kwa kuiga vipengele binafsi kama kazi tofauti za kuweka tagi.
A combined feature set expresses multiple aspects as a single composition of non-lexical tags (e.g. Noun+A3sg+Pnon+Nom). This allows for underlying relationships between different features to be modelled explicitly but it does result in a large target space that further increases sparsity for morphologically rich languages. On the other hand, modelling these features separately yields a smaller target space but constrains the capacity of a model to learn any inter-feature dependencies which is crucial for our intended task. When operating at the morpheme-level, the functional role of a morpheme in the Nguni languages is both influenced and constrained by its internal context. Two approaches that utilise morphological features are so called morphological decomposition where morphemes are identified, and morphological analysis, where tags are assigned to each morpheme based on its grammatical function.
Seti ya sifa iliyochanganyika inaelezea vipengele vingi kama muundo mmoja wa tagi zisizo za leksika (k.mf. Noun+A3sg+Pnon+Nom). Hii inaruhusu uhusiano wa kimsingi kati ya vipengele tofauti kuigwa kwa uwazi lakini inasababisha nafasi kubwa ya lengo ambayo inaongeza zaidi uchache kwa lugha zenye mofolojia tajiri. Kwa upande mwingine, kuiga vipengele hivi kivyake kunatoa nafasi ndogo ya lengo lakini kunabana uwezo wa modeli kujifunza tegemezi zozote baina ya vipengele jambo ambalo ni muhimu kwa kazi yetu iliyokusudiwa. Wakati wa kufanya kazi katika kiwango cha morfimu, jukumu la utendaji la morfimu katika lugha za Nguni linathiriwa na kuzuiwa na muktadha wake wa ndani. Mbinu mbili zinazotumia vipengele vya mofolojia ni vile vinavyoitwa kuvunjika kwa mofolojia ambako mofimu hutambuliwa, na uchambuzi wa mofolojia, ambapo lebo huwekwa kwa kila mofimu kulingana na kazi yake ya kisarufi.
Morphological decomposition entails dividing a word into its constituent morphemes, the smallest meaning-bearing units of a word (Ruokolainen et al. 2013). However, these morphemes may not be orthographically equal to the corresponding segment of the word in written form when spelling transformations manifest during agglutination. We thus distinguish between two forms of segmentation, surface segmentation and canonical segmentation. The former yields a set of substrings that concatenate to the original word from, whereas the latter yields a sequence of canonical morphemes that are true to the underlying forms of the morphemes but potentially differ in their orthographic representation within the original wordform. Morphological decomposition is beneficial in helping to support further analyses for NLP tasks, especially in resource languages where data sparsity can undermine the quality of a task.
Ugawaji wa umbo wa neno unahusisha kugawanya neno katika sehemu zake za msingi zinazoitwa morfemi, ambazo ni vitengo vidogo vidogo vinavyobeba maana ya neno (Ruokolainen et al. 2013). Hata hivyo, mofimu hizi huenda zisilingane kiothografia na sehemu inayolingana ya neno katika umbo lililoandikwa wakati mabadiliko ya tahajia yanapojitokeza wakati wa unyambulishaji. Kwa hiyo, tunatofautisha kati ya aina mbili za ugawaji, ugawaji wa uso na ugawaji wa kanuni. Utaratibu wa kwanza hutoa seti ya substrings ambayo huunganishwa na neno la awali kutoka, wakati wa mwisho hutoa mlolongo wa mofimu za kanuni ambazo ni kweli kwa aina za msingi za mofimu lakini zina uwezekano wa kutofautiana katika uwakilishi wao wa kisarufi ndani ya umbo la awali la neno. Utenganishaji wa kimofolojia una manufaa katika kusaidia kuchangia uchanganuzi zaidi kwa kazi za NLP, hasa katika lugha zenye rasilimali chache ambapo ufinyu wa data unaweza kudhoofisha ubora wa kazi.
The set of decomposers for conjunctive languages previously developed as part of the NCHLT project were rule-based implementations that follow the work of Bosch et al. (2006). These implementations entailed recursively identifying all affixes in a token whereafter the remaining constituent would be verified against a lexicon of roots and stems. Only in instances where a valid stem or root and a valid combination of affixes were confirmed would the decomposition be deemed successful. These rule deductions were based on the collection of 50,000 annotated tokens developed as part of that project. These and the newly developed decomposers split tokens into their constituent morphemes, including each constituent affix, roots in the case of verbs, and stems in other parts of speech. For example, the isiZulu word ukusebenzisa ("use") is split into its constituent morphemes as u-ku-sebenz-is-a, where each affix boundary is marked in conjunction with the verb root.
Seti ya vitenganishi vya lugha unganishi zilizotengenezwa awali kama sehemu ya mradi wa NCHLT zilikuwa utekelezaji unaotegemea kanuni unaofuata kazi ya Bosch et al. (2006). Utekelezaji huu ulihusisha kutambua kwa kujirudia viambishi vyote katika tokeni ambapo baadaye kiungo kilichobaki kingethibitishwa dhidi ya leksimu ya mizizi na mashina. Ni katika hali ambapo shina au mzizi halali na mchanganyiko halali wa viambishi vilithibitishwa tu ndipo utenganishaji ungechukuliwa kuwa umefaulu. Sheria hizi zilizotolewa zilitegemea mkusanyiko wa tokeni 50,000 zilizo na maelezo zilizotengenezwa kama sehemu ya mradi huo. Vitenganishi hivi na vipya vilivyotengenezwa vinagawanya tokeni katika mofimu zao za kiungo, ikijumuisha kila kiambishi cha kiungo, mizizi kwa upande wa vitenzi, na mashina katika sehemu nyingine za usemi. Kwa mfano, neno la isiZulu ukusebenzisa ("kutumia") linagawanywa katika morfemi zake za msingi kama u-ku-sebenz-is-a, ambapo kila mpaka wa kiambishi unatajwa pamoja na mzizi wa kitenzi.
Morphological analysis is of particular importance when applied to the Nguni languages since its words are naturally composed of aggregating morphemes that may undergo spelling alterations after their unions. These languages follow a conjunctive writing system which leads to an agglutinative orthography where morphemes are written unseparated. Yet, the meaning of a word is a function of its morphemes, and it is therefore necessary to isolate these individual morphemes for further syntactic analysis. Full morphological analysis entails both the segmentation of morphemes and the analysis of the interactions among the underlying morphemes of a word by determining their syntactic classes (Van den Bosch and Daelemans 1999). For example, the same isiZulu word used in the previous example, ukusebenzisa ("use"), is morphologically decomposed and analyzed as u[NPrePre]-ku[BPre]-sebenz[VRoot]-is [CausExt]-a[VerbTerm], where the syntactic class of each morpheme is assigned. For this example, the syntactic classes consist of a secondary noun prefix (NPrePre), a primary noun prefix (BPre), a verbal root (VRoot), a causative verbal suffix (CausExt), and a verb terminative (VerbTerm).
Uchambuzi wa mofolojia ni muhimu hasa unapotumika kwa lugha za Nguni kwa sababu maneno yake kwa kawaida hujumuisha mofimu ambazo zinaweza kubadilika baada ya kuunganishwa. Lugha hizi hufuata mfumo wa uandishi unganishi ambao husababisha tahajia ambatanishi ambapo mofimu huandikwa bila kutenganishwa. Hata hivyo, maana ya neno ni utendakazi wa morfemi zake, na kwa hiyo ni lazima kutenga morfemi hizi binafsi kwa uchambuzi zaidi wa sintaksia. Uchanganuzi kamili wa kimofolojia unahusisha ugawaji wa mofimu na uchanganuzi wa mwingiliano kati ya mofimu msingi za neno kwa kuamua tabaka zao za kisintaksia (Van den Bosch na Daelemans 1999). Kwa mfano, neno lilelele isiZulu lililotumika katika mfano uliopita, ukusebenzisa ("kutumia"), linatenganishwa na kuchambuliwa kimorfolojia kama u[NPrePre]-ku[BPre]-sebenz[VRoot]-is [CausExt]-a[VerbTerm], ambapo daraja la kimahusiano (syntactic class) la kila morfimu linatolewa. Kwa mfano huu, tabaka za kisintaksia zinajumuisha kiambishi awali cha pili cha nomino (NPrePre), kiambishi awali cha kwanza cha nomino (BPre), mzizi wa kitenzi (VRoot), kiambishi tamati cha kitenzi kisababishi (CausExt), na kimalizio cha kitenzi (VerbTerm).
4 Morphological Analyser Design
4 Muundo wa Kichanganuzi cha Kimofolojia
This section describes the task of modelling morphological analysis and the level of granularity in analyses that existing solutions support. Our initial investigations into a suitable approach to morphological analysis included NLP pipelines that typically accommodate multiple tagging and morphological tasks, as in the case of UDPipe (Straka 2018) and MarMoT (Müller et al. 2013). MarMoT is a generic CRF framework capable of both POS tagging and morphological analysis, similarly UDPipe is a trainable pipeline for tokenization, POS tagging, dependency parsing, and morphological analysis that employs contextualized BERT embeddings. However, the capacity for morphological analysis in these solutions only accommodate non-lexicalised features that distinguish lexical and grammatical properties of words. Attempts to adopt this system to annotate Nguni language tokens with syntactic morpheme classes were expectedly unsuccessful, since its capacity for morphological analysis is limited to only the word-level and context is derived from the encompassing sentence rather than the local composition of morphemes.
Sehemu hii inaeleza kazi ya kuunda kielelezo cha uchanganuzi wa kimofolojia na kiwango cha undani katika uchanganuzi ambacho suluhu zilizopo zinaunga mkono. Uchunguzi wetu wa awali kuhusu mbinu mwafaka ya uchanganuzi wa kimofolojia ulijumuisha mabomba ya NLP ambayo kwa kawaida hushughulikia kazi nyingi za kuweka tagi na za kimofolojia, kama ilivyo kwa UDPipe (Straka 2018) na MarMoT (Müller et al. 2013). MarMoT ni mfumo wa jumla wa CRF unaoweza kufanya uwekaji tagi wa POS na uchanganuzi wa kimofolojia, vivyo hivyo UDPipe ni bomba linaloweza kufunzwa kwa ajili ya utokenizaji, uwekaji tagi wa POS, uchanganuzi wa utegemezi, na uchanganuzi wa kimofolojia unaotumia viwakilishi vya BERT vilivyozingatia muktadha. Hata hivyo, uwezo wa uchambuzi wa mofolojia katika suluhisho hizi hujumuisha tu vipengele visivyo vya kileksikali ambavyo hutofautisha sifa za kileksikali na kisarufi za maneno. Majaribio ya kutumia mfumo huu kuelezea alama za lugha ya Nguni kwa kutumia makundi ya mofimu za kisarufi yalitarajiwa kufeli, kwa sababu uwezo wake wa uchambuzi wa mofimu umepunguzwa kwa kiwango cha neno tu na muktadha unatokana na sentensi inayojumlisha badala ya muundo wa ndani wa mofimu.
Taking into account the required depth of morphological analysis and because canonical segmentation and class annotation at the morpheme level are not usually addressed as a single task, we approached morphological analysis as two separate problems. Both morpheme segmentation and morphological analysis are treated as a sequence tagging task, as was the approach followed by Sorokin & Kravtsova's (2018) for Russian, a comparably agglutinative language.
Kuzingatia kina kinachohitajika cha uchambuzi wa mofolojia na kwa sababu mgawanyiko wa kanuni na annotasheni ya darasa katika ngazi ya mofimu kwa kawaida hazishughulikiwi kama kazi moja, tulikaribia uchambuzi wa mofolojia kama matatizo mawili tofauti. Ugawaji wa mofimu na uchanganuzi wa kimofolojia vyote vinashughulikiwa kama kazi ya kuweka tagi kwa mfuatano, kama ilivyokuwa mkabala uliofuatwa na Sorokin & Kravtsova (2018) kwa Kirusi, lugha inayofanana kwa kuambatanisha viambishi.
In their approach, morpheme segmentation was represented using the BMES labelling scheme where the classes account for beginning (B), middle (M), and ending (E) as well as single (S) single letter morphemes. Additionally, morphemes were tagged according to their type namely, root, prefix, suffix, ending, postfix, link, and hyphen. Thus, the task of their system was to predict segmentation and type labels for a sequence of letters. However, morpheme classifications constitute a small target space of only 7 labels thereby ensuring better prediction accuracy. Adopting the approach taken by Sorokin & Kravtsova (2018) to our task resulted in a low tagging accuracy given our larger target space and subsequent increased sparsity as our labelling scheme contains 71 tags for ZU, 70 for NR, 68 for SS and 62 tags for XH.
Katika mkabala wao, ugawaji wa mofimu uliwakilishwa kwa kutumia mpango wa kuweka lebo wa BMES ambapo madarasa yanahusika na mwanzo (B), kati (M), na mwisho (E) pamoja na mofimu za herufi moja (S). Zaidi ya hayo, morfeme ziliwekewa lebo kulingana na aina zao yaani, mzizi, kiambishi awali, kiambishi mwisho, mwisho, kiambishi baada, kiunganishi, na kizigeu. Hivyo, kazi ya mfumo wao ilikuwa kutabiri lebo za mgawanyiko na aina kwa mfuatano wa herufi. Hata hivyo, uainishaji wa morfeme unawakilisha nafasi ndogo ya lengo lenye lebo 7 tu, hivyo kuhakikisha usahihi bora wa utabiri. Kutumia njia iliyochukuliwa na Sorokin & Kravtsova (2018) kwa kazi yetu ilisababisha usahihi wa chini wa kuweka lebo kutokana na nafasi kubwa ya lengo na msongamano ulioongezeka baadaye kwani mfumo wetu wa lebo una lebo 71 kwa ZU, 70 kwa NR, 68 kwa SS na lebo 62 kwa XH.
The before-mentioned NLP pipelines and other approaches to morphological analysis typically model morphological features at the word-level and context representation spans the entirety of the encompassing sentence. In contrast, morpheme segmentation is modelled at the character-level and thus the difference in granularity explains why most approaches approach each task separately unless the target space can be kept relatively small as in the case of Sorokin & Kravtsova (2018). In contrast, Van den Bosch & Daelemans (1999) was however successful at jointly modelling morphological boundaries, syntactic classes, and spelling transformations at the character-level as a single task which resulted in a large target space but was supported by a large dataset. This approach is compatible with our intended task but applying a similar method to our limited data sets would introduce sparsity and only diminish the quality of predictions. Nonetheless, inspiration was taken from Van den Bosch & Daelemans (1999) in reducing the task of segmentation to a sequence of classification tasks using a windowing method across the characters of a word. To accomplish tagging each morpheme with its syntactic morphological class we opted to treat the task similar to that of POS tagging and representing individual morphemes as words to realise local context from within the internal morpheme composition of a word. This approach is discussed in greater detail in the next section.
Mifumo ya NLP iliyotajwa hapo awali na mbinu zingine za uchambuzi wa mofolojia kwa kawaida huonyesha vipengele vya mofolojia katika ngazi ya neno na uwakilishi wa muktadha unaenea katika sentensi nzima. Kinyume chake, ugawaji wa mofimu unawakilishwa katika kiwango cha herufi na hivyo tofauti katika kiwango cha undani inaeleza kwa nini mbinu nyingi hushughulikia kila kazi kivyake isipokuwa kama nafasi ya lengo inaweza kuwekwa ndogo kiasi kama ilivyo katika kisa cha Sorokin & Kravtsova (2018). Kinyume chake, Van den Bosch & Daelemans (1999) hata hivyo walifanikiwa katika kuunda kwa pamoja mipaka ya kimofolojia, madarasa ya kisintaksia, na mabadiliko ya tahajia katika kiwango cha herufi kama kazi moja ambayo ilisababisha nafasi kubwa ya lengo lakini iliungwa mkono na seti kubwa ya data. Njia hii inafaa na kazi tuliyolenga, lakini kutumia mbinu inayofanana kwenye seti zetu za data zilizopungua ingeingiza upungufu na kupunguza tu ubora wa utabiri. Hata hivyo, msukumo ulichukuliwa kutoka kwa Van den Bosch & Daelemans (1999) katika kupunguza kazi ya ugawaji kuwa mfuatano wa kazi za uainishaji kwa kutumia mbinu ya dirisha kwenye herufi za neno. Ili kukamilisha kuweka lebo kwa kila mofimu na darasa lake la kimofolojia la kisintaksia tuliamua kushughulikia kazi hiyo sawa na ile ya kuweka lebo za POS na kuwakilisha mofimu binafsi kama maneno ili kupata muktadha wa ndani kutoka katika muundo wa ndani wa mofimu wa neno. Mbinu hii inajadiliwa kwa undani zaidi katika sehemu inayofuata.
The proposed approach follows a two-tier design for sequential segmentation and analysis. Isolating the two tasks allowed for greater accuracy in segmentation, which suffered the most in prior attempts given the complexity of the languages. A pipeline approach is subject to cascading errors, but the significant accuracy of the morphological decomposer as the initial component in the pipeline does little to impact the overall accuracy.
Mbinu iliyopendekezwa inafuata muundo wa ngazi mbili kwa ajili ya mgawanyiko na uchambuzi wa mfululizo. Kutenga majukumu mawili kuliruhusu usahihi zaidi katika kugawanya, ambayo yalipata shida zaidi katika majaribio ya awali kutokana na utata wa lugha. Njia ya mnyororo inaweza kusababisha makosa yanayozidisha, lakini usahihi mkubwa wa kigawanyiko cha kimorfolojia kama sehemu ya kwanza katika mnyororo hauna athari kubwa kwenye usahihi wa jumla.
4.1 Tier 1: Morphological decomposition
4.1 Ngazi ya 1: Utenganishaji wa kimofolojia
The first tier of the approach is a memory-based learning system that models morphological decomposition and spelling transformations as a series of classification tasks inspired by the work of Van den Bosch and Daelemans (1999). Memory-based learning is a class of supervised, inductive machine learning algorithms that learn based on examples of a task stored in memory. The Tilburg Memory-Based Learner (TiMBL) facilitates this function as an open-source software package that supports a selection of k-nearest neighbour classification and feature weighting algorithms (Daelemans et al. 2004). When new instances of a learnt task are presented to the TiMBL model, computational effort is invested in finding the best-matching instances from memory as determined by a similarity metric. Once the nearest neighbour (or instance) is identified in memory, the associated class is transferred to the new instance. Memory-based approaches have been successfully applied to other natural language processing tasks such as hyphenation and compounding analysis (Pilon et al. 2008).
Ngazi ya kwanza ya mbinu hiyo ni mfumo wa ujifunzaji unaotegemea kumbukumbu ambao unaiga utenganishaji wa kimofolojia na mabadiliko ya tahajia kama mfululizo wa kazi za uainishaji zilizochochewa na kazi ya Van den Bosch na Daelemans (1999). Ujifunzaji unaotegemea kumbukumbu ni aina ya algoriti za ujifunzaji wa mashine zinazosimamiwa, za kiinduktivu ambazo hujifunza kulingana na mifano ya kazi iliyohifadhiwa kwenye kumbukumbu. Tilburg Memory-Based Learner (TiMBL) inawezesha kazi hii kama kifurushi cha programu huria kinachosaidia uteuzi wa algoriti za uainishaji wa jirani wa karibu wa k na upimaji vipengele (Daelemans et al. 2004). Wakati vielelezo vipya vya kazi iliyojifunza vinapowasilishwa kwa modeli ya TiMBL, juhudi za kikokotozi huwekwa katika kutafuta vielelezo vinavyolingana vyema kutoka kwenye kumbukumbu kama inavyoamuliwa na kipimo cha ufanano. Mara tu jirani wa karibu zaidi (au kielelezo) anapotambuliwa katika kumbukumbu, darasa linalohusishwa huhamishiwa kwenye kielelezo kipya. Mbinu zinazotegemea kumbukumbu zimetumika kwa ufanisi kwa kazi zingine za usindikaji wa lugha asili kama vile kugawa maneno na uchambuzi wa mchanganyiko (Pilon et al. 2008).
Morphological decomposition can be treated as a context sensitive mapping problem, similar to most linguistic problems (e.g. source to target language translation, text to speech synthesis etc.). As part of this approach, TiMBL is tasked with learning this particular mapping through a windowing method from the surface form of a word to its canonical segmentation. Windowing in this manner transforms a word into multiple instances where each instance is focused on the boundary between letters, or the start and end boundary of the word. The method is illustrated in table 1, where a sliding context window of 6 letters traverses the length of the word with the point of focus positioned 3 letters left and right of the given boundary. The instance class expresses whether the given boundary maps to a point of segmentation in its decomposed form and if any letters within its right 3 letter window should undergo a spelling transformation in obtaining its canonical segmentation. A window size of 6 letters was found to be sufficient for the task since most conversion-type transformation rules range between 1 and 3 characters. In the end, the canonical segmentation is obtained by constructing the surface form of the word according to the predicted transformation rules.
Utenganishaji wa kimofolojia unaweza kuchukuliwa kama tatizo la uchoraji ramani linalozingatia muktadha, sawa na matatizo mengi ya kilugha (k.m. tafsiri ya lugha chanzi kwenda lugha lengwa, usanisi wa maandishi kwenda usemi n.k.). Kama sehemu ya mbinu hii, TiMBL imepewa jukumu la kujifunza ramani hii maalum kwa njia ya njia ya kufungua kutoka kwa sura ya uso wa neno hadi sehemu yake ya kanuni. Kudirisha kwa namna hii kunabadilisha neno kuwa vielelezo vingi ambapo kila kielelezo hulenga mpaka kati ya herufi, au mpaka wa mwanzo na mwisho wa neno. Mbinu hiyo inaonyeshwa katika jedwali la 1, ambapo dirisha la muktadha linaloteleza la herufi 6 linapita urefu wote wa neno huku sehemu ya kulenga ikiwa imewekwa herufi 3 kushoto na kulia mwa mpaka husika. Darasa la kielelezo linaeleza kama mpaka husika unachorwa kwenye sehemu ya ugawaji katika umbo lake lililotenganishwa na kama herufi zozote ndani ya dirisha lake la kulia la herufi 3 zinapaswa kupitia mabadiliko ya tahajia katika kupata ugawaji wake wa kikanuni. Ukubwa wa dirisha wa herufi 6 ulionekana kutosha kwa kazi hiyo kwa kuwa sheria nyingi za mabadiliko ya aina ya ubadilishaji zinaanzia kati ya herufi 1 na 3. Mwishoni, ugawaji kikanuni hupatikana kwa kuunda umbo la uso la neno kulingana na sheria za mabadiliko zilizotabiriwa.
Table 1: Segmentation rules for the word ngokuphathelene
Jedwali la 1: Sheria za ugawaji kwa neno ngokuphathelene

Per illustration of the approach, Table 1 contains 16 instances that were generated from the isiZulu word ngokuphathelene ("in relation to") with their associated morphological transformation and segmentation classes that produce its canonical segmentation. The generated classes can express five different types of transformations, the first is represented in instance 1 with the "=" class. This indicates that no transformation or segmentation takes place at the current point of focus in the original surface form. These classes denote no difference between the surface form and the canonical segmentation for the right context at the point of focus. The second type of class is represented in instance 4 (o>a*u*) which is indicative of a conversion transformation. These classes are assigned to the letter immediately left of the point of focus but can include letters from the right context when a transformation affects multiple letters like in instance 15 (ne>0). Any asterisks contained within the class represent segmentation points in the canonical form. Instance 6 (*) depicts an asterisk as an independent class which denotes a segmentation point in the canonical form of the word at the current point of focus. The fourth type of classification depicts the insertion of characters at the given boundary as in instance 13 (0>an*il*) where the letters and segmentation points "an*il*" are to be inserted between the letters l and e. The fifth and last class denotes the removal of letters like in the case of instance 15 (ne>0) where the trailing letters "ne" are to be omitted in the canonical segmented wordform.
Kwa mfano wa njia hiyo, Jedwali 1 lina mifano 16 ambayo ilizalishwa kutoka neno la isiZulu ngokuphathelene ("in relation to") pamoja na tabaka zake za mabadiliko ya kimorfolojia na ugawaji zinazozalisha ugawaji wake wa kawaida. Tabaka zilizozalishwa zinaweza kueleza aina tano tofauti za mabadiliko, ya kwanza inawakilishwa katika mfano 1 kwa tabaka ya "=". Hii inaonyesha kwamba hakuna mabadiliko au mgawanyiko unafanyika katika hatua ya sasa ya mkazo katika fomu ya awali ya uso. Madarasa haya yanaashiria kutokuwa na tofauti kati ya umbo la uso na ugawaji kikanuni kwa muktadha wa kulia katika sehemu ya mkazo. Aina ya pili ya darasa inawakilishwa katika kielelezo cha 4 (o>a*u*) ambacho ni kielelezo cha mabadiliko ya ubadilishaji. Madarasa haya yamepewa herufi iliyo upande wa kushoto wa sehemu ya kulenga lakini yanaweza kujumuisha herufi kutoka muktadha wa kulia wakati mageuzi yanaathiri herufi nyingi kama katika kisa cha 15 (ne>0). Nyota zozote zilizomo ndani ya darasa zinawakilisha sehemu za ugawaji katika umbo la kikanuni. Kisa cha 6 (*) kinaonyesha nyota kama darasa huru linaloashiria sehemu ya ugawaji katika umbo la kikanuni la neno katika sehemu ya sasa ya kulenga. Aina ya nne ya uainishaji inaonyesha kuingizwa kwa herufi katika mpaka uliotolewa kama katika mfano 13 (0>an*il*) ambapo herufi na alama za kugawanya "an*il*" zinatakiwa kuingizwa kati ya herufi l na e. Darasa la tano na la mwisho linaashiria uondoaji wa herufi kama katika kisa cha 15 (ne>0) ambapo herufi za mwisho "ne" zinapaswa kuachwa katika umbo la neno lililogawanywa kikanuni.
The classes were derived using diminishing longest string matching between the surface and canonical forms to isolate the differences at character level. This yielded an instance base ranging between 447,605 (SS) and 481,153 (NR) that consist of 98 (NR), 122 (SS), 96 (XH), and 124 (ZU) unique classes, but excluding exceptional classes with an occurrence frequency of less than 3. Across all four languages, the most frequent classes are (=) and (*), making up just over 50% of all class instances in each language.
Madarasa yalitolewa kwa kutumia ulinganishaji wa mfuatano mrefu zaidi unaopungua kati ya maumbo ya uso na ya kikanuni ili kutenga tofauti katika kiwango cha herufi. Hii ilitoa msingi wa mfano uliopo kati ya 447,605 (SS) na 481,153 (NR) ambao unajumuisha darasa 98 (NR), 122 (SS), 96 (XH), na 124 (ZU) tofauti, lakini ukiondoa darasa zisizo za kawaida zenye masafa ya tukio ya chini ya 3. Katika lugha zote nne, darasa zinazotokea mara nyingi zaidi ni (=) na (*), zikiwa na zaidi ya asilimia 50 ya matukio yote ya darasa katika kila lugha.
In order to determine which learning algorithm best served the task of canonical segmentation, TiMBL was trained on the generated instances using each of the five k-nearest neighbour algorithms that it accommodates. A parameter search was used as part of this experiment to determine which hyperparameter adjustments could provide the greatest prediction accuracy. Since the two-tier approach relies on the predicted segmentation, it was important to obtain a reliable morphological decomposition to ensure as few errors as possible that may hamper the second tier's capacity to reliably annotate each morpheme with the related morphological analysis. In the end, IB2 was found to provide the greatest accuracy. IB2 operates similarly to other memory-based learning algorithms by keeping instances in memory that contribute to the potential classification of unseen instances during learning and uses a distance metric to determine class association. IB2 however employs an incremental editing strategy where its instance base is seeded with a certain (typically small) number of instances and only adds to instances in memory when it is misclassified by the k-NN classifier. The intention behind this approach is to construct an instance base that naturally establishes boundaries or key instances within memory with deviating or atypical instances to allow for greater generalisation. To further improve generalisation, each windowed instance was also associated with a seventh feature namely, the actual POS tag of the token. This improved the accuracy of predicted segmentation classes by around 1 to 2 percentage points.
Ili kubaini ni algoriti gani ya kujifunza iliyofaa zaidi kazi ya ugawaji wa kikanuni, TiMBL ilifunzwa kwenye vielelezo vilivyozalishwa kwa kutumia kila moja ya algoriti tano za jirani wa karibu zaidi za k-NN ambazo inaziunga mkono. Utafutaji wa parameta ulitumika kama sehemu ya jaribio hili ili kubaini ni marekebisho yapi ya parameta juu yanaweza kutoa usahihi mkubwa zaidi wa utabiri. Kwa kuwa mbinu ya ngazi mbili inategemea ugawaji uliotabiriwa, ilikuwa muhimu kupata utenganishaji wa kimofolojia unaotegemeka ili kuhakikisha makosa machache iwezekanavyo ambayo yanaweza kuzuia uwezo wa ngazi ya pili wa kufafanua kwa uhakika kila mofimu na uchanganuzi wa kimofolojia unaohusiana. Mwishowe, IB2 iligundulika kuwa inatoa usahihi mkubwa zaidi. IB2 inafanya kazi sawa na algoriti nyingine za kujifunza kwa msingi wa kumbukumbu kwa kuweka vielelezo kwenye kumbukumbu vinavyochangia uainishaji unaowezekana wa vielelezo visivyoonekana wakati wa kujifunza na hutumia kipimo cha umbali kubaini uhusiano wa darasa. Hata hivyo, IB2 inatumia mkakati wa kuhariri wa kuongeza ambapo msingi wake wa matukio unawekwa kwa idadi fulani (kawaida ndogo) ya matukio na kuongeza matukio kwenye kumbukumbu tu pale inapokosewa uainishaji na kigawanyaji cha k-NN. Dhamira ya nyuma ya mbinu hii ni kujenga msingi wa vielelezo ambao kwa kawaida huanzisha mipaka au vielelezo muhimu ndani ya kumbukumbu na vielelezo vinavyokengeuka au visivyo vya kawaida ili kuruhusu ujumlishaji mkubwa zaidi. Ili kuboresha zaidi ujumlishaji, kila kielelezo chenye dirisha kilihusishwa pia na kipengele cha saba ambacho ni, lebo halisi ya POS ya tokeni. Hii iliboresha usahihi wa makundi yaliyotabiriwa kwa takriban asilimia 1 hadi 2.
4.2 Tier 2: Morphological Tagging
4.2 Daraja la 2: Uwekaji Tagi wa Kimofolojia
The second tier of the approach entails adopting a POS tagger to model syntactic morpheme classes of canonically segmented tokens. The chosen candidate for this approach is MarMoT, (Müller et al. 2013) given its trainable NLP pipeline and its successful application as a POS tagger on the considered Nguni languages in Du Toit & Puttkammer, 2021. Because morphological classes are context dependent, treating the task of syntactic morphological tagging of morphemes similar to that of POS tagging helps to take advantage of its capacity to learn predictions within the context of a sentence. This is achieved by treating each segmented morpheme as a word and sequentially ordering them to resemble a sentence, thereby realising the internal morpheme composition of a word as local context in their tagging predictions.
Daraja la pili la mkabala huu linahusisha kupitisha kipanga tagi cha POS ili kuiga madarasa ya mofimu za kisintaksia za tokeni zilizogawanywa kikanuni. Mgombea aliyechaguliwa kwa mkabala huu ni MarMoT, (Müller et al. 2013) kutokana na bomba lake la NLP linaloweza kufunzwa na matumizi yake yenye mafanikio kama kipanga tagi cha POS kwenye lugha za Kinguni zilizozingatiwa katika Du Toit & Puttkammer, 2021. Kwa sababu madarasa ya kimofolojia yanategemea muktadha, kuchukulia kazi ya uwekaji tagi wa kimofolojia wa kisintaksia wa mofimu sawa na ule wa uwekaji tagi wa POS kunasaidia kuchukua fursa ya uwezo wake wa kujifunza utabiri ndani ya muktadha wa sentensi. Hili linafikiwa kwa kuchukulia kila mofimu iliyogawanywa kama neno na kuzipanga kwa mfuatano ili kufanana na sentensi, hivyo kutambua muundo wa ndani wa mofimu wa neno kama muktadha wa karibu katika utabiri wao wa tagi.
The segmented morphemes are provided to the tagger as words along with the actual POS tag of the word as an additional feature. This improved the quality of its syntactic morphological class predictions by increasing the tagging accuracy by around 1 to 3 percentage points.
Mofimu zilizogawanywa hutolewa kwa kipanga tagi kama maneno pamoja na tagi halisi ya POS ya neno kama kipengele cha ziada. Hii iliboresha ubora wa utabiri wake wa darasa la kimofolojia ya kisintaksia kwa kuongeza usahihi wa uwekaji tagi kwa takriban pointi za asilimia 1 hadi 3.
5 Results
5 Matokeo
The annotated data developed as part of this project is divided according to an approximate 90% training and 10% test split. Without including any punctuation, the following token counts make up each dataset split.
Data iliyochorwa iliyotengenezwa kama sehemu ya mradi huu imegawanywa kulingana na mgawanyiko wa takriban 90% ya mafunzo na 10% ya majaribio. Bila kujumuisha alama yoyote ya uakifishaji, hesabu zifuatazo za tokeni zinaunda kila mgawanyo wa seti ya data.
Table 2: Token counts per language dataset
Jedwali la 2: Hesabu za tokeni kwa kila seti ya data ya lugha

To evaluate the segmentation competency of TiMBL, the before-mentioned test sets were first transformed into windowed instances of 6 letters and segmentation rules were generated. Each instance was then associated with the transformation and segmentation rule as its intended classification. The instances also included the POS tag of the token as a seventh, additional feature alongside its 6 windowed letters. Finally, the four trained TiMBL models were evaluated by presenting the windowed instances for classification. By comparing the class predictions to the intended segmentation rules, a prediction accuracy ranging between 96% and 98% was achieved for each of the language-specific models. These results are listed in Table 3.
Ili kutathmini uwezo wa kugawanya wa TiMBL, seti za majaribio zilizotajwa hapo awali zilibadilishwa kwanza kuwa mifano ya dirisha ya herufi 6 na sheria za kugawanya zilizalishwa. Kila tukio kisha lilihusishwa na ubadilishaji na kanuni ya mgawanyiko kama uainishaji uliokusudiwa. Vielelezo pia vilijumuisha lebo ya POS ya tokeni kama kipengele cha saba, cha ziada pamoja na herufi zake 6 zenye madirisha. Hatimaye, mifano minne iliyofundishwa ya TiMBL ilitathminiwa kwa kuwasilisha mifano ya dirisha kwa ajili ya uainishaji. Kwa kulinganisha utabiri wa darasa na sheria za kugawanya zilizokusudiwa, usahihi wa utabiri kati ya 96% na 98% ulipatikana kwa kila moja ya mifano maalum ya lugha. Matokeo haya yameorodheshwa kwenye Jedwali 3.
Table 3: Segmentation and transformation rule class prediction accuracy
Jedwali 3: Usahihi wa utabiri wa sheria za ugawaji na ubadilishaji wa daraja

Similarly, to evaluate the syntactic morphological tagging competency of MarMoT, the test set of tokens were segmented into their intended morphemes and associated morphological tags.
Vivyo hivyo, ili kutathmini uwezo wa MarMoT wa kuweka alama za kimorfolojia na kisintaksia, seti ya majaribio ya vitengo viligawanywa katika morfemi zao zilizokusudiwa na alama zao zinazohusiana za kimorfolojia.
The test sets were then presented to MarMoT for tagging along with the POS tag of the token as additional feature. By comparing the predicted morphological tags to the intended tags, a prediction accuracy ranging between 91% and 96% was achieved for each of the language-specific models. These results are listed in Table 4.
Seti za majaribio ziliwasilishwa kwa MarMoT kwa ajili ya utambulishaji pamoja na kitambulisho cha POS cha tokeni kama kipengele cha ziada. Kwa kulinganisha alama za kimaumbo zilizotabiriwa na zile zilizokusudiwa, usahihi wa utabiri kati ya asilimia 91 na 96 ulipatikana kwa kila moja ya mifano ya lugha maalum. Matokeo haya yameorodheshwa kwenye Jedwali 4.
Table 4: Prediction accuracy for syntactic morpheme tagging
Jedwali la 4: Usahihi wa utabiri wa utambulishaji wa mofimu za kisintaksia

Finally, the combined accuracy of both tiers was evaluated by cascading the resulting canonical segmentation into MarMoT for syntactic morphological tagging. This was performed by applying the predicted transformation and segmentation rules in the first tier to the tokens in the test set to produce the canonically segmented morphemes. These morphemes were then tagged by MarMoT to obtain their syntactic morphological class. The results of the first tier were evaluated by comparing the number of corresponding morphemes between the intended test set of canonical segmentation and the predicted rule-based transformation of the token. Similarly, the morphological tag and morpheme associations were evaluated by comparing the predicted morpheme and tag pairs to the intended test set pairings for each token. These results are listed in Table 5.
Hatimaye, Usahihi wa pamoja wa ngazi zote mbili ulitathminiwa kwa kusambaza ugawaji wa kikanuni uliotokea ndani ya MarMoT kwa ajili ya utambulishaji wa kimofolojia wa kisintaksia. Hii ilifanywa kwa kutumia sheria za mabadiliko na uainishaji zilizotabiriwa katika ngazi ya kwanza kwa vitengo vya seti ya majaribio ili kuzalisha morfemi zilizogawanywa kwa kanuni. Mofimu hizi kisha zilitambulishwa na MarMoT ili kupata daraja lao la kimofolojia ya kisintaksia. Matokeo ya daraja la kwanza yalitathminiwa kwa kulinganisha idadi ya mofimu zinazolingana kati ya seti ya majaribio iliyokusudiwa ya ugawaji wa kikanuni na mabadiliko yaliyotabiriwa yenye msingi wa sheria ya tokeni. Vivyo hivyo, uhusiano wa tagi ya kimofolojia na mofimu ulitathminiwa kwa kulinganisha jozi za mofimu na tagi zilizotabiriwa na jozi za seti ya majaribio iliyokusudiwa kwa kila tokeni. Matokeo haya yameorodheshwa kwenye Jedwali 5.
Table 5: Canonical segmentation and morphological tagging prediction accuracy
Jedwali la 5: Usahihi wa utabiri wa ugawaji wa kikanuni na utambulishaji wa kimofolojia

6 Conclusion
6 Hitimisho
To ensure the continued development of human language technologies, it is important that resources be developed and distributed. We have described one such effort funded by the South African government for four resource-scarce Nguni languages. These resources are available as open-source modules from the SADiLaR resource catalogue and can aid researchers and developers in improving and furthering the reach of language technology. Furthermore, the approaches taken toward morphological analysis at the morpheme level of agglutinative languages may also provide evidence for its viability and applicability to similar languages. The lexical resources provided as part of this project will enable further improvements and alternative approaches in developing related language technologies.
Ili kuhakikisha maendeleo endelevu ya teknolojia za lugha za binadamu, ni muhimu kwamba rasilimali zitengenezwe na kusambazwa. Tumeelezea jitihada moja kama hiyo iliyofadhiliwa na serikali ya Afrika Kusini kwa lugha nne za Nguni zenye uhaba wa rasilimali. Rasilimali hizi zinapatikana kama moduli za Programu huria kutoka katalogi ya rasilimali ya SADiLaR na zinaweza kuwasaidia watafiti na watengenezaji katika kuboresha na kupanua ufikiaji wa teknolojia ya lugha. Zaidi ya hayo, mbinu zilizochukuliwa kuelekea uchanganuzi wa kimofolojia katika kiwango cha mofimu cha lugha ambatishi zinaweza pia kutoa ushahidi wa uwezekano wake na utumikaji wake kwa lugha zinazofanana. Rasilimali za maneno zilizotolewa kama sehemu ya mradi huu zitawezesha uboreshaji zaidi na mbinu mbadala katika kuendeleza teknolojia zinazohusiana na lugha.
Acknowledgements
Shukrani
This research was made possible with the support from the South African Centre for Digital Language Resources (SADiLaR). SADiLaR is a research infrastructure established by the Department of Science and Innovation (DSI) of the South African government as part of the South African Research Infrastructure Roadmap (SARIR).
Utafiti huu uliwezekana kwa msaada wa Kituo cha Afrika Kusini cha Rasilimali za Lugha za Kidigitali (SADiLaR). SADiLaR ni miundombinu ya utafiti iliyoanzishwa na Idara ya Sayansi na Ubunifu (DSI) ya serikali ya Afrika Kusini kama sehemu ya Ramani ya Miundombinu ya Utafiti ya Afrika Kusini (SARIR).
Notes
Maelezo
1 https://ufal.mff.cuni.cz/udpipe/2
2 http://cistern.cis.lmu.de/marmot/
3 https://repo.sadilar.org/handle/20.500.12185/7
References
Marejeo
Bosch, S, Jones, J, Pretorius, L & Anderson, W 2006, 'Resource development for South African Bantu languages: computational morphological analysers and machine-readable lexicons' In Proceedings on the Workshop on Networking the Development of Language Resources for African Languages at the 5th International Conference on Language Resources and Evaluation, pp. 38-43.
Daelemans, W, Zavrel, J, Van Der Sloot, K & Van den Bosch, A 2004, TiMBL: Tilburg memory-based learner, version 6.4: reference guide, Tilburg, Tilburg University.
Du Toit, JS & Puttkammer, MJ 2021, Developing Core Technologies for Resource-scarce Nguni Languages. Manuscript submitted for publication.
Eiselen, R & Puttkammer, MJ 2014, 'Developing Text Resources for Ten South African Languages', In Proceedings of the 9th International Conference on Language Resources and Evaluation (LREC 2014), pp. 3698-3703.
Gaustad, T & Puttkammer, MJ 2021, Linguistically annotated dataset for four official South African languages with a conjunctive orthography: isiNdebele, isiXhosa, isiZulu, and Siswati. Manuscript submitted for publication.
Müller, T, Schmid, H & Schütze, H 2013, 'Efficient higher-order CRFs for morphological tagging.' In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 322-332.
Pilon, S, Puttkammer, MJ & Van Huyssteen, GB, 2008. 'Die ontwikkeling van 'n woordafbreker en kompositumanaliseerder vir Afrikaans', Journal of Literary Criticism, Comparative Linguistics and Literary Studies, vol. 29 no. 1, pp. 21-41.
Prinsloo, DJ & De Schryver, GM 2002, 'Towards an 11 x 11 array for the degree of conjunctivism/disjunctivism of the South African languages', Nordic Journal of African Studies, vol. 11 no. 2, pp. 249-265.
Ruokolainen, T, Kohonen, O, Virpioja, S & Kurimo, M 2013, 'Supervised morphological segmentation in a low-resource learning setting using conditional random fields' In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 29-37.
Sorokin, A & Kravtsova, A 2018, 'Deep convolutional networks for supervised morpheme segmentation of Russian language' In Conference on Artificial Intelligence and Natural Language, pp. 3-10
Straka, M 2018, 'UDPipe 2.0 prototype at CoNLL 2018 UD shared task' In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pp. 197-207.
Van den Bosch, A & Daelemans, A 1999, 'Memory-based morphological analysis' In Proceedings of the 37th annual meeting of the association for computational Linguistics, pp. 285-292.
Zalmout, N & Habash, N 2017, 'Don't throw those morphological analyzers away just yet: Neural morphological disambiguation for Arabic' In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 704-713.
References (from OpenAlex)
The paper's own reference list stays in the text above. This list comes from OpenAlex (CC0) and can differ from it. Titles are shown in their original language.
- OpenAlex W1485957917OpenAlex
- Die ontwikkeling van ’n woordafbreker en kompositumanaliseerder vir AfrikaansSuléne Pilon, 2008, Literator · DOI
- Memory-based morphological analysisAntal P. J. van den Bosch, 1999, Proceedings of the conference - Association for Computational Linguistics. Meeting · DOI
- TOWARDS AN 11 X 11 ARRAY FOR THE DEGREE OF CONJUNCTIVISM / DISJUNCTIVISM OF THE SOUTH AFRICAN LANGUAGESDanie J. Prinsloo, 2002, Nordic journal of African studies · DOI
- Efficient Higher-Order CRFs for Morphological TaggingThomas Mueller, 2013, Conference on Empirical Methods in Natural Language Processing (EMNLP) · DOI
- Supervised Morphological Segmentation in a Low-Resource Learning Setting using Conditional Random FieldsTeemu Ruokolainen, 2013, Conference on Computational Natural Language Learning · OpenAlex
- Developing Text Resources for Ten South African LanguagesRoald Eiselen, 2014, Language Resources and Evaluation Conference (LREC) · DOI
- Don't Throw Those Morphological Analyzers Away Just Yet: Neural Morphological Disambiguation for ArabicNasser Zalmout, 2017, Conference on Empirical Methods in Natural Language Processing (EMNLP) · DOI
- Deep Convolutional Networks for Supervised Morpheme Segmentation of Russian LanguageAlexey Andreevich Sorokin, 2018, Communications in computer and information science · DOI
- Developing Core Technologies for Resource-Scarce Nguni LanguagesJakobus S. du Toit, 2021, Information · DOI
Cited by
How to cite
Cite the original paper for its content and results. Cite the translation when you quote the translated wording.
Cite the original paper
Du Toit, J. S., & Puttkammer, M. J. (2021). Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages. Journal of the Digital Humanities Association of Southern Africa. https://upjournals.up.ac.za/index.php/dhasa/article/view/3818
@article{dutoit2021canonical,
title = {{Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages}},
author = {Jakobus S. Du Toit and Martin J. Puttkammer},
journal = {Journal of the Digital Humanities Association of Southern Africa},
year = {2021},
url = {https://upjournals.up.ac.za/index.php/dhasa/article/view/3818}
}TY - JOUR AU - Du Toit, Jakobus S. AU - Puttkammer, Martin J. TI - Canonical Segmentation and Syntactic Morpheme Tagging of Four Resource- scarce Nguni Languages JO - Journal of the Digital Humanities Association of Southern Africa PY - 2021 UR - https://upjournals.up.ac.za/index.php/dhasa/article/view/3818 LA - en ER -
Translations have their own pages, each with a citation.