- if options.type_analyse == 'alceste' :
- log.debug('ATTENTION : ANALYSE NG')
- #print corpus.make_etoiles()
- #zerzre
- #corpus.read_corpus()
- #corpus.parse_active(gramact, gramsup)
- Alceste(self, corpus)
- # self.Text = AnalyseAlceste(self, cmd = True, big = True)
- #self.Text = AnalyseAlceste(self, cmd = True)
- elif options.type_analyse == 'pam' :
- self.Text = PamTxt(self, cmd = True)
- elif options.type_analyse == 'afcuci' :
- self.Text = AfcUci(self, cmd = True)
- elif options.type_analyse == 'stat' :
- self.Text = Stat(self, corpus, config = {'type' : 'stat'})
- elif options.type_analyse == 'spec' :
- self.Text = Lexico(self, corpus, config = {'type' : 'spec'})
+ if options.type_analyse == 'alceste' :
+ log.debug('ATTENTION : ANALYSE NG')
+ #print corpus.make_etoiles()
+ #zerzre
+ #corpus.read_corpus()
+ #corpus.parse_active(gramact, gramsup)
+ config['type'] = 'alceste'
+ self.Text = Reinert(self, corpus, parametres = config)
+ # self.Text = AnalyseAlceste(self, cmd = True, big = True)
+ #self.Text = AnalyseAlceste(self, cmd = True)
+ elif options.type_analyse == 'pam' :
+ self.Text = PamTxt(self, cmd = True)
+ elif options.type_analyse == 'afcuci' :
+ self.Text = AfcUci(self, cmd = True)
+ elif options.type_analyse == 'stat' :
+ self.Text = Stat(self, corpus, parametres = {'type':'stat'})
+ elif options.type_analyse == 'spec' :
+ self.Text = Lexico(self, corpus, config = {'type' : 'spec'})
+ elif options.type_analyse == 'simitxt' :
+ self.Text = SimiTxt(self, corpus, parametres = parametres)