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 player on a baseball field getting ready to bat', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a woman stands on the grass with a frisbee as her dog patiently waits', Sentence2: 'a large bag filled with clothes and shoes'. Is the frequency of the word 'waits' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a sandwich on a plate with a side of cole slaw', Sentence2: 'a man standing next to a woman in front of an oven'. Is the frequency of the word 'sandwich' in two sentences equal?

SOLUTION:
No