duckling-0.1.6.1: 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 #