{-# LANGUAGE OverloadedStrings #-}
module Duckling.Duration.TR.Corpus
( corpus
) where
import Data.String
import Prelude
import Duckling.Duration.Types
import Duckling.Locale
import Duckling.Resolve
import Duckling.Testing.Types
import Duckling.TimeGrain.Types (Grain (..))
corpus :: Corpus
corpus = (testContext {locale = makeLocale TR Nothing}, allExamples)
allExamples :: [Example]
allExamples = concat
[ examples (DurationData 1 Second)
[ "bir sn"
, "1 saniye"
, "1\""
]
, examples (DurationData 2 Minute)
[ "2 dk"
, "iki dakika"
, "2'"
]
, examples (DurationData 30 Day)
[ "30 gün"
]
, examples (DurationData 7 Week)
[ "yedi hafta"
]
, examples (DurationData 1 Month)
[ "1 ay"
, "bir ay"
]
, examples (DurationData 3 Quarter)
[ "3 çeyrek yıl"
]
, examples (DurationData 2 Year)
[ "2 yıl"
]
]