4 Réponses
+ 1
Jan Markus how can i do that can you explain it in easier way for beginners like me :) ?
+ 1
you can use the nltk library. first, download the 'words' file like this:
impot nltk
nltk.download ('words')
and it will show you the path where it has been downloaded. you can then print the words using the following code:
from nltk.corpus import words
words = words.words()
print (words)
BTW, it has 263, 736 words in the file.
and of course, as ~ swim ~ told, you can use web scraping but you have a slight chance of google blocking your account (correct me if I'm wrong)
happy coding!
+ 1
THANK YOU ALL 👍👍👆👌
+ 1
you are welcome Brosk Jako!!