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 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 'walking' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'in an old black and white photo men are riding horses', Sentence2: 'a person is sleeping on one side of the bed'. Is the frequency of the word 'person' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a smiling person taking an elephant ride near the handler', Sentence2: 'people gathered on the street dressed in costumes next to a rainbow sheet'. Is the frequency of the word 'elephant' in two sentences equal?

SOLUTION:
No