Skip to article

J'aime ma langue goes open source: 10 things we engineers can build

Challenges and licence

Part 4 of 5

Technical challenges to know

Tones. Fongbe is a tonal language. The corpus transcriptions mark three tones, and these accents are not decoration: they carry meaning. They must be handled in transcription, in evaluation (a model that drops tones can look good with a classic WER) and in tokenisation, the way text is split before being fed to the model. Also normalise Unicode the same way everywhere: an accented letter can be written in several ways.

  • áHigh tone
  • àLow tone
  • ǎRising tone
The three tones marked in the corpus transcriptions, according to its Hugging Face card: high (acute accent), low (grave accent), rising (caron).

Little written text. There is much more spoken Fongbe than written Fongbe. Purely text-based language models therefore lack data: speech is the main resource here.

Speaker diversity. The project is especially looking for women's and elders' voices. A model trained on unbalanced data will understand under-represented people less well. Measure these gaps.

Code-switching. In real life, people switch from Fongbe to French within the same sentence. Services must handle it without failing.

Field constraints. Unstable connections, the cost of mobile data, basic phones: favour lightweight models, on-device inference where possible, and voice and USSD channels.

Evaluation. To compare models honestly, use FonBench rather than a home-made test set: its test set is private and its speakers are not those used for training.

Licence and responsibility

The corpus is released under the CC-BY-SA-4.0 licence. In practice:

  • you may reuse it freely, including in a commercial product;
  • you must credit J'aime ma langue (attribution);
  • if you share a derivative work, you must distribute it under the same licence (share-alike).

Ethics matter as much as the licence. Contributors gave their voices voluntarily: let us respect that consent. Let us not clone real people's voices without their agreement, and let us protect the data of the users of the services we build, especially in health and finance.