Problem: What are the most important words?
stroll a city to discover building
Answer: building, city, discover

Problem: What are the most important words?
ship leaving port with crowds on deck and on the pier
Answer: pier, port, ship

Problem: What are the most important words?
Black and white sheep are in a pen looking between wood slats.
Answer:
look, pen, slat