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 hotdog topped with strands of seaweed and onions', Sentence2: 'a woman about to eat a hot dog with lots of condiments'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'some little elephants standing around a few trees', Sentence2: 'a number of people holding umbrellas on a city street'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION:
No