Stack-of-Pancakes fd2f8a6179 Refactor python code example
sys imported and unused.
os only used to create cwd which is implied with open
try/except block that doesn't handle anything
json loaded to create a more expensive defaultdict
dict created just for membership testing instead of set
membership test performed by fetching key value instead of using in
2018-04-29 15:33:04 -04:00
2017-10-18 18:20:53 -07:00
2017-06-12 14:35:51 +08:00

english-words

A text file containing 466k English words.

While searching for a list of english words (for an auto-complete tutorial) I found: http://stackoverflow.com/questions/2213607/how-to-get-english-language-word-database which refers to http://www.infochimps.com/datasets/word-list-350000-simple-english-words-excel-readable

No idea why infochimps put the word list inside an excel (.xls) file.

I pulled out the words into a simple new-line-delimited text file. Which is more useful when building apps or importing into databases etc.

Copyright still belongs to them.

Files you may be interested in:

  • words.txt contains all words.
  • words_alpha.txt contains only :alpha: words. If you want a quick solution choose this.
  • words_dictionary.json contains all the words from words_alpha.txt as json format. If you are using Python, you can easily load this file and use as a dictionary for faster performance. All the words are assigned with 1 in the dictionary. See read_english_dictionary.py for example usage.
Description
No description provided
Readme 28 MiB
Languages
Python 54%
Shell 46%