find the corresponding locations of the words we have tagged