Duckling.Rules
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 (Seal Dimension) -> [Rule] Source #
Returns the minimal set of rules required for targets.
targets