duckling-0.1.5.0: A Haskell library for parsing text into structured data.
Duckling.Duration.Helpers
duration :: Grain -> Int -> DurationData Source #
isGrain :: Grain -> Predicate Source #
isNatural :: Predicate Source #
minutesFromHourMixedFraction :: Integer -> Integer -> Integer -> DurationData Source #
timesOneAndAHalf :: Grain -> Int -> Maybe DurationData Source #