Problem: What are the most important words?
fans exit building on their way
Answer: building, fan, way

Problem: What are the most important words?
politicians opened the event with inspiring remarks
Answer: event, open, politician, remark

Problem: What are the most important words?
fishermen hauling a boat of the sea at the beach
Answer:
beach, boat, fisherman, sea