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 yellow train is on the railroad tracks', Sentence2: 'a policy officer talking to a fellow officer next to a busy city street'. Is the frequency of the word 'tracks' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two sheep on a hill with green grass', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man flying through the air on a  skateboard', Sentence2: 'a potluck buffet set up on a long table'. Is the frequency of the word 'through' in two sentences equal?

SOLUTION:
No