Skip to content

Instantly share code, notes, and snippets.

@mountain
Created March 4, 2014 04:23
Show Gist options
  • Save mountain/9340255 to your computer and use it in GitHub Desktop.
Save mountain/9340255 to your computer and use it in GitHub Desktop.
save lda schema
(def lda (second (get-model "model")))
(spit "2014.sch" (clojure.string/join "\n" (map #(clojure.string/join ";" %) (map vec (vec (.getTopWords lda 12))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment