mirror of
https://github.com/facebook/duckling.git
synced 2024-12-01 08:19:36 +03:00
Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
161889c3e6
Summary: * basic `README.md` * updated `duckling.cabal` Reviewed By: JonCoens Differential Revision: D4691967 fbshipit-source-id: 0a5cdf7 |
||
---|---|---|
Duckling | ||
CONTRIBUTING.md | ||
duckling.cabal | ||
ExampleMain.hs | ||
LICENSE | ||
PATENTS | ||
README.md | ||
RegenMain.hs | ||
stack.yaml | ||
TestMain.hs |
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.