CoolFace
Datasetpublic

ghananlpcommunity/twi-english-citizens-budget

This dataset is shared under CC BY-NC 4.0, which means you are free to use, share, and adapt it for non-commercial research and educational purposes with attribution. You can read the full license at https://creativecommons.org/licenses/by-nc/4.0/. Twi–English Citizens' Budget Parallel Corpus 317 Asante Twi ↔ English parallel sentences in the economy / public-finance domain, extracted and aligned from the Government of Ghana Citizens' Budget publications (2022 and 2023… See the full description on the dataset page: https://huggingface.co/datasets/ghananlpcommunity/twi-english-citizens-budget.

sourceHugging Facecc-by-nc-4.0updated 3mo agoView on Hugging Face
0likes28downloads
Dataset Card
This dataset is shared under CC BY-NC 4.0, which means you are free to use, share, and adapt it for non-commercial research and educational purposes with attribution. You can read the full license at https://creativecommons.org/licenses/by-nc/4.0/.

Twi–English Citizens' Budget Parallel Corpus

317 Asante Twi ↔ English parallel sentences in the economy / public-finance domain, extracted and aligned from the Government of Ghana *Citizens' Budget* publications (2022 and 2023 editions, translated by the Bureau of Ghana Languages).

Fields

fielddescription
twiAsante Twi sentence
englishEnglish sentence
yearsource publication year (2022 / 2023)
qe_scoreP(correct translation) from `ghananlpcommunity/twi-eng-qe-e5`
anchor_simlexical-anchor similarity from the structural aligner (shared numbers, retained English terms, length ratio)
domain, sourceconstant metadata

For a high-precision subset, filter qe_score >= 0.9 (~189 pairs). Pairs with qe_score < 0.7 were admitted on strong lexical anchors (anchor_sim >= 0.45); spot-checks show these are mostly correct, number-dense sentences that the QE model under-rates.

How it was built

The 2022 PDFs embed legacy Ghanaian fonts with broken ToUnicode maps, so the extracted text is a per-font substitution cipher — cracked with character quadgram statistics from the clean 2023 documents plus manual cribs, and digits cross-validated between the two language versions. Sentences were aligned with a monotone dynamic-programming aligner driven by lexical anchors, then filtered with the GhanaNLP Twi-English QE model. Full pipeline: <https://github.com/michsethowusu/citizens-budget-aligned>

The 2021 edition exists only as a scanned PDF; its OCR-derived pairs are excluded from this release (available as silver data in the GitHub repo).

Attribution

Source text © Government of Ghana, Ministry of Finance — Citizens' Budget publications; Twi translations by the Bureau of Ghana Languages. Alignment and curation by the GhanaNLP community.