Created translator functions for dfm to tm's DocumentTermMatrix and lda's implementation of the sparse matrix format as well.