Question: Write code to search the Brown Corpus for particular words and phrases according to tags. Report your findings separately for the following categories of
Write code to search the Brown Corpus for particular words and phrases according to tags. Report your findings separately for the following categories of Brown corpus: humor, romance, government. Identify three-word prepositional phrases of the form IN + AT + NN (eg. at the house). What is the most frequent three-word prepositional phrases (break ties alphabetically) for Humor: Romance: Government: Provide the English phrase with all word in lower case (e.g., at the house).
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
Answer To achieve this task you can use the Natural Language Toolkit NLTK library in Python which pr... View full answer
Get step-by-step solutions from verified subject matter experts
