Subword Tokenization and Orthographic Normalization for Yorùbá

Subword Tokenization and Orthographic Normalization for Yorùbá

🎙 Machine Learning Lagos 👥 285 📅 September 29, 2026 ⏱ 58 min 👁 40 📄 tutorial 🧭 2026-10-08
Available in: English (current) Français

Keywords

Yorùbásubword tokenizationorthographic normalizationdiacriticslow-resource NLP

Summary

This session, presented by a developer from the Machine Learning Lagos community, introduces the challenges of processing Yorùbá text for natural language processing. It begins with basic definitions of tokenization, subword tokenization, and orthographic normalization, explaining how computers break text into smaller units and convert them into numerical representations. The speaker then focuses on why Yorùbá breaks standard NLP pipelines: the language uses underdots and tone marks (diacritics) that are often omitted in informal writing, leading to ambiguity and multiple spellings of the same word. The talk covers Unicode normalization forms NFC and NFD, explaining how composed and decomposed representations affect the handling of diacritics. It also discusses tokenization algorithms such as BPE, WordPiece, SentencePiece, and the AfroXLMR model, and the trade-offs of small vocabularies for African languages. The speaker presents an experiment comparing zero-shot and fine-tuned approaches for Yorùbá sentiment analysis, and introduces yotext, an open-source Python library for Yorùbá text preprocessing, cleaning, stripping, and diacritic restoration. The library currently reports 87% accuracy, with ongoing development. The presentation is informal, with some technical imprecisions and no external citations.

179 words

Critical Evaluation

Value of the Information & Strength of the Argument

The informational value is moderate: the talk provides a practical introduction to a real problem in low-resource NLP and showcases a concrete tool (yotext) that can be used by practitioners. It explains key concepts such as subword tokenization, Unicode normalization, and diacritic handling in an accessible way, which is useful for newcomers to Yorùbá NLP. However, the depth is limited: the sentiment experiment is mentioned but not detailed, and no quantitative results, datasets, or evaluation metrics are provided beyond the library’s accuracy. The argumentation is largely descriptive and relies on the speaker’s personal experience rather than on systematic evidence. The reasoning is sometimes circular or imprecise, and the speaker acknowledges time constraints, which leads to rushed explanations. The value lies mainly in raising awareness and pointing to a practical resource, not in advancing a rigorous scientific argument.

Scientific Rigor, Source Quality, Title Accuracy

Scientific rigor is low: no references, papers, or datasets are cited, and the technical explanations contain inaccuracies (e.g., conflating NFKC with sparse autoencoders, vague descriptions of BPE and SentencePiece). The source quality is essentially the speaker’s own work and community context, with no external validation. The title/content adequacy is good: the talk does address subword tokenization and orthographic normalization for Yorùbá, though the treatment is superficial and disorganized. No comments were provided, so no audience analysis is included.

230 words

Title / Content Match

The title matches the content: the talk covers subword tokenization, orthographic normalization, diacritics, and a Yorùbá sentiment experiment. However, the delivery is disorganized and the promised depth is only partially delivered.

Quality & Reliability

5/10

The talk is a practitioner walkthrough of a real open-source library (yotext) and a sentiment-analysis experiment, but it contains no citations, no quantitative results beyond a single accuracy figure, and several imprecise or incorrect technical statements (e.g. confusing NFKC with 'sparse autoencoders', describing BPE loosely). The speaker is transparent about limitations, which supports credibility, but the absence of verifiable sources and data keeps the reliability score moderate.

Key Moments

Contribution & Novelties

The talk’s main contribution is the presentation of yotext, an open-source Python library specifically designed for Yorùbá text preprocessing, including normalization, syllabification, and diacritic restoration. It also shares practical insights from a sentiment analysis experiment comparing zero-shot and fine-tuned models for Yorùbá, highlighting the importance of orthographic normalization. The session is valuable for practitioners working on low-resource African languages, offering a concrete tool and a case study.

Pour aller plus loin :

112 words

Radar Profile

The radar profile shows moderate information quantity and technical level, with lower quality and reliability due to the lack of citations and rigorous methodology. The talk is practical but not scientifically deep.

Reliability 5/10