Fast, Not Fancy: Rethinking G2P with Rich Data and Rule-Based Models

Mahta Fetrat Qharabagh, Zahra Dehghanian, Hamid R. Rabiee
5/19/2025
cs.CL

No official code found. Best implementation: MahtaFetrat/Homo-GE2PE-Persian (10 stars, MIT, last commit 2025-10-30). 2 more below.

Abstract

Homograph disambiguation remains a significant challenge in grapheme-to-phoneme (G2P) conversion, especially for low-resource languages. This challenge is twofold: (1) creating balanced and comprehensive homograph datasets is labor-intensive and costly, and (2) specific disambiguation strategies introduce additional latency, making them unsuitable for real-time applications such as screen readers and other accessibility tools. In this paper, we address both issues. First, we propose a semi-automated pipeline for constructing homograph-focused datasets, introduce the HomoRich dataset generated through this pipeline, and demonstrate its effectiveness by applying it to enhance a state-of-the-art deep learning-based G2P system for Persian. Second, we advocate for a paradigm shift - utilizing rich offline datasets to inform the development of fast, rule-based methods suitable for latency-sensitive accessibility applications like screen readers. To this end, we improve one of the most well-known rule-based G2P systems, eSpeak, into a fast homograph-aware version, HomoFast eSpeak. Our results show an approximate 30% improvement in homograph disambiguation accuracy for the deep learning-based and eSpeak systems.

View on arXivView PDF

Code Implementations(3)

MIT

A Persian grapheme-to-phoneme (G2P) model designed for homograph disambiguation, fine-tuned using the HomoRich dataset to improve pronunciation accuracy.

101Python, Jupyter NotebookMay 14, 202511 months agoMIT
farsig2pge2pegrapheme-to-phonemehomo-ge2pe+9 more
MIT

Benchmarking notebooks for various Persian G2P models, comparing their performance on the SentenceBench dataset, including Homo-GE2PE and Homo-T5.

41Jupyter NotebookMay 14, 20251 years agoMIT
benchmarkbenchmarkingfarsifastg2p+10 more
MIT

HomoRich: The first large-scale Persian homograph dataset for G2P conversion, featuring 528K annotated sentences with balanced pronunciation variants and dual phoneme representations.

20Jupyter NotebookMay 14, 20251 years agoMIT
farsig2pgrapheme-to-phonemehomographhomograph-disambiguation+4 more

Similar Papers

Cite this paper

@article{qharabagh2025fast,
  title  = {Fast, Not Fancy: Rethinking G2P with Rich Data and Rule-Based Models},
  author = {Mahta Fetrat Qharabagh and Zahra Dehghanian and Hamid R. Rabiee},
  year   = {2025},
  eprint = {2505.12973},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12973v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12973.svg)](https://codeofpaper.com/paper/2505.12973)

Discussion