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: 'signs in front of a diner on the streets of a busy and compact road', Sentence2: 'a black and white photo of two women and a bbq'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man in a vest standing in a bathroom', Sentence2: 'skateboarder with a black helmet and flannel shirt skateboards while another person takes a photograph'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a man holding a tennis racquet standing on a tennis court', Sentence2: 'a cheesy pizza covered in topping sitting on top of a pan'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION:
No