Is there any library in Python that contains all the English words? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Is there any library in Python that contains all the English words?

18th Jan 2021, 3:39 PM
Guest
4 Respostas
+ 5
https://pypi.org/project/english-words/ I saw this in PyPi website. Or you can just search all English words in Google then create your own module/file that stores all those words on your file (.txt or .py) then import it.
18th Jan 2021, 3:50 PM
noteve
noteve - avatar
+ 3
probably, but you could search up wordlists and save the text to a file (one word per line). you can then create a list of words, in code, from reading the file and use your preferred search/sift method to go through the list
18th Jan 2021, 3:49 PM
Slick
Slick - avatar
+ 1
Thanks!
18th Jan 2021, 3:58 PM
Guest