X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=corpus.py;h=cd6c36467b587157ab7bbc3b36a3c2efd5edf608;hp=2e85ed58c413b031f7c4a3bb142de0da4a134755;hb=f783912e20ea9aea521a5044ce90a0cfcc80b80e;hpb=87842df83ba95117fcda5575bc60067a6d3654b0 diff --git a/corpus.py b/corpus.py index 2e85ed5..cd6c364 100644 --- a/corpus.py +++ b/corpus.py @@ -77,10 +77,10 @@ class Corpus : gramtype = self.parent.lexique[word][1] lem = self.parent.lexique[word][0] elif word.isdigit() : - gramtype = 'num' + gramtype = u'num' lem = word else : - gramtype = 'nr' + gramtype = u'nr' lem = word self.formes[word] = Word(word, gramtype, len(self.formes), lem) self.idformesuces[self.formes[word].ident] = {self.ucis[-1].uces[-1].ident : 1}