Questions tagged [tagged-corpus]

No instructions have been provided for utilizing this tag at the moment!

Develop a script using NLTK to prompt for a word and determine if it appears more often as a Noun or a Verb in the Brown corpus

import nltk from nltk.corpus import brown input_word = input("Please type a word:") tagged_words = brown.tagged_words() for current_word in tagged_words: if This is how my code begins, but unfortunately I am stuck here. ...