marcofavorito / moby_dict

Python API for the Moby lexicon project, the largest word list in the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

moby_dict

Python API for the Moby lexicon project, the largest word list in the world. Further details in the references.

How to use

  • install:
pip install moby_dict
  • usage:
from moby_dict.corpus import word_list
word_list.download()
# Wait some minutes...

words = word_list.single()
print(len(words)) #354984

names = word_list.names()
all_words = word_list.all()
print(len(all_words)) #390370

References

About

Python API for the Moby lexicon project, the largest word list in the world.

License:MIT License


Languages

Language:Python 100.0%