There is a lot of research interest in encoding variable length sentences
into fixed length vectors, in a way that preserves the sentence meanings. Two
common methods include representations based on averaging word vectors, and
representations based on the hidden states of recurrent neural ne