--- language: - yue pretty_name: "Cantonese (yue) G2P Dataset" tags: - g2p license: "cc-by-4.0" task_categories: - text2text-generation --- # g2p Dataset (retag) - Cantonese (yue) ## Description The Cantonese (yue) language corpus for the G2P (Grapheme-to-Phoneme) task consists of 68,500 Cantonese words/phrases, along with corresponding phonetic transcriptions for randomly selected polyphonic characters. This dataset is retag from [https://huggingface.co/datasets/Naozumi0512/g2p-Cantonese-aggregate](Naozumi0512/g2p-Cantonese-aggregate) which included updated POS tag generated using pycantonese instead. As original it is formatted to align with the [CPP (Chinese Polyphones with Pinyin)](https://github.com/kakaobrain/g2pM?tab=readme-ov-file#the-cpp-dataset) structure. ## Languages - Cantonese (yue) # File Descriptions *.sent: Contains words/sentences, with one polyphonic character wrapped by an ANCHOR_CHAR (▁) [Not underscore] per line. Only one polyphonic character is marked per sentence, distributed randomly for maximum coverage and even distribution. *.lb: Matches the .sent file, with each line containing the Jyutping transcription of the marked polyphonic character in .sent. *.pos: Matches the .sent file, with each line containing the POS tag of the marked polyphonic character in .sent, generated using `g2pW-Cantonese/scripts/tag_pos_hkcancor.py`. (See [original project](https://huggingface.co/datasets/Naozumi0512/g2p-Cantonese-aggregate#original-project)) ## Data Source - [Rime Cantonese Input Schema](https://github.com/rime/rime-cantonese) (jyut6ping3.words.dict.yaml) - [粵典 Words.hk](https://words.hk/) - [CantoDict](https://cantonese.sheik.co.uk/) ## Original Project https://github.com/Naozumi520/g2pW-Cantonese/tree/20241206-bert-base https://huggingface.co/Naozumi0512/g2pW-canto-20241206-bert-base ## License Inherits licenses from source materials (CC-BY-4.0 and others).