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: 'horse with a rider walking across a stream', Sentence2: 'a heard of elephants with their backs turned'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a young man is alone in the grass trying to catch a frisbee', Sentence2: 'a man in blue and white is standing outside'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'the two motorcycle officers have flags on their back', Sentence2: 'a giraffe at the zoo standing near a fence and a tree'. Is the frequency of the word 'the' in two sentences equal?

SOLUTION:
Yes