本文介绍了BLEU得分实现句子相似度检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要计算BLEU得分确定两个句子是否相似或not.I看过一些文章基本都是关于BLEU得分测量机器翻译accuracy.But我在需要的BLEU得分,找出相似句子在同一种语言[英文]之间。(即)(这两个句子英文).Thanks预期。
I need to calculate BLEU score for identifying whether two sentences are similar or not.I have read some articles which are mostly about BLEU score for Measuring Machine translation accuracy.But i'm in need of a BLEU score to find out similarity between sentences in a same language[English].(i.e)(Both the sentences are in English).Thanks in anticipation.
推荐答案
好吧,如果你只是想计算BLEU得分,这是简单的。对待一个句子为基准的翻译和其他的候选翻译。
Well, if you just want to calculate the BLEU score, it's straightforward. Treat one sentence as the reference translation and the other as the candidate translation.
这篇关于BLEU得分实现句子相似度检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!