Problem: What are the most important words?
love written on a wall
Answer: love, wall, write

Problem: What are the most important words?
a view as seen from a ferry leaving the dock
Answer: dock, ferry, leave, view

Problem: What are the most important words?
a man comforts a student outside a school .
Answer:
comfort, school, student