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 bed room has red and white bedding and a decoration on the wall', Sentence2: 'a man is playfully sitting on a toilet in a room being renovated'. Is the frequency of the word 'room' in two sentences equal?

SOLUTION: Yes

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 man flying through the air on a skateboard', Sentence2: 'a potluck buffet set up on a long table'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
Yes