Bugfix and added empty test case to force loading/compiling of clj-ml.public-datasets.
This commit is contained in:
parent
3dd4d872cd
commit
b8cc877c05
2 changed files with 4 additions and 2 deletions
|
@ -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))))))})))
|
||||
|
|
2
test/clj_ml/public_datasets_test.clj
Normal file
2
test/clj_ml/public_datasets_test.clj
Normal file
|
@ -0,0 +1,2 @@
|
|||
(ns clj-ml.public-datasets-test
|
||||
(:use [clj-ml.public-datasets]))
|
Loading…
Reference in a new issue