Problem: What are the most important words?
sheep eating grass through a fence in a farm
Answer: eat, farm, grass, sheep

Problem: What are the most important words?
pair of swans by the canal
Answer: canal, pair, swan

Problem: What are the most important words?
a clock attached to a wall of a building
Answer:
attach, building, clock, wall