Problem: What are the most important words?
flowers and vegetables in the garden
Answer: flower, garden, vegetable

Problem: What are the most important words?
a man sticking a dish in the oven to cook
Answer: cook, dish, oven

Problem: What are the most important words?
the main temple with the flea market in front .
Answer:
front, market, temple