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: 'the motorcycle is equipped with all the latest gadgets', Sentence2: 'a number of luggage bags on the ground near each other'. Is the frequency of the word 'ground' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a train going through town via railroad', Sentence2: 'many buses have been parked in a closed parking lot'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a surfboard sticks out of white sand on a beach', Sentence2: 'two teddy bears sitting at a wooden table having a meal'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
Yes