duckling/exe
Julien Odent f8c967c28d ExampleMain: show how to query for custom dimensions
Summary:
After including a custom dimension in `duckling.cabal` and importing
the constructor in `ExampleMain.hs`, you can query it using the `dims`
parameters (e.g. `dims=["my-dimension"]`).
Note that a custom dimension file should only expose the constructor (i.e.
`MyDimension(..)`) (and maybe a `corpus`).

https://github.com/facebook/duckling/issues/236

Reviewed By: adanielescu

Differential Revision: D9315608

fbshipit-source-id: 4908e7e27b31201c440a0c0db4cd3d567bd1e6f8
2018-08-16 15:30:43 -07:00
..
Duckling Add Numeral dimension for new language KM. (#234) 2018-08-03 14:45:55 -07:00
CustomDimensionExample.hs Update custom dimension example to include pattern match on dimension data 2018-08-13 16:55:07 -07:00
DucklingExpensive.hs Locales support 2017-10-13 08:34:21 -07:00
DucklingRequestSample.hs Locales support 2017-10-13 08:34:21 -07:00
ExampleMain.hs ExampleMain: show how to query for custom dimensions 2018-08-16 15:30:43 -07:00
RegenMain.hs Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00