NMT Sentence Granularity Similarity Calculation Method Based on Improved Cosine Distance
Shuyan Wang, Jingjing Ma · 2022
Aiming at the problem of semantic lack of sentence similarity calculation in the process of metamorphosis test of neural machine translation system, an NMT sentence granularity similarity calculation method based on improved Cosine Distance is proposed. Text vectors are constructed through the improved TF-IDF weights, and the combination of Edit Distance and Jaccard similarity coefficient is used as a suppressor for cosine similarity. Experiments on neural machine translation systems such as Alibaba Translation and Baidu Translation on the UM-Corpus dataset show that, compared with the method based on Edit Distance, this method improves the Pearson correlation coefficient and Spearman correlation coefficient of the reference translation method by 20.5% and 12%, respectively. And this method is closer to the BLEU and METEOR evaluation results based on the reference translation, the evaluation accuracy is higher.