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 green and yellow train traveling down a train track', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a station wagon being carried in the back of a truck', Sentence2: 'a couch a table with chairs and a microwave'. Is the frequency of the word 'truck' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a woman a man and some children swimming and surfing in the water', Sentence2: 'a black labrador dog with sad eyes laying on a bed'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
Yes