How do I find the frequency count of a word in English using WordNet?

后端 未结 6 1158
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 23:27

Is there a way to find the frequency of the usage of a word in the English language using WordNet or NLTK using Python?

NOTE: I do not want the frequency count of a

6条回答
  •  离开以前
    2020-12-08 00:07

    You can't really do this, because it depends so much on the context. Not only that, for less frequent words the frequency will be wildly dependent on the sample.

    Your best bet is probably to find a large corpus of text of the given genre (e.g. download a hundred books from Project Gutenberg) and count the words yourself.

提交回复
热议问题