File size: 480 Bytes
435164a |
1 2 3 4 5 6 7 8 9 10 11 12 |
import herramientas
def Nombre(textos_extraidos, textos_extraidos_limpios):
indice = herramientas.buscaIndexPalabra(textos_extraidos_limpios, 'usual')
nombre = textos_extraidos[indice-2]
apellido = textos_extraidos[indice-1]
return nombre, apellido
def Identificacion(textos_extraidos, textos_extraidos_limpios):
indice = herramientas.buscarPatronCedula(textos_extraidos_limpios)
identificacion = textos_extraidos[indice]
return identificacion |