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

minus value in simuarity #116

Open
FranklinBao opened this issue Aug 7, 2021 · 0 comments
Open

minus value in simuarity #116

FranklinBao opened this issue Aug 7, 2021 · 0 comments

Comments

@FranklinBao
Copy link

st = SnowNLP([[u'吃饭',u'睡觉',u'打豆豆'],
[u'吃饭',u'烤肉',u'懒觉',u'打游戏'],
['吃吃喝喝']])
st.sim([u'吃饭',u'睡觉',u'打豆豆'])

and result is
[0.4836218923228314, -0.4170005091967271, 0]
so what is the meaning of minus simularity

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

1 participant