Commit f806b639eeb829344b4d1c2385ac1493cb4e3950

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

Adiciona cabeçalho no ConversorExtenso

src/new/AplicaSinonimos.py
... ... @@ -33,6 +33,7 @@ class AplicaSinonimos(object):
33 33 dic[f] = token
34 34 return dic
35 35  
  36 +
36 37 def sinonimosSintatico(self, texto):
37 38 folhas = Tree.leaves(texto)
38 39 dic = self.dicionarioSinonimoFolhas(folhas)
... ... @@ -42,6 +43,7 @@ class AplicaSinonimos(object):
42 43 tree = Tree.fromstring(stringTree, brackets='()')
43 44 return tree
44 45  
  46 +
45 47 def verificaPalavra(self, token):
46 48 if self.__dicionarios.hasSinonimo(token):
47 49 return self.__dicionarios.getSinonimo(token)
... ...
src/new/ConversorExtenso.py
  1 +#!/usr/bin/python
1 2 # -*- coding: utf-8 -*-
2   -# Autor: Erickson Silva
  3 +
  4 +#Autor: Erickson Silva
  5 +#Email: <erickson.silva@lavid.ufpb.br> <ericksonsilva@live.com>
  6 +
  7 +#LAViD - Laboratório de Aplicações de Vídeo Digital
3 8  
4 9 import sys
5 10 from unicodedata import normalize
... ...