Problem: What are the most important words?
Onion, carrots, peppers, and potatoes with lettuce.
Answer: onion, pepper, potato

Problem: What are the most important words?
a chair and a couch in a room with art on the wall
Answer: art, chair, couch, room, wall

Problem: What are the most important words?
white domestic goat high in the hills rests on the grass
Answer:
goat, grass, rest