duckling-0.1.2.0: A Haskell library for parsing text into structured data.
Duckling.Rules
Synopsis
allRules :: Lang -> [Rule] Source #
Returns all the rules for lang. We can't really use allDimensions as-is, since TimeGrain is not present.
lang
allDimensions
TimeGrain
rulesFor :: Lang -> HashSet (Some Dimension) -> [Rule] Source #
Returns the minimal set of rules required for targets.
targets