Input: Identify the most salient words:

stairs leading this mosque was built by military commander

Output: build
lead
stair

Input: Identify the most salient words:

an image of a train that is in a track

Output: image
track
train

Input: Identify the most salient words:

A woman pretending to ride on a stuffed giraffe.

Output: giraffe
ride
stuff

Input: Identify the most salient words:

A man is dying the hair of a woman with a very rich purple color

Output:
color
die
hair