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 bird with a fuzzy top knot sitting on a branch', Sentence2: 'a man wearing a uniform and riding a black horse'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a white street sign sitting on the side of a driveway', Sentence2: 'numerous individuals are out and having a fabulous time there'. Is the frequency of the word 'sitting' in two sentences equal?

SOLUTION:
No