#NEWLINE# def __init__( self , corpusPath , modelPath , MALLET_PATH = 'tools/mallet' ) : #NEWLINE# #INDENT# self . logger = logging . getLogger ( 'termite' ) #NEWLINE# self . malletExecutable = '{}/bin/mallet' . format ( corpusPath ) #NEWLINE# self . corpusPath = corpusPath #NEWLINE# self . corpusInMallet = '{}/corpus.mallet' . format ( self . corpusPath ) #NEWLINE# self . modelPath = modelPath #NEWLINE# self . outputModel = '{}/lda.mallet' . format ( self . modelPath ) #NEWLINE# self . outputTopicKeys = '{}/output-topic-keys.txt' . format ( self . modelPath ) #NEWLINE# self . outputTopicWordWeights = '{}/topic-word-weights.txt' . format ( self . modelPath ) #NEWLINE# self . outputDocTopicMixtures = '{}/doc-topic-mixtures.txt' . format ( self . modelPath ) #NEWLINE# self . outputWordTopicCounts = '{}/word-topic-counts.txt' . format ( self . modelPath )