arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.05229cs.CL
收藏

数学文本的机器翻译

Machine Translation of Mathematical Text

Aditya Ohri, Tanya Schmah

摘要:

我们已经实现了一个机器翻译系统,PolyMath翻译器,包含数学文本的LaTeX文档。目前的实现将英语LaTeX翻译为法语LaTeX,在数学句子的测试语料库上获得了53.5的BLEU分数。它可以生成LaTeX文档,无需进一步编辑即可编译为PDF。系统首先使用pandoc通用文档转换器解析LaTeX输入,将输入LaTeX文档的主体转换为包含数学符号的英语句子。我们使用OpenNMT在包含一小部分特定领域句子的组合语料库上训练了一个基于transformer的翻译器模型。我们的完整系统同时使用这个Transformer模型和Google翻译,后者被用作备份,以更好地处理我们的训练数据集中没有出现的语言特征。如果Transformer模型对其翻译没有信心,这是由高困惑分数确定的,那么我们使用带有自定义词汇表的Google翻译。这个备份在我们的数学句子测试语料库中使用了26%的时间。PolyMath翻译器可在www.polymathtrans.ai上作为网络服务提供。

英文摘要:

We have implemented a machine translation system, the PolyMath Translator, for LaTeX documents containing mathematical text. The current implementation translates English LaTeX to French LaTeX, attaining a BLEU score of 53.5 on a held-out test corpus of mathematical sentences. It produces LaTeX documents that can be compiled to PDF without further editing. The system first converts the body of an input LaTeX document into English sentences containing math tokens, using the pandoc universal document converter to parse LaTeX input. We have trained a Transformer-based translator model, using OpenNMT, on a combined corpus containing a small proportion of domain-specific sentences. Our full system uses both this Transformer model and Google Translate, the latter being used as a backup to better handle linguistic features that do not appear in our training dataset. If the Transformer model does not have confidence in its translation, as determined by a high perplexity score, then we use Google Translate with a custom glossary. This backup was used 26% of the time on our test corpus of mathematical sentences. The PolyMath Translator is available as a web service at www.polymathtrans.ai.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑