Bugfix and added empty test case to force loading/compiling of clj-ml.public-datasets.

This commit is contained in:
Joshua Eckroth 2013-07-04 09:42:03 -04:00
parent 3dd4d872cd
commit b8cc877c05
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,6 @@
(for [f files
xmldoc (:content (xml/parse (reader f)))]
{:id (:NEWID (:attrs xmldoc))
{:terms {"Topics" (for [topic (:content (second (:content xmldoc)))]
(first (:content topic)))}}
:terms {"Topics" (for [topic (:content (second (:content xmldoc)))]
(first (:content topic)))}
:fulltext (first (:content (last (:content (last (:content xmldoc))))))})))

View file

@ -0,0 +1,2 @@
(ns clj-ml.public-datasets-test
(:use [clj-ml.public-datasets]))