Punctuation Restoration for Singaporean Spoken Languages: English, Malay, and Mandarin

Abhinav Rao, Ho Thi-Nga, Chng Eng-Siong
12/10/2022
cs.CL

Official code: AetherPrior/Multilingual-Sentence-Boundary-detection (6 stars, Jupyter Notebook, last commit 2025-04-05).

Abstract

This paper presents the work of restoring punctuation for ASR transcripts generated by multilingual ASR systems. The focus languages are English, Mandarin, and Malay which are three of the most popular languages in Singapore.

Show full abstract

To the best of our knowledge, this is the first system that can tackle punctuation restoration for these three languages simultaneously. Traditional approaches usually treat the task as a sequential labeling task, however, this work adopts a slot-filling approach that predicts the presence and type of punctuation marks at each word boundary. The approach is similar to the Masked-Language Model approach employed during the pre-training stages of BERT, but instead of predicting the masked word, our model predicts masked punctuation. Additionally, we find that using Jieba1 instead of only using the built-in SentencePiece tokenizer of XLM-R can significantly improve the performance of punctuating Mandarin transcripts. Experimental results on English and Mandarin IWSLT2022 datasets and Malay News show that the proposed approach achieved state-of-the-art results for Mandarin with 73.8% F1-score while maintaining a reasonable F1-score for English and Malay, i.e. 74.7% and 78% respectively. Our source code that allows reproducing the results and building a simple web-based application for demonstration purposes is available on Github.

View on arXivView PDF

Code Implementations(1)

A language agnostic model for SBD and Punctuation restoration

60Jupyter Notebook, PythonAug 24, 20211 years ago

Similar Papers

Cite this paper

@article{rao2022punctuation,
  title  = {Punctuation Restoration for Singaporean Spoken Languages: English, Malay, and Mandarin},
  author = {Abhinav Rao and Ho Thi-Nga and Chng Eng-Siong},
  year   = {2022},
  eprint = {2212.05356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.05356}
}

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

Discussion