Thanks to visit codestin.com
Credit goes to github.com

Skip to content

教师和学生相似度是1但老师和教师相似度小于0.9 #137

@funicia

Description

@funicia

现在行为

synonyms.compare('教育机构学生', '教育机构教师')
结果是1.0 ,这两个字符串相似度应该低于0更合理些。

synonyms.compare('学生', '教师')
这个结果也是1.0

synonyms.compare('学生', '老师')
这个结果是0.896

synonyms.compare('教师', '老师')
这个结果是0.898

操作系统

  • Windows
  • Linux(Debian, CentOS, Ubuntu, etc.)

解决方案

代码版本

Open Source for the World

banner

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions