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