Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

ReaganHuang/wolof-language-model

Domain:

natural language processing

Record type:

model
Creator:
Rea
Host:
Built language models for the African language Wolof. For this study, we mainly focus on Senegalese Wolof, and more precisely on the urban Wolof. # Wolof-language-model Wolof (/ˈwoʊlɒf/) is a language of Senegal. About 12 million people speak this language in Africa. This project aims at builting language models for Wolof without labels. For this study, we mainly focus on Senegalese Wolof, and more precisely on the urban Wolof. Following are the steps of the process of a statistical language model and a neural network. ### Statistical Language Model - **scrape data from wolof Wikipedia** (reference: github.com) * run WikiExtractor.py and get html files * save all html files in one: `cat * > allhtml.html` - **clean the Wikipedia data** (with cld2) * run clean_text.py to clean Wikipedia data `python clean_text.py all.html > cleaned_Wiki.txt` - **retrieve other data** from github.com - **build a statistical language model** * statistical language model and its predictions using NLTK - **validating using perplexity** * performance of a specific model * compare models that are built with different data source ### RNN based Language Model - **scrape data from Wolof Wikipedia by article** (reference: github.com) - **create labels** * scrape the translation for Wolof Wikipedia articles * Label each article as "geo" or "nongeo" - **build an RNN based language model** * scrape the translation for Wolof Wikipedia articles `python online_translator.py WikiArticleWithTitle.csv` * Label each article as "geo" or "nongeo" manually according to the title translation * Language model with fast.ai - **prediction and validation**

Visit

github.com

Tasks

language modeling

Languages

Wolof