Skip to content

Instantly share code, notes, and snippets.

@shayanjm
Created June 27, 2014 22:17
Show Gist options
  • Save shayanjm/7a085ad77514290c4986 to your computer and use it in GitHub Desktop.
Save shayanjm/7a085ad77514290c4986 to your computer and use it in GitHub Desktop.
(time
(dosync
(ensure newswire)
(ref-set ref2 {:titles (:titles @newswire)
:urls (:urls @newswire)
:sentiments (pmap #(find-sentiment (get-nyt-article-contents %)) (:urls @newswire))})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment