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 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 silver bucket a white and blue curtain an apple and a controller', Sentence2: 'a group of people surfing the waves on boards in the ocean'. Is the frequency of the word 'boards' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a clock tower stands next to a building above a forest', Sentence2: 'a clock tower stands next to a building above a forest'. Is the frequency of the word 'to' in two sentences equal?

SOLUTION:
Yes