Problem: What are the most important words?
ship visits a city for the last time .
Answer: city, ship, visit

Problem: What are the most important words?
bridge crossing the creek along the trail
Answer: bridge, creek, trail

Problem: What are the most important words?
man walking in jungle with tourist .
Answer:
jungle, tourist, walk