Kevin Meza Landeros

Update filtering_v2.py

......@@ -16,7 +16,7 @@ __author__ = 'kevinml'
# --iFile Archivo a partir del cual se obtendran los 3 archivos.
#
# Examples
# python filtering.py --inputPath /home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input --outputPath /home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input --iFile NER_words.txt
# python filtering_v2.py --inputPath /home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input --outputPath /home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input --iFile NER_words.txt
####################################################################################
# FUNCTIONS #
......@@ -60,7 +60,7 @@ if __name__ == '__main__':
# Se abre el archivo.
with open (os.path.join(args.outputPath,"Alphanum.txt"), "w+") as oFile:
for index, row in file.iterrows():
# La bandera en 1 indica que ninguna palabra de la primer columna tiene caracteres NO alfanumericos
# La bandera en 1 indica que ninguna palabra de la primer columna tiene caracteres NO alfanumericos
# La bandera en 0 indica que al menos una palabra tienes caracteres NO alfanumericos.
bandera = 1
# Con el for se va a verificando la presencia de caracteres alfanumericos en cada palabra de la primera columna
......