Skip to content

the score of clus_center is smaller than filter_thre, so it doesn't occur in keywords.txt, leading to KeyError in embs[cate_ph] #7

Description

@chanwing

Dear authors of TaxoGen,
The keyword score of clus_center is smaller than filter_thre, so it (the clus_center) doesn't occur in keywords.txt, leading to KeyError in embs[cate_ph]. How to solve this problem?
作者们您们好,
聚类中心的词的分数小于阈值,因此该词不出现在keywords.txt,导致embs词典里没有这个词,embs[cate_ph]时查不到该词,出现KeyError,请问如何解决?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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