Gem: Duckling




Feb 21, 2015

Duckling is a very interesting project that I think exemplifies many great design principles. It's a parser written in Clojure that can turn natural language sentences into structured computer readable data. Clojure, if you haven't heard, is a Lisp that runs on Java's virtual machine. Now's a good a time as any to check it out!

Here are some things Duckling can understand:

Some of the design decisions that really set Duckling apart:

Go ahead and check out the docs and give building your own parser a try: Duckling.

Follow me on twitter @chrislpenner to catch new articles as they come!

Hopefully you learned something 🤞! If you did, please consider checking out my book: It teaches the principles of using optics in Haskell and other functional programming languages and takes you all the way from an beginner to wizard in all types of optics! You can get it here. Every sale helps me justify more time writing blog posts like this one and helps me to continue writing educational functional programming content. Cheers!