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 man is swinging a tennis racket in the air', Sentence2: 'an elephants foot with what appears to be a sandal on'. Is the frequency of the word 'be' in two sentences equal?

SOLUTION: 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 stuffed animal cat on top of the steering wheel in a car', Sentence2: 'a motorcycle with crazy long exhaust pipes parked along the side of the road'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION:
Yes