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

你好,作者,我认为您的build_graph.py中可能存在一些小问题 #6

Open
xiangliang-zhang opened this issue Jul 20, 2022 · 0 comments

Comments

@xiangliang-zhang
Copy link

xiangliang-zhang commented Jul 20, 2022

build_graph.py主要实现了生成文档-词和词-词边及权重,在生成词-词边时,每次执行您的文件,都会生成数量不同的词-词边,我想是因为您只进行了去重,而没有排序,这会生成(a, b, weight=1), (b, a, weight=2)这样的问题,不知道我的理解是否正确。

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