Skip to content

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

@xiangliang-zhang

Description

@xiangliang-zhang

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

Metadata

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