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

Safe HaskellNone
LanguageHaskell2010

Duckling.Rules

Synopsis

Documentation

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.

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

Returns the minimal set of rules required for targets.