Abstract

Large language models are frequently proposed as a route to AI-powered services for African communities, but they are least reliable exactly where the need is greatest: all African languages remain low-resource by any standard measure, and models trained on scraped, standardised text systematically misrepresent the dialectal and regional variation of how people actually speak. We introduce \textbf{Model as a Library (MaaL)}, a software architecture that packages small, community-enrolled speech models as versioned on-device dependencies, enabling offline structured data collection that cannot generatively hallucinate, for populations that current language models serve worst. Rather than relying on web-scraped corpora, MaaL's vocabulary is enrolled directly from a small number of example recordings by the speakers themselves, at the point of deployment. We describe the architecture and its central mechanism - keyword spotting that turns a closed-vocabulary text form into a voice form, filled and submitted entirely on-device - and propose transpiling the closed-vocabulary elements already present in widely-deployed digital form tools into MaaL schemas, a low-friction path to voice-first, offline data collection for the low-literacy populations these tools already reach. This is a position and system-design paper: we describe the concept, the mechanism, and an analytical feasibility case, and identify what a working implementation still requires.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Louis, F. K. E. J. (2026). Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages. https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages

MLA 9

Louis, Fendji K. E. Jean. "Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages." https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages.

Chicago (author–date)

Louis, Fendji K. E. Jean. 2026. "Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages." https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages.

Harvard

Louis, F. K. E. J. (2026) 'Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages', Available at: https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages.

Vancouver

Louis FKEJ. Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages. https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages

IEEE

F. K. E. J. Louis, "Towards Model as a Library: Offline, Community-Sourced AI for Low-Resource African Languages," https://omanscience.com/en/articles/towards-model-as-a-library-offline-community-sourced-ai-for-low-resource-african-languages.