g2pW:一个用于汉语多音字消歧的条件加权Softmax BERT
g2pW: A Conditional Weighted Softmax BERT for Polyphone Disambiguation in Mandarin
摘要:
多音字消歧是汉语形音转换中最关键的任务。以前的研究已经使用预训练的语言模型,限制输出和来自词性(POS)标记的额外信息来解决这个问题。受这些策略的启发,我们提出了一种新的方法,称为g2pW,它适应可学习的软最大权值条件的输出BERT与感兴趣的多音字符及其词性标记。而不是使用硬掩模在以前的作品中,我们的实验表明,学习候选音素的软加权函数的性能。此外,我们提出的g2pW不需要额外的预训练的POS标记模型,同时使用POS标签作为辅助功能,因为我们训练的POS标记模型,同时与统一的编码器。实验结果表明,我们的g2pW优于现有的方法在公共CPP数据集。所有代码、模型重量和用户友好的软件包都是公开的。
英文摘要:
Polyphone disambiguation is the most crucial task in Mandarin grapheme-to-phoneme (g2p) conversion. Previous studies have approached this problem using pre-trained language models, restricted output, and extra information from Part-Of-Speech (POS) tagging. Inspired by these strategies, we propose a novel approach, called g2pW, which adapts learnable softmax-weights to condition the outputs of BERT with the polyphonic character of interest and its POS tagging. Rather than using the hard mask as in previous works, our experiments show that learning a soft-weighting function for the candidate phonemes benefits performance. In addition, our proposed g2pW does not require extra pre-trained POS tagging models while using POS tags as auxiliary features since we train the POS tagging model simultaneously with the unified encoder. Experimental results show that our g2pW outperforms existing methods on the public CPP dataset. All codes, model weights, and a user-friendly package are publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。