Input: Identify the most salient words:

decorated window of the town hall

Output: decorate
hall
window

Input: Identify the most salient words:

A train moving on the tracks in a train yard

Output: move
track
yard

Input: Identify the most salient words:

a city and the railway and trams

Output: city
railway
tram

Input: Identify the most salient words:

country reached the final in the last tournament

Output:
country
reach
tournament