Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 4 March 2025

A Generic Syntax Analyzer for the Computerization of African Languages

Yahaya Morou Ganda1, Harouna Naroua1 & Bachir Moussa Idi1

Journal of Computer Science, Volume 21, Issue 4, pp. 810–816 · doi.org/10.3844/jcssp.2025.810.816

4,342 accesses2,184 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

This article enters within the framework of a contribution to the computerization of African Languages. It presents a generic parsing tool designed for West African languages despite their individual specificities. The genericity of the tool resides in the fact that it is adaptable to any West African language while using a minimum of resources. It only needs an etiquette dictionary and context-free grammar. From these two resources, the tool is designed to generate an LR (1) parser. The choice of this technique is based on its supremacy over other techniques despite its disadvantage of generating an exponentially large parsing table. However, to reduce the size of the automaton while maintaining the power of the technique, the system brings together dictionary entries depending on their type, gender, and number in the form of terminals. The results obtained show that it is possible to generate a relatively small and efficient analysis table instead of a large one. An application of the proposed tool to the Hausa nominal phrases has succeeded in reducing the number of terminals from more than 10,000 to only 88. Instead of having an automaton with thousands of states, we end up with an automaton with only 198 states.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Ganda, Y. M., Naroua, H. & Idi, B. M. (2025). A Generic Syntax Analyzer for the Computerization of African Languages. Journal of Computer Science, 21(4), 810–816. https://doi.org/10.3844/jcssp.2025.810.816

Licence
CC BY 4.0
Issue
Volume 21, Issue 4
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
A Generic Syntax Analyzer for the Computerization of African LanguagesJournal of Computer Science · Volume 21, Issue 4 · pp. 810–816 · CC BY 4.0Download