better docs + checking for LDA input corpus