创建包含英语单词的字典

时间:2020-03-13 10:47:13

标签: python dictionary nlp stanford-nlp wordnet

我想要一个文本文件,其中包含常见的英语单词,但不应在其中出现缩写或首字母缩写词。可以得到那本字典吗? 任何帮助表示赞赏!

1 个答案:

答案 0 :(得分:1)

您可以仅从nltk包中获取该信息

import nltk
from nltk.corpus import stopwords
 set(stopwords.words('english'))