I want to basically introduce non-linearity by using an LSTM network on each of the words in a variable length sentence. So, basically, I want to get a stack of vectors for each sentence. Any ideas on how to do this?