News for hackers. Stuff that matters.
Re:Simple tf-idf in 30 lines of Idiomatic Clojure by mduerksen on Tuesday June 28, 2011 @04:52AM (#2704638)
Two remarks:

1. Don't 'earmuff' your stopwords, since you don't intend them to be rebound. An according guideline can be found here: http://dev.clojure.org/display/design/Library+Coding+Standar...

2. You could replace (remove nil? (map db (tokenize raw-text))) with (keep db (tokenize raw-text))

Re:Simple tf-idf in 30 lines of Idiomatic Clojure by ithayer on Tuesday June 28, 2011 @12:38PM (#2706061)
Thanks!