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 train going through town via railroad', Sentence2: 'a parent is pulling their child down the ski slope'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a bathroom is in terrible shape and is in need of a deep cleaning', Sentence2: 'a small boy cuddled up with a large stuffed teddy bear'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a dog standing on top of a grass covered field', Sentence2: 'a woman using a hair brush with red hair'. Is the frequency of the word 'top' in two sentences equal?

SOLUTION:
No