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 Brown
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. Brown tags for pronouns include ['PPL-HL', 'PPO', 'PPS-NC', 'PPS+HVD', 'PP$-NC', 'PPO-TL', 'PPS+BEZ-NC', 'PPL', 'PPL-NC', 'PPO-NC', 'PPS', 'PP$-TL', 'PPS-HL', 'PP$$', 'PPS+BEZ', 'PPS+MD', 'PPS+HVZ', 'PPS-TL', 'PP$'] . What number of masculine pronouns [himself, his, him , he, he's, he'd, he'll] and feminine pronouns [herself, her, hers, she, she's, she'd, she'll] where both are used with earlier listed tags for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
