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 beautiful young lady holding a tennis racquet on top of a court', Sentence2: 'an army transport truck sitting near a forest'. Is the frequency of the word 'sitting' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a black bird perched on a black rail outside', Sentence2: 'a large train is traveling down the tracks'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION:
No