Commit e4d907d06b4c900e1c7202576bbc27851371cb07

Authored by Erickson Silva
1 parent 9f97d9f4
Exists in master and in 1 other branch devel

Corrige identação e corrige carregamento do HunPos

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
src/new/AplicaRegras.py
... ... @@ -35,7 +35,7 @@ class AplicaRegras(object):
35 35 #VERIFICA SE É ADVERBIO E CONTA A QUANTIDADE
36 36 if tag[:3] == "ADV":
37 37 if (self.__dicionarios.hasTempoVerbal(token)):
38   - self.__adv = True
  38 + self.__adv = True
39 39  
40 40 if tag[:2] == "VB":
41 41  
... ...
src/new/alexp.py
... ... @@ -56,7 +56,7 @@ def getAnaliseMorfologica():
56 56 def etiquetaSentenca(s):
57 57 """Aplica um dos etiquetadores do Aelius na etiquetagem da sentença dada como lista de tokens.
58 58 """
59   - etiquetador = list((carrega("AeliusHunPos"),"nltk"))
  59 + etiquetador = carrega("AeliusHunPos")
60 60 anotada = AnotaCorpus.anota_sentencas([s],etiquetador,"hunpos")[0]
61 61 return anotada
62 62  
... ...