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 dog yawns as its owner shops for a pet carrier', Sentence2: 'a group of elephants walking through a grassy field'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man holding a tennis ball and a racquet', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'riding' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a little boy holding a baseball and wearing a glove', Sentence2: 'a group of people and cow outside of a hut'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No