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 swinging a tennis racket at a tennis ball', Sentence2: 'an adorable pug dog standing next to a teddy bear'. Is the frequency of the word 'bear' in two sentences equal?

SOLUTION: No

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 snowboarder is upside down in the air on a wooded snowy slope', Sentence2: 'the large city bus is white with an orange stripe'. Is the frequency of the word 'is' in two sentences equal?

SOLUTION:
Yes