CUNY-CL/wikipron
Massively multilingual pronunciation mining
What it solves
WikiPron is designed to automate the collection of pronunciation data from Wiktionary. It solves the problem of manually gathering word-to-pronunciation pairs (G2P data) for a wide variety of languages, which is essential for building speech synthesis or speech recognition systems.
How it works
The tool operates as both a command-line interface (CLI) and a Python API. It scrapes Wiktionary for International Phonetic Alphabet (IPA) transcriptions, allowing users to specify the language (via ISO 639-3 codes), target specific dialects, and choose between broad or narrow transcriptions. It also handles the segmentation of IPA symbols to ensure that diacritics and modifiers are correctly grouped with their parent symbols for better machine learning modeling.
Who it’s for
This tool is for researchers and developers working in speech technology, linguistics, and natural language processing (NLP) to create pronunciation dictionaries.
Highlights
- Multilingual Support: Supports mining data for 348 languages.
- Customizable Scraping: Options to filter by dialect and transcription level (broad vs. narrow).
- IPA Segmentation: Uses the
segmentslibrary to correctly handle IPA diacritics for modeling purposes. - Ready-to-use Data: Provides a database of over 5 million word-pronunciation pairs.
Related
- Project
- Project
- Project
- Project
- Project