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: 'this is a person flying a kite in the water', Sentence2: 'the boy wearing the number 14 is getting ready to bat'. Is the frequency of the word 'is' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'people in a cactus garden standing on a stone walkway', Sentence2: 'young school boys smiling and posing on a stone wall'. Is the frequency of the word 'stone' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a lot of plants and greenery with a train in the background', Sentence2: 'various pastries on display on shelves in a store'. Is the frequency of the word 'the' in two sentences equal?

SOLUTION:
No