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 man standing next to a woman in front of an oven', Sentence2: 'a female with blue hair and a yellow umbrella'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a black and white dog wearing a red coat on a bed', Sentence2: 'a frowning woman holding a piece of pizza in her right hand'. Is the frequency of the word 'frowning' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a man with a helmet is on a surfboard', Sentence2: 'elephants wading in shallow water on a gloomy day'. Is the frequency of the word 'man' in two sentences equal?

SOLUTION:
No