X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=openanalyse.py;h=1cf1a03bc602fd0ccc2ef376f433af17720a38bc;hp=da4a75d88f19d70272541827de97293e97f6d4ee;hb=b0333175cc68917ceb33589b0b354bf931fec245;hpb=e6c5f5e94867e9af48a3acd780e61f87ec5f55c8 diff --git a/openanalyse.py b/openanalyse.py index da4a75d..1cf1a03 100644 --- a/openanalyse.py +++ b/openanalyse.py @@ -60,7 +60,18 @@ class OpenAnalyse(): elif self.conf['type'] == 'alceste' : self.parent.ShowMenu(_("Text analysis")) OpenCHDS(self.parent, corpus, self.conf, Alceste = True) - elif self.conf['type'] == 'simi' : + elif self.conf['type'] == 'simitxt' : + self.tableau = Tableau(self.parent, self.conf['ira']) + self.DictPathOut=construct_simipath(self.conf['pathout']) + self.tableau.dictpathout = self.DictPathOut + self.tableau.read_tableau(self.tableau.dictpathout['db']) + if self.tableau.parametre.get('corpus', False) : + self.corpus=corpus + #self.corpus.read_corpus_from_shelves(self.DictPathOut['corpus']) + self.corpus.parametres['openpath'] = self.conf['pathout'] + self.parent.ShowMenu(_("Text analysis")) + DoSimi(self.parent, self.conf, isopen = True, filename = self.conf['ira'], gparent = self, openfromprof=False) + print 'simi' # try : # #if self.conf['type'] in ['analyse','lexico','stat','wordcloud'] :