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

num_features的长度为什么和index长度不一致? #2

Open
hnbigfish opened this issue Oct 17, 2020 · 0 comments
Open

num_features的长度为什么和index长度不一致? #2

hnbigfish opened this issue Oct 17, 2020 · 0 comments

Comments

@hnbigfish
Copy link

num_features = len(dictionary) # 特征数
index = gensim.similarities.Similarity(args.index_filepath, tfidf[corpus], num_features) # 文本相似度序列

num_features的长度为什么和index长度不一致?

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