Closed jrong75 closed 8 years ago
I only want words in my dictionary show in the 关键词section. How do I do? Thanks!
One is to get the words and their weight (示例), then select the words in your dictionary which have the highest weight.
Or use sort_words() and sort_sentences() in file textrank4zh/util.py.
sort_words()
sort_sentences()
textrank4zh/util.py
I only want words in my dictionary show in the 关键词section. How do I do? Thanks!