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 hand holding a book on a table with a breakfast and coffee next to it', Sentence2: 'four tennis rackets hanging from a chain link fence'. Is the frequency of the word 'from' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a white plate topped with rice and sauce covered beef', Sentence2: 'a man standing in the ocean with a frisbee moving towards him'. Is the frequency of the word 'with' in two sentences equal?

SOLUTION:
Yes