Problem: What are the most important words?
walls surrounding the old city
Answer: city, surround, wall

Problem: What are the most important words?
wooden gates at the end of a private road in a small town
Answer: end, road, town

Problem: What are the most important words?
Train tracks that are merging, one of the tracks has a train on it.
Answer:
merge, track, train