scan through words list and add the word indices to a list
take indices and convert to a binary vector of vocabular length