Carlos-Francisco Méndez-Cruz

LSA soft clustering

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