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 living room complete with a couch sliding door and a window', Sentence2: 'a man with a pointer in front of a class'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a beautiful young woman wearing goggles and yellow gloves', Sentence2: 'a large green street sign sitting next to a speed limit sign'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a blue and yellow colored bird perches on a tree branch', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION:
Yes