Problem: What are the most important words?
small boats at the old harbour of city .
Answer: boat, city, harbour

Problem: What are the most important words?
students studying at a table
Answer: student, study, table

Problem: What are the most important words?
man leaving the island by boat .
Answer:
boat, island, leave