Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

句子相似度 #35

Open
Tang1705 opened this issue Jul 27, 2022 · 4 comments
Open

句子相似度 #35

Tang1705 opened this issue Jul 27, 2022 · 4 comments

Comments

@Tang1705
Copy link

以“中国人不爱吃鱼”和“中国人喜爱吃鱼”为测试样例,词形词序句子相似度值为0.73,优化的编辑距离句子相似度值、标准编辑距离句子相似度值和 gregeor 编辑距离句子相似度值均 0.5,对于这种相似度计算无法令人满意的情况是否有更好的解决办法

@shibing624
Copy link
Owner

强化否词(例子中是“不”)的权重,再算相似度。

@Tang1705
Copy link
Author

Tang1705 commented Jul 28, 2022

是否有相关文档可以参考,或者您可以简单说明一下如何在代码中进行修改吗

@shibing624
Copy link
Owner

@Tang1705
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants