From: pierre Date: Sun, 14 Sep 2014 13:53:23 +0000 (+0200) Subject: encoding X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=f1c8bb143f403d37ccad639907bb519fbdd43451;p=iramuteq encoding --- diff --git a/textaslexico.py b/textaslexico.py index 000e8d0..35007b2 100644 --- a/textaslexico.py +++ b/textaslexico.py @@ -217,7 +217,7 @@ class TgenSpec(AnalyseText): self.doanalyse() def doanalyse(self): - self.tgen = TGen(path = self.parametres['tgenpath']) + self.tgen = TGen(path = self.parametres['tgenpath'], encoding = self.ira.syscoding) self.tgen.read(self.tgen.path) tgenocc, totocc = self.corpus.make_tgen_table(self.tgen, self.parametres['etoiles']) self.parametres['tgeneff'] = os.path.join(self.parametres['pathout'], 'tgeneff.csv')