This is a type of Feature Encoding that appends a position vector indicating the position of a word in a sentence.

they went out to play
(1)  (2)  (3) (4) (5)