arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11753cs.CL
收藏

TransLIST:一个基于转换器的语言信息梵文分词器

TransLIST: A Transformer-Based Linguistically Informed Sanskrit Tokenizer

IIT Kanpur(印度理工学院坎普尔分校);UCLA(加州大学洛杉矶分校);IIT Kharagpur(印度理工学院克勒格布尔分校);IIT Mandi(印度理工学院曼迪分校)

Jivnesh Sandhan, Rathin Singha, Narein Rao, Suvendu Samanta, Laxmidhar Behera, Pawan Goyal

摘要:

梵语分词(SWS)是使数字化文本可用和部署下游任务的关键。然而,由于连读变调现象在词的边界处修饰了字符,因此它是不平凡的,需要特殊处理。现有的词汇驱动的方法SWS使用梵文遗产阅读器,一个词汇驱动的浅层解析器,以产生完整的候选解决方案空间,各种方法被应用于产生最有效的解决方案。然而,这些方法在遇到词汇表外的标记时会失败。另一方面,SWS的纯工程方法利用了深度学习的最新进展,但无法利用关于可用性的潜在单词信息。为了克服这两种方法的缺点,我们提出了基于Transformer的语言信息梵文分词器(transLIST)包括(1)将字符输入与潜在词信息一起编码的模块,该模块考虑了特定于SWS的连读变调现象并且易于与部分或没有候选解一起工作,(2)一种新的软屏蔽注意力优先潜在的候选词和(3)一种新的路径排名算法,以纠正损坏的预测。在SWS基准数据集上的实验表明,在完美匹配(PM)度量方面,TransLIST比当前最先进的系统平均绝对增益为7.2点。代码库和数据集可在https://github.com/rsingha108/TransLIST上公开获取

英文摘要:

Sanskrit Word Segmentation (SWS) is essential in making digitized texts available and in deploying downstream tasks. It is, however, non-trivial because of the sandhi phenomenon that modifies the characters at the word boundaries, and needs special treatment. Existing lexicon driven approaches for SWS make use of Sanskrit Heritage Reader, a lexicon-driven shallow parser, to generate the complete candidate solution space, over which various methods are applied to produce the most valid solution. However, these approaches fail while encountering out-of-vocabulary tokens. On the other hand, purely engineering methods for SWS have made use of recent advances in deep learning, but cannot make use of the latent word information on availability. To mitigate the shortcomings of both families of approaches, we propose Transformer based Linguistically Informed Sanskrit Tokenizer (TransLIST) consisting of (1) a module that encodes the character input along with latent-word information, which takes into account the sandhi phenomenon specific to SWS and is apt to work with partial or no candidate solutions, (2) a novel soft-masked attention to prioritize potential candidate words and (3) a novel path ranking algorithm to rectify the corrupted predictions. Experiments on the benchmark datasets for SWS show that TransLIST outperforms the current state-of-the-art system by an average 7.2 points absolute gain in terms of perfect match (PM) metric. The codebase and datasets are publicly available at https://github.com/rsingha108/TransLIST

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

↑