ParsiNorm: A Persian Toolkit for Speech Processing Normalization

Romina Oji, Seyedeh Fatemeh Razavi, Sajjad Abdi Dehsorkh, Alireza Hariri, Hadi Asheri +1 more
11/1/2021
eess.AScs.CLcs.LG

Official code: haraai/ParsiNorm (46 stars, Python, MIT, last commit 2023-12-09).

Abstract

In general, speech processing models consist of a language model along with an acoustic model. Regardless of the language model's complexity and variants, three critical pre-processing steps are needed in language models: cleaning, normalization, and tokenization.

Show full abstract

Among mentioned steps, the normalization step is so essential to format unification in pure textual applications. However, for embedded language models in speech processing modules, normalization is not limited to format unification. Moreover, it has to convert each readable symbol, number, etc., to how they are pronounced. To the best of our knowledge, there is no Persian normalization toolkits for embedded language models in speech processing modules, So in this paper, we propose an open-source normalization toolkit for text processing in speech applications. Briefly, we consider different readable Persian text like symbols (common currencies, #, @, URL, etc.), numbers (date, time, phone number, national code, etc.), and so on. Comparison with other available Persian textual normalization tools indicates the superiority of the proposed method in speech processing. Also, comparing the model's performance for one of the proposed functions (sentence separation) with other common natural language libraries such as HAZM and Parsivar indicates the proper performance of the proposed method. Besides, its evaluation of some Persian Wikipedia data confirms the proper performance of the proposed method.

View on arXivView PDF

Code Implementations(1)

haraai/ParsiNormOfficial100%
MIT
4610Python, Jupyter NotebookOct 27, 20212 years agoMIT

Similar Papers

Cite this paper

@article{oji2021parsinorm,
  title  = {ParsiNorm: A Persian Toolkit for Speech Processing Normalization},
  author = {Romina Oji and Seyedeh Fatemeh Razavi and Sajjad Abdi Dehsorkh and Alireza Hariri and Hadi Asheri and Reshad Hosseini},
  year   = {2021},
  eprint = {2111.03470},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.03470}
}

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/2111.03470.svg)](https://codeofpaper.com/paper/2111.03470)

Discussion