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 little girl is on a skateboard wearing shorts', Sentence2: 'a man with a helmet is on a surfboard'. Is the frequency of the word 'girl' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a female tennis player in a black top playing tennis', Sentence2: 'a group of girls with umbrellas in the sand'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'two teddy bears are against a black background', Sentence2: 'a baseball player is attempting to hit the ball'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
Yes