Problem: What are the most important words?
Two hot dogs on a plate with beans and coleslaw.
Answer: bean, coleslaw, dog

Problem: What are the most important words?
statue of inventor stands below bridge
Answer: bridge, inventor, statue

Problem: What are the most important words?
a view of tourist attraction flying the flag
Answer:
attraction, flag, fly, view