fiifinketia/pristine-twi
Pristine Twi Dataset A large-scale Twi language dataset containing clean and naturally sounding Twi text across four distinct styles — monologue, narrative, dialogue, and storytelling — generated from real Ghanaian news topics as inspiration to keep it grounded on Ghanaian named entities and vocabulary. This dataset was built to support the development of Twi language models, tokenizers, and other NLP tools for the Akan language family. Dataset Details Field… See the full description on the dataset page: https://huggingface.co/datasets/fiifinketia/pristine-twi.
Pristine Twi Dataset
A large-scale Twi language dataset containing clean and naturally sounding Twi text across four distinct styles — monologue, narrative, dialogue, and storytelling — generated from real Ghanaian news topics as inspiration to keep it grounded on Ghanaian named entities and vocabulary.
This dataset was built to support the development of Twi language models, tokenizers, and other NLP tools for the Akan language family.
Dataset Details
Columns
Text Styles
The dataset contains Twi text categorized into four distinct styles:
- Monologue (ɔkasafo biako) — passionate, personal perspective
- Narrative (abakɔsɛm) — journalistic, structured account
- Dialogue (nkɔmmɔdie) — conversational exchange
- Storyful (anansesɛm) — dramatic, metaphorical storytelling
Generation
Text was generated using the Gemini API with Ghanaian news paragraphs as prompts, separated into stylistic chunks, then cleaned to remove speaker labels, markdown artifacts, and any responses that failed Twi language validation.
The code for generating the dataset can be found here: https://github.com/GhanaNLP/NLP-scripts/blob/main/text/generate_twi-gemini.py
Made with ❤️ by Mich-Seth Owusu for the Ghana NLP Community
