用于句子相似性检测的 BLEU 分数实现 [英] BLEU score implementation for sentence similarity detection

查看:27
本文介绍了用于句子相似性检测的 BLEU 分数实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要计算 BLEU 分数来识别两个句子是否相似.我读过一些文章,主要是关于测量机器翻译准确性的 BLEU 分数.但我需要一个 BLEU 分数来找出相似性在同一种语言的句子之间[英语].(即)(两个句子都是英语).谢谢.

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 分数实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆