Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Go to file
Bartosz Nitka 28d53fce30 Remove ruleIntersect2
Summary:
It is no longer necessary after D4676812 and D4698788.
`"I have 9 am 12 pm 1 pm 2pm 4 pm 3 pm on Saturday"` now works in
less than a second, it used to be 10s.

The test suite also got 3s faster.

Reviewed By: patapizza

Differential Revision: D4701890

fbshipit-source-id: 107a55f
2017-03-14 05:04:12 -07:00
Duckling Remove ruleIntersect2 2017-03-14 05:04:12 -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.