diff --git a/README.md b/README.md index de4d547..98cc79f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ -# clj-wordcloud [![Build Status](https://travis-ci.org/tirkarthi/clj-wordcloud.svg?branch=master)](https://travis-ci.org/tirkarthi/clj-wordcloud) +# clj-wordcloud [![Clojars Project](https://img.shields.io/clojars/v/xtreak/clj-wordcloud.svg)](https://clojars.org/xtreak/clj-wordcloud) [![Build Status](https://travis-ci.org/tirkarthi/clj-wordcloud.svg?branch=master)](https://travis-ci.org/tirkarthi/clj-wordcloud) A simple clojure wrapper around kumo to generate wordcloud +## Leiningen + +`[xtreak/clj-wordcloud "0.0.1"]` + ## Example Given a map of element and the frequency the following image is generated. More examples/examples.clj. @@ -10,7 +14,7 @@ Given a map of element and the frequency the following image is generated. More ```clojure (ns examples - (:require '[clj-wordcloud.core :refer :all])) + (:require [clj-wordcloud.core :refer :all])) (let [frequency-map (zipmap (random-words 100) (shuffle (range 300))) word-cloud (word-cloud frequency-map @@ -34,7 +38,7 @@ Given a map of element and the frequency the following image is generated. More ```clojure (ns examples - (:require '[clj-wordcloud.core :refer :all])) + (:require [clj-wordcloud.core :refer :all])) (let [frequency-map (zipmap (range 100 150) (shuffle (range 300))) word-cloud (word-cloud frequency-map diff --git a/examples/example_circle.png b/examples/example_circle.png index eabc3fa..3ee47b5 100644 Binary files a/examples/example_circle.png and b/examples/example_circle.png differ diff --git a/examples/examples.clj b/examples/examples.clj index c2cebc1..77cacf9 100644 --- a/examples/examples.clj +++ b/examples/examples.clj @@ -1,5 +1,5 @@ (ns examples - (:require '[clj-wordcloud.core :refer :all])) + (:require [clj-wordcloud.core :refer :all])) (defn random-words