Skip to content

minus value in simuarity #116

Open
Open
@FranklinBao

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions