简体   繁体   English

创建包含英语单词的词典

[英]Creating a dictionary which contains English words

I want a text file which contains commonly occuring English words but abbreviations or acronyms should not be present there.我想要一个文本文件,其中包含常见的英语单词,但不应该出现缩写或首字母缩略词。 Is it possible to get that dictionary?有没有可能得到那本字典? Any help is appreciated!!任何帮助表示赞赏!

You can retrieve this just from nltk package您可以仅从nltk包中检索它

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM