Input: Identify the most salient words:

clouds moving above a church on a sunny day

Output: church
cloud
move

Input: Identify the most salient words:

a city a place with history by politician

Output: city
history
place

Input: Identify the most salient words:

portrait of a young smiling teacher in classroom .

Output: classroom
portrait
smile
teacher

Input: Identify the most salient words:

the cover of the edition of author

Output:
author
cover
edition