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 terrier sits on a messy bed in front of the window', Sentence2: 'a football player wearing a uniform on a football field'. Is the frequency of the word 'messy' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'cooking some carrots with some seasoning on a flat pan', Sentence2: 'there is a bird that is standing in grass and water'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'pedestrians walk in the street passed a stop sign', Sentence2: 'a women eating a small meal on the outside portion of a boat'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No