Skip to content

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. (a duckling clojure fork)

License

Notifications You must be signed in to change notification settings

dpom/clj-duckling

Repository files navigation

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.

About

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. (a duckling clojure fork)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages