Input: Identify the most salient words:

Men in uniforms re-enacting a war, shooting rifles and getting killed.

Output: rifle
shoot
war

Input: Identify the most salient words:

politician on a state visit visited country and met with religious leader

Output: country
leader
meet
visit

Input: Identify the most salient words:

fountain with statue of monarch in the city

Output: city
fountain
statue

Input: Identify the most salient words:

a ship in port is safe but that is not what ships are built for .

Output:
build
port
ship