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

utils.py 中 similarity 函数的词重叠率计算问题 #11

Open
linuxr opened this issue Apr 8, 2022 · 0 comments
Open

utils.py 中 similarity 函数的词重叠率计算问题 #11

linuxr opened this issue Apr 8, 2022 · 0 comments

Comments

@linuxr
Copy link

linuxr commented Apr 8, 2022

你好,utils.py 中 79~81 行的代码:

    if method == 'simple':
        # 词重叠率
        return len(set(a) & set(a)) / len(set(a))

这里是不是应该为: len(set(a) & set(b)) / len(set(a))

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