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 flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two young girls laying in bed under a blanket', Sentence2: 'a player in action at bat in a baseball game'. Is the frequency of the word 'baseball' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a cheesy pizza covered in topping sitting on top of a pan', Sentence2: 'a bunch of various vegetables spread out on a snowflake table cloth'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION:
Yes