Inverse text normalization (ITN) converts spoken-domain automatic speech recognition (ASR) output into written-domain text to improve the readability of the ASR output. Many state-of-the-art ITN systems use hand-written weighted finite-state transducer(WFST) grammars since this task has extremely low tolerance to unrecoverable errors. We introduce an open-source Python WFST-based library for ITN which enables a seamless path from development to production. We describe the specification of ITN grammar rules for English, but the library can be adapted for other languages. It can also be used for written-to-spoken text normalization. We evaluate the NeMo ITN library using a modified version of the Google Text normalization dataset.
Thutmose Tagger: Single-pass neural model for Inverse Text Normalization
NVIDIA(英伟达)
反向文本规范化(ITN)是自动语音识别(ASR)中必不可少的后处理步骤。它将数字、日期、缩写和其他符号类从ASR生成的口语形式转换为它们的书面形式。人们可以将ITN视为一个机器翻译任务,并使用神经序列到序列模型来解决它。不幸的是,这种神经模型容易产生幻觉,可能导致不可接受的错误。为了缓解这个问题,我们提出了一个单通道令牌分类器模型,将ITN作为一个标记任务。该模型为每个输入标记分配一个替换片段,或者将其标记为删除或复制而不进行更改。我们提出了一种基于ITN实例粒度对齐的数据集准备方法。所提出的模型是不太容易产生幻觉的错误。该模型在Google Text Normalization数据集上进行训练,并在英语和俄语测试集上达到最先进的句子准确度。标签和输入单词之间的一一对应提高了模型预测的可解释性,简化了调试,并允许后处理校正。该模型比序列到序列模型更简单,更容易在生产环境中优化。模型和准备数据集的代码作为NeMo项目的一部分发布。