Problem: What are the most important words?
art gallery is a national museum dedicated to arts and history .
Answer: art, history, museum

Problem: What are the most important words?
flowers placed by fans on star .
Answer: flower, place, star

Problem: What are the most important words?
A wall with books shelves and two plates hung on it.
Answer:
hang, shelf, wall