lda.estimate();
//save the model, we need typeTopicCounts and tokensPerTopic for empirical likelihood
lda.write(new File (inputFile.value + ".model"));
if (topicKeysFile.value != null) {
lda.printTopWords(new File(topicKeysFile.value), topWords.value, false);
}
if (topicKeysFile.value != null) {
lda.printTopWords(new File(topicKeysFile.value), topWords.value, false);
}
if (topicTypesFile.value != null) {