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: 'an image of group of people riding horses on the beach', Sentence2: 'a bench near a lake and grass'. Is the frequency of the word 'group' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a partially eaten pizza with empty plate in foreground', Sentence2: 'a woman hitting a tennis ball with a tennis racket'. Is the frequency of the word 'partially' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a man riding on a subway train holding a jacket', Sentence2: 'a guy holding up a round item near his face'. Is the frequency of the word 'holding' in two sentences equal?

SOLUTION:
Yes