including format document for lda and svm