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: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a giraffe lays down on the grass as a bird stands in the background'. Is the frequency of the word 'waterfall' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two females on paddle boards in the water', Sentence2: 'two white bears on the rocky shore of some water'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a vintage looking image of a train near a mountain', Sentence2: 'a couple of small dogs sit in a basket on a bike'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
Yes