818283848586878889909192
: clustering.cluster(matrix, props); } int a = 0; for (String word : words) { Assignment assignment = assignments.get(a++); System.out.printf("%s ", word); for (int i : assignment.assignments()) System.out.printf("%d ", i); System.out.println(); } }