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 dog sits on the sidewalk while a girl looks at her cellphone', Sentence2: 'a cat looks outside of a dirty old window'. Is the frequency of the word 'looks' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a room that has a table with chairs around it', Sentence2: 'a lot of plants and greenery with a train in the background'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a plate with half a sandwich a pickle and a side', Sentence2: 'a made up bed with a night stand and lamp'. Is the frequency of the word 'with' in two sentences equal?

SOLUTION:
Yes