From 12a4cd82d7022c1d640bf8c0eefdd692961cda3a Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 17 Feb 2013 21:20:21 +0100 Subject: [PATCH] export classe --- corpus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corpus.py b/corpus.py index 5a18f62..ee80d9e 100644 --- a/corpus.py +++ b/corpus.py @@ -434,7 +434,7 @@ class Corpus : f.write(guce.encode(self.parametres['syscoding']) + '\n\n') def export_classe(self, outf, classe, lem = False) : - sts = self.lc[classe] + sts = self.lc[classe - 1] res = self.getconcorde(sts) self.make_iduces() with open(outf, 'w') as f : -- 2.7.4