put text into lda matrix