importFrom(matrixStats, logSumExp, rowLogSumExps, colLogSumExps)
importFrom(slam, tcrossprod_simple_triplet_matrix, simple_triplet_matrix, as.simple_triplet_matrix)
importFrom(splines, ns,bs)
importFrom(lda, lda.collapsed.gibbs.sampler)
importFrom(stringr,str_wrap, str_split)

export(stm, summary.STM, print.STM, plot.STM,
       estimateEffect, plot.estimateEffect, 
       topicCorr, plot.topicCorr,
       labelTopics, print.labelTopics,
       findThoughts, print.findThoughts, plot.findThoughts, plotQuote,
       manyTopics, selectModel, plotModels, plotTopicLoess, 
       prepDocuments, readCorpus, textProcessor,
	   topicQuality, s, termitewriter,
      permutationTest, plot.STMpermute)

S3method(summary, STM)
S3method(print, STM)
S3method(plot, STM)
S3method(print, labelTopics)
S3method(plot, topicCorr)
S3method(plot, estimateEffect)
S3method(print, findThoughts)
S3method(plot, findThoughts)
S3method(plot, STMpermute)
