module Duckling.Quantity.FR.Corpus
( corpus ) where
import Prelude
import Data.String
import Duckling.Locale
import Duckling.Quantity.Types
import Duckling.Resolve
import Duckling.Testing.Types
corpus :: Corpus
corpus = (testContext {locale = makeLocale FR Nothing}, allExamples)
allExamples :: [Example]
allExamples = concat
[ examples (QuantityData Cup 2 (Just "café"))
[ "2 tasses de café"
]
, examples (QuantityData Cup 1 Nothing)
[ "une Tasse"
]
, examples (QuantityData Tablespoon 3 (Just "sucre"))
[ "3 Cuillères à soupe de sucre"
]
]