Carlos-Francisco Méndez-Cruz

LSA soft clustering

...@@ -96,8 +96,8 @@ if __name__ == "__main__": ...@@ -96,8 +96,8 @@ if __name__ == "__main__":
96 #listLabels.append(label + group[1]) 96 #listLabels.append(label + group[1])
97 listLabels.append(label) 97 listLabels.append(label)
98 print("Reading vectors done!") 98 print("Reading vectors done!")
99 - print(" Len vectors: " + str(len(listVectors))) 99 + print(" Total vectors: " + str(len(listVectors)))
100 - print(" Len labels: " + str(len(listLabels))) 100 + print(" Total labels: " + str(len(listLabels)))
101 101
102 with open(os.path.join(options.outputPath, options.vectorFile.replace('.txt', '.grps.txt')), mode='w', encoding='utf8') as oFile: 102 with open(os.path.join(options.outputPath, options.vectorFile.replace('.txt', '.grps.txt')), mode='w', encoding='utf8') as oFile:
103 for g, l in sorted(zip(listGroup, listLabels)): 103 for g, l in sorted(zip(listGroup, listLabels)):
......