Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.21 KB

README.org

File metadata and controls

28 lines (17 loc) · 1.21 KB

As of May 1st, 2017 the Duckling team deprecated the Clojure version in favor of the new Duckling. See their blog post announcement.

My intention is to continue the clojure development of the Duckling project so I forked it in this new project.

Duckling

Duckling is a Clojure library that parses text into structured data:

"the car is 2 meters long and costs 3000$." => [{:dim :amount-of-money, :body "3000$", :value {:type "value", :value 3000, :unit "USD"}, :start 35, :end 40}
                                                {:dim :distance, :body "2 meters", :value {:type "value", :value 2, :unit "metre"}, :start 11, :end 19}]

Getting started

For lein add to your project.clj: https://img.shields.io/clojars/v/dpom/clj-duckling.svg

In core source file you can find some examples of how to use the library. My nluserv project use also clj-duckling.

See the documentation and API for more information.