Commit d8416abb7197e3a834bd09835eb39cdbbac86884
1 parent
9943b05e
Exists in
devel
Altera tokenizador para TOK_PORT
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/ClassificaSentencas.py
... | ... | @@ -49,7 +49,7 @@ class ClassificaSentencas(object): |
49 | 49 | decodificada = s.replace("“","").replace("”","").replace("«","").replace("»","").replace("’","").replace("‘","").replace("º","").decode("utf-8") |
50 | 50 | except: |
51 | 51 | decodificada = s.decode("utf-8") |
52 | - return Toqueniza.TOK_PORT_LX.tokenize(decodificada) | |
52 | + return Toqueniza.TOK_PORT.tokenize(decodificada) | |
53 | 53 | |
54 | 54 | def obter_classificacao_morfologica(self): |
55 | 55 | return self.sentenca_anotada |
... | ... | @@ -161,4 +161,4 @@ class ClassificaSentencas(object): |
161 | 161 | def iniciar_classificacao(self, sentenca): |
162 | 162 | tokens = self.toqueniza(sentenca) |
163 | 163 | tree = self.analisa_sentenca(tokens) |
164 | - return tree | |
165 | 164 | \ No newline at end of file |
165 | + return tree | ... | ... |