Problem: What are the most important words?
Soldiers are holding guns and peeking around a building.
Answer: building, gun, hold, peek, soldier

Problem: What are the most important words?
people crossing the border into country as they flee unitary state
Answer: border, country, state

Problem: What are the most important words?
it was growing on the same stem as the normal flowers
Answer:
flower, grow, stem