← Latest papers
💻 computer science

Machine Translation for Kusaal: A Parallel Corpus and an Open-Source System

This paper presents the creation of a 34,568-pair Kusaal-English parallel corpus and an open-source bidirectional machine translation system fine-tuned from NLLB-200, which achieves competitive BLEU scores while also documenting critical data corruption issues and correcting errors from a previous version.

Original author: Prince Nasamu Alhassan

Published 2026-11-27
📖 6 min read🧠 Deep dive

Original author: Prince Nasamu Alhassan

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

Language is the bridge that connects people to information, to each other, and to the systems that govern daily life. For most of the world, this bridge is built with digital tools that allow a person to type in one language and receive a clear, accurate translation in another. However, for hundreds of millions of people, this bridge is missing. They speak languages that have never been taught to the computers that power modern translation. These are not languages without speakers or history; they are languages with rich grammars, established writing systems, and vibrant communities, yet they exist in the digital world as if they do not exist at all. When a speaker of such a language needs to read a medical form, understand a land deed, or receive farming advice, they must rely on English or on a human interpreter. The challenge for researchers is not just to build a translator for these languages, but to do so with very little data, often starting from scratch with only a few thousand examples instead of the billions used for major global languages.

A researcher named Prince Nasamu Alhassan has taken on this task for Kusaal, a language spoken by roughly 420,000 people in the Upper East Region of Ghana, with additional speakers in Burkina Faso and Togo. Kusaal is a well-documented language with a published grammar and a complete translation of the Bible, yet it had never been included in major open-source translation systems. Alhassan, a native speaker of Kusaal, set out to build the first open-source machine translation system for the language. He did not simply download existing data; he assembled a new collection of 34,568 sentence pairs linking Kusaal and English from six different sources, ranging from religious texts and dictionaries to daily life conversations and synthetic data generated by computers. He then used this collection to teach a powerful, pre-existing translation model how to understand and speak Kusaal. The result is a working system that can translate between Kusaal and English in both directions, along with the data and code needed for others to improve upon it.

The work began with the difficult task of gathering enough text to teach a computer. Alhassan collected data from six distinct sources, including a digital version of the Bible, a vocabulary index, a dictionary database, and a previous release of language data from a group called GhanaNLP. He also added a small amount of synthetic data, where English sentences were translated into Kusaal by an earlier version of the model he was building, creating a feedback loop to expand the dataset. After cleaning the data and removing duplicates, he was left with a corpus of 34,568 pairs. This collection was heavily skewed toward religious text, with the Bible making up nearly two-thirds of the material. This imbalance meant the model would learn the formal, structured language of scripture very well, but might struggle with the casual, everyday speech used in local markets. Despite this limitation, the dataset provided the necessary foundation to train a model that had never seen the language before.

To teach the computer, Alhassan started with a large, pre-trained translation model called NLLB-200, which already knew how to translate 200 different languages. He added Kusaal to this model as a new language token, essentially giving the computer a new label to recognize. A critical step in this process was deciding how to initialize the computer's understanding of this new language. The initial plan was to copy the computer's existing knowledge of Dagbani, a closely related language, to give the new Kusaal system a head start. However, a later review of the code revealed a silent error: the computer did not have a Dagbani entry to copy from. Instead, it had unknowingly copied a generic "unknown" entry. While this was a mistake in the method, the final model still learned to translate effectively, suggesting that the system was robust enough to learn the language from the data itself, even without the intended shortcut.

The performance of the new system was measured using a standard test set of 1,000 sentences that the model had never seen before. When translating from Kusaal into English, the system achieved a score of 31.12, a result that indicates a functional ability to convey meaning, though it is not perfect. When translating from English into Kusaal, the score was lower at 19.96. This gap is expected because the model was already very strong in English from its initial training, but it had to learn the complex structure of Kusaal from scratch. The lower score in the English-to-Kusaal direction also reflects the difficulty of the task: Kusaal is a tonal language where the pitch of a word changes its meaning, but the written text used for training does not mark these tones. The computer, seeing only the letters, cannot recover the missing tonal information, which limits how accurately it can generate natural-sounding Kusaal.

The paper also highlights the hidden dangers of working with small datasets. During the construction of the corpus, Alhassan discovered two silent data corruptions that would have gone unnoticed without careful checking. In one case, a computer script had stored HTML code instead of the actual text for thousands of Bible verses, a flaw that was invisible when simply counting the number of rows. In another, a software error caused the computer to silently drop hundreds of sentences because of formatting issues with apostrophes, reducing the total data without raising any alarms. These errors underscore the fragility of low-resource language projects, where losing even a small percentage of data can significantly impact the final result. The researcher corrected these issues and documented them to warn others in the field.

Ultimately, this work provides a functional starting point for Kusaal language technology. The model, the data, and the code have all been released to the public, allowing other researchers to build upon them. The system is not a finished product; it struggles with the dialect spoken in the western part of the Kusaal region and with the informal language of daily life, as it was trained mostly on formal religious texts. However, it represents a significant step forward, moving Kusaal from a language with no digital translation tools to one with an open, accessible system. The work demonstrates that even with limited data and the presence of errors, native speakers can successfully guide the development of technology that serves their communities, turning a gap in the digital world into a bridge for the future.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →