duckling-0.1.2.0: A Haskell library for parsing text into structured data.

Safe HaskellNone
LanguageHaskell2010

Duckling.Rules

Synopsis

Documentation

allRules :: Lang -> [Rule] Source #

Returns all the rules for lang. We can't really use allDimensions as-is, since TimeGrain is not present.

rulesFor :: Lang -> HashSet (Some Dimension) -> [Rule] Source #

Returns the minimal set of rules required for targets.