From f1c8bb143f403d37ccad639907bb519fbdd43451 Mon Sep 17 00:00:00 2001 From: pierre Date: Sun, 14 Sep 2014 15:53:23 +0200 Subject: [PATCH] encoding --- textaslexico.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.7.4