duckling_old icon indicating copy to clipboard operation
duckling_old copied to clipboard

Java API

Open riyadparvez opened this issue 7 years ago • 1 comments

I do not have very good idea about Java-Clojure interop. Is there any plan releasing documentation of public methods to use from Java program or a Java API?

riyadparvez avatar Nov 08 '16 22:11 riyadparvez

Take a look at https://clojure.org/reference/java_interop#_calling_clojure_from_java http://clojure.github.io/clojure/javadoc/ It's straightforward to write a wrapper class ensure Duckling is loaded (perhaps synchronously during construction) and to invoke the Duckling parse method.

almostimplemented avatar Mar 15 '17 17:03 almostimplemented