Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

SwaRegex: a lexical transducer for the morphological segmentation of swahili verbs

Domain:

natural language processing

Record type:

software
Creator:
MutMutOma
Publisher:
Mer
Host:
The morphological syntax of the Swahili verb comprises 10 slots. In this work, we present SwaRegex, a novel rule-based model for the morphological segmentation of Swahili verbs. This model is designed as a lexical transducer, which accepts a verb as an input string and outputs the morphological slot occupied by the morphemes in the input string. SwaRegex is based on regular expressions developed using the C# programming language. To test the model, we designed a web scraper that obtained verbs from an online Swahili dictionary. The scrapper separated the corpus into two datasets: dataset A, comprising 163 verbs Bantu origin; and dataset B, containing the entire set of 715 non-Arabic verb entries obtained by the web scrapper. The performance of the model was tested against a similar model designed using the Xerox Finite State Tools (XFST). The regular expressions used in both models were the same. SwaRegex outperformed the XFST model on both datasets, achieving a 98.77% accuracy on dataset A, better than the XFST model by 41.1%, and a 68.67% accuracy on dataset B, better than the XFST model by 38.46%. This work is beneficial to prospective learners of Swahili, by helping them understand the syntax of Swahili verbs, and is an integral teaching aid for Swahili. Search engines will benefit from the lexical transducer by leveraging its finite state network when lemmatizing search terms. This work will also create more opportunities for more research to be done on Swahili.

Visit

doi.org

Languages

Swahili

Similar

Morphological parsing of Swahili using crowdsourced lexical resourcesAn investigation of a lexical segmentation strategy for AfrikaansDesign and Development of Morphological Analyzer for Tigrigna Nouns Using Finite State Transducer TechniquesSheldonReay/Morphological-SegmentationMorphological Segmentation and Part-of-Speech Tagging for the Arabic HeritageThe lexical semantics of verbs in the Babanki food domain

Morphological parsing of Swahili using crowdsourced lexical resources

An investigation of a lexical segmentation strategy for Afrikaans

Design and Development of Morphological Analyzer for Tigrigna Nouns Using Finite State Transducer Techniques

SheldonReay/Morphological-Segmentation

Honours Project dealing with the NLP task of Morphological Segmentation of the Nguni language group

Morphological Segmentation and Part-of-Speech Tagging for the Arabic Heritage

We annotate 60,000 words of Classical Arabic (CA) with topics in philosophy, religion, literature, a

The lexical semantics of verbs in the Babanki food domain

International audience In this paper we investigate the semantics of verbs in Babanki