TASK DEFINITION: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
PROBLEM: Sentence1: 'a coach watches on as a pitcher pitches', Sentence2: 'two men boogie boarding on a wave'. Is the frequency of the word 'pitcher' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a woman holding an umbrella standing next to a black dog', Sentence2: 'a man holding a flashlight hold an umbrella also'. Is the frequency of the word 'umbrella' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a woman a man and some children swimming and surfing in the water', Sentence2: 'highway road sign announcing exit ahead for vehicle traffic'. Is the frequency of the word 'exit' in two sentences equal?

SOLUTION:
No