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

文本相似度结果产生的原理? #5

Open
SunnyCc123 opened this issue Sep 2, 2022 · 1 comment
Open

文本相似度结果产生的原理? #5

SunnyCc123 opened this issue Sep 2, 2022 · 1 comment

Comments

@SunnyCc123
Copy link

一般计算文本相似度会用到余弦距离或者欧氏距离等,那么在这个项目中用到的是什么方法或者原理呢?

@lixuanhng
Copy link
Owner

就是余弦相似度,两个文本转为向量后做cosine

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