Problem: What are the most important words?
A pizza that is in a silver pan and sitting on a white surface.
Answer: pan, pizza, surface

Problem: What are the most important words?
ship type leaves the port of german city
Answer: city, leave, type

Problem: What are the most important words?
stained glass window with religious scene showing builder carring the cross
Answer:
builder, scene, stain, window