Moved lda model building code to tme.