Commit e4d907d06b4c900e1c7202576bbc27851371cb07
1 parent
9f97d9f4
Exists in
master
and in
1 other branch
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
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 | ... | ... |