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 room containing a television and a lounge chair with books on it', Sentence2: 'a cat sitting on top of a piece of electronic equipment'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man is walking down a main street', Sentence2: 'a bunch of people walking in a parade of some sort'. Is the frequency of the word 'man' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'there is a bird that is standing in grass and water', Sentence2: 'two rooms of a house are left in disarray on moving day'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION:
Yes