Problem: What are the most important words?
railway arriving at the station
Answer: arrive, railway, station

Problem: What are the most important words?
wallpaper possibly containing a portrait entitled the man with the smile
Answer: contain, entitle, portrait, wallpaper

Problem: What are the most important words?
People cross a little stone bridge at the park.
Answer:
bridge, cross, park