+ 3

Random words in word category, e.g noun, verb etc

is there any way I could get a random word from every word in the category noun in python? Using nltk.corpus words maybe?

27th May 2018, 8:25 PM
Thomas
Thomas - avatar
2 ответов
0
What I meant was using a dictionary of all the words in the English language but in their categories.
29th May 2018, 12:46 PM
Thomas
Thomas - avatar