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 house with a door and window has a bench in front of it surrounded by bushes', Sentence2: 'a fire hydrant that is sitting on a sidewalk'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'a black and white photo of a person with a frisbee'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'two rooms of a house are left in disarray on moving day', Sentence2: 'two females on paddle boards in the water'. Is the frequency of the word 'two' in two sentences equal?

SOLUTION:
Yes