Commits

remusao committed 4a3860c

call cluster with names of documents

  • Participants
  • Parent commits 61cb0eb

Comments (0)

Files changed (1)

     k = args["topic"]
     topwords = args["topwords"]
     models = [lda]
+    documents = map(x -> x.filename, corpus.documents)
 
     println()
     println("> Options are:")
             end
 
             # Cluster documents
-            cluster(result, 5)
+            println(cluster(result, documents, 5))
 
             if args["stdprint"]
                 println(topics)