Problem: What are the most important words?
portrait of smiling student in a classroom
Answer: classroom, portrait, smile

Problem: What are the most important words?
a miniature pony or horse eating hay while for sale at the weekly market day
Answer: horse, pony, sale

Problem: What are the most important words?
smart new tower block of flats with trees seen through the windows at night
Answer:
block, flat, night, window