- 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.parent.ShowMenu(_("Text analysis"))
+ SimiLayout(self.parent, corpus, self.conf)
+ elif self.conf['type'] == 'wordcloud' :
+ self.parent.ShowMenu(_("Text analysis"))
+ WordCloudLayout(self.parent, corpus, self.conf)
+ #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