X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=textstat.py;h=afc9ff16e188431b586c5c4c638e467c1f4973ac;hp=bf28af119aea7c408a5465d5910127cb8e857cc3;hb=8cebf6f5e4531b73d8ba32f834c10cefd1086d80;hpb=b0333175cc68917ceb33589b0b354bf931fec245 diff --git a/textstat.py b/textstat.py index bf28af1..afc9ff1 100644 --- a/textstat.py +++ b/textstat.py @@ -31,20 +31,7 @@ class Stat(AnalyseText) : self.make_stats() def preferences(self) : - dial = StatDialog(self, self.parent) - dial.CenterOnParent() - val = dial.ShowModal() - if val == 5100 : - if dial.radio_lem.GetSelection() == 0 : - lem = 1 - else : - lem = 0 - self.parametres['lem'] = lem - dial.Destroy() - return self.parametres - else : - dial.Destroy() - return None + return self.parametres def make_stats(self): if self.dlg : @@ -124,8 +111,8 @@ class Stat(AnalyseText) : else : with open(self.pathout['%s.txt' % 'glob'], 'w') as f : f.write(self.result['glob'].encode(self.parent.syscoding)) - self.parametres['pathout'] = self.pathout['Analyse.ira'] - DoConf().makeoptions(['stat'],[self.parametres], self.pathout['Analyse.ira']) + #self.parametres['pathout'] = self.pathout['Analyse.ira'] + #DoConf().makeoptions(['stat'],[self.parametres], self.pathout['Analyse.ira']) #class Stat():