Problem: What are the most important words?
stained glass above the altar .
Answer: altar, glass, stain

Problem: What are the most important words?
a pier on the bay leads to the building in the financial district
Answer: bay, lead, pier

Problem: What are the most important words?
a bathroom with a sink, mirror and a shelf
Answer:
bathroom, mirror, shelf, sink