added corpus.freqs function, add lda to corpus demo