How do I create my own dictionary
jrong75 opened this issue · 1 comments
jrong75 commented
I only want words in my dictionary show in the 关键词section. How do I do? Thanks!
letiantian commented
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
.