Sentence:  The portwatchers were retired longshoremen and small time seafarers off towboats and barges who <WSD>acted</WSD> as watchmen on the wharves . 
Meaning of the word marked with <WSD> tags:  function as or act like