{-# LANGUAGE OverloadedStrings #-}
module Duckling.AmountOfMoney.AR.Corpus
( corpus
) where
import Data.String
import Prelude
import Duckling.AmountOfMoney.Types
import Duckling.Locale
import Duckling.Resolve
import Duckling.Testing.Types
corpus :: Corpus
corpus :: Corpus
corpus = (Context
testContext {locale :: Locale
locale = Lang -> Maybe Region -> Locale
makeLocale Lang
AR Maybe Region
forall a. Maybe a
Nothing},
Options
testOptions, [Example]
allExamples)
allExamples :: [Example]
allExamples :: [Example]
allExamples = [[Example]] -> [Example]
forall (t :: * -> *) a. Foldable t => t [a] -> [a]
concat
[ AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
1)
[ Text
"$1"
, Text
"1 دولار"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
10)
[ Text
"$10"
, Text
"$ 10"
, Text
"10 $"
, Text
"10$"
, Text
"10$"
, Text
"10 دولار"
, Text
"عشرة دولارات"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Cent Double
10)
[ Text
"10 سنتات"
, Text
"10 سنت"
, Text
"10 سينت"
, Text
"10 سينتات"
, Text
"10 c"
, Text
"10¢"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
1e4)
[ Text
"10000 دولار"
, Text
"$10,000"
, Text
"10000$"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
EUR Double
20)
[ Text
"20 يورو"
, Text
"20 اورو"
, Text
"20 أورو"
, Text
"20€"
, Text
"20 €"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Pound Double
10)
[ Text
"10 جنيه"
, Text
"10 جنيهات"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
20.43)
[ Text
"20$ و 43c"
, Text
"$20 43"
, Text
"20$ 43c"
, Text
"20 دولار و43 سنت"
, Text
"20.43 $"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
GBP Double
3)
[ Text
"3 جنيهات استرلينية"
, Text
"3 جنيه استرليني"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
KWD Double
42)
[ Text
"42 KWD"
, Text
"42 دينار كويتي"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
LBP Double
42)
[ Text
"42 LBP"
, Text
"42 ليرة لبنانية"
, Text
"42 ليرات لبنانية"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
EGP Double
42)
[ Text
"42 EGP"
, Text
"42 جنيه مصري"
, Text
"42 جنيهات مصريه"
, Text
"42 ج.م"
, Text
"42 ج.م."
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
QAR Double
42)
[ Text
"42 QAR"
, Text
"42 ريال قطري"
, Text
"42 ريالات قطرية"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
SAR Double
42)
[ Text
"42 SAR"
, Text
"42 ريال سعودي"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> (Double, Double) -> AmountOfMoneyValue
between Currency
Dollar (Double
10, Double
20))
[ Text
"من 10 الى 20 دولار"
, Text
"بحدود 10-20 دولار"
, Text
"ما بين عشرة وعشرون دولار"
, Text
"من عشرة لعشرين دولار"
, Text
"حوالي 10$-20$"
, Text
"10-20 $"
, Text
"10-20 دولار"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
under Currency
EUR Double
7)
[ Text
"تحت سبعة اورو"
, Text
"اقل من سبعة يورو"
, Text
"اقل من 7 يورو"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
above Currency
Dollar Double
3.42)
[ Text
"اكثر من ثلاثة دولار و42 سينت"
, Text
"3.42$ على الاقل"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
JOD Double
5)
[ Text
"5 دينار اردني"
, Text
"5 دنانير أردنية"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
ILS Double
5)
[ Text
"5 شيقل"
, Text
"5 شواقل"
, Text
"خمسة شيكل"
]
]