Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Go to file
Julien Odent 2e50aa5ea0 Fix 'tomorrow July' + IT fixes
Summary:
* we weren't checking the right reference time in `takeNth` and `takeN`
* fixing resulting failing tests for `IT`
* `analyzedNTest` to check that input results in `n` parsed tokens

Reviewed By: niteria

Differential Revision: D4698788

fbshipit-source-id: 2cd4762
2017-03-13 12:04:17 -07:00
Duckling Fix 'tomorrow July' + IT fixes 2017-03-13 12:04:17 -07:00
CONTRIBUTING.md CONTRIBUTING.md 2017-03-10 14:49:18 -08:00
duckling.cabal Make the license field more precise 2017-03-13 06:04:10 -07:00
ExampleMain.hs Initial commit 2017-03-08 10:33:56 -08:00
LICENSE Initial commit 2017-03-08 10:33:56 -08:00
PATENTS Initial commit 2017-03-08 10:33:56 -08:00
README.md README.md + updating cabal 2017-03-10 15:04:23 -08:00
RegenMain.hs Initial commit 2017-03-08 10:33:56 -08:00
stack.yaml Initial commit 2017-03-08 10:33:56 -08:00
TestMain.hs Initial commit 2017-03-08 10:33:56 -08:00

Duckling

Duckling is a Haskell library that parses text into structured data.

Requirements

A Haskell environment is required. We recommend using stack.

Quickstart

To compile and run the binary:

$ stack build
$ stack exec duckling-example-exec

The first time you run it, it will download all required packages.

To run a source file directly (after compiling once):

$ stack ExampleMain.hs

See ExampleMain.hs for an example on how to integrate Duckling in your project.

To regenerate the classifiers and run the tests:

$ stack RegenMain.hs && stack TestMain.hs

License

Duckling is BSD-licensed. We also provide an additional patent grant.