{-# LANGUAGE OverloadedStrings #-}
module Duckling.AmountOfMoney.RU.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
RU 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
RUB Double
1)
[ Text
"1 rub"
, Text
"один рубль"
, Text
"1 ₽"
, Text
"1 рубль"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
RUB Double
10)
[ Text
"10 рублей"
, Text
"₽ 10"
, Text
"10₽"
, Text
"10RUB"
, Text
"10руб"
, Text
"10 рублей"
, Text
"рублей 10"
, Text
"10 рублях"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
1)
[ Text
"$1"
, Text
"один доллар"
]
, 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
"десять долларов"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Cent Double
10)
[ Text
"10 центов"
, Text
"десять пени"
, Text
"десять центов"
, 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
"$10К"
, Text
"10к$"
, Text
"$10,000"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
USD Double
3.14)
[ Text
"USD3.14"
, Text
"3.14US$"
, Text
"US$ 3.14"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
EUR Double
20)
[ Text
"20\x20ac"
, Text
"20 euros"
, Text
"20 Euro"
, Text
"20 Euros"
, Text
"EUR 20"
, Text
"EUR 20.0"
, Text
"20€"
, Text
"20 €ur"
, Text
"20 евро"
, Text
"Евро 20"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Pound Double
10)
[ Text
"\x00a3\&10"
, Text
"десять фунтов"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
INR Double
20)
[ Text
"Rs. 20"
, Text
"Rs 20"
, Text
"20Rs"
, Text
"Rs20"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Dollar Double
20.43)
[ Text
"$20 и 43ц"
, Text
"$20 43"
, Text
"20 долларов 43ц"
, Text
"20 долларов 43 центов"
, Text
"20 долларами 43 центами"
, Text
"20 долларов 43"
, Text
"двадцать долларов и 43"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
GBP Double
3.01)
[ Text
"GBP3.01"
, Text
"GBP 3.01"
, Text
"3 GBP 1 пенс"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
Unnamed Double
42)
[ Text
"42 бакса"
, Text
"бакса 42"
, Text
"42 баксов"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
BYN Double
42)
[ Text
"42 BYN"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
KWD Double
42)
[ Text
"42 KWD"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
LBP Double
42)
[ Text
"42 LBP"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
EGP Double
42)
[ Text
"42 EGP"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
QAR Double
42)
[ Text
"42 QAR"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
SAR Double
42)
[ Text
"42 SAR"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
BGN Double
42)
[ Text
"42 BGN"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
MYR Double
42)
[ Text
"42 MYR"
, Text
"42 RM"
, Text
"RM 42"
, Text
"MYR 42"
, Text
"42MYR"
, Text
"42RM"
, Text
"RM42"
, Text
"MYR42"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
simple Currency
UAH Double
3.04)
[ Text
"UAH 3.04"
, Text
"UAH3.04"
, Text
"3.04 грн"
, Text
"грн 3.04"
, Text
"₴3.04"
, Text
"₴ 3.04"
, Text
"3.04₴"
]
, 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
"10-20 долларов"
, Text
"между 10 долларами и 20 долларами"
, 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
"менее 7 евро"
, Text
"меньше чем 7 EUR"
, Text
"ниже 7€"
, Text
"меньше 7 евро"
, Text
"не больше 7 евро"
, Text
"не более 7 евро"
]
, AmountOfMoneyValue -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Currency -> Double -> AmountOfMoneyValue
above Currency
Dollar Double
1.42)
[ Text
"больше чем 1 доллар и сорок два цента"
, Text
"как минимум $1.42"
, Text
"более 1.42 долларов"
, Text
"выше 1 доллара и 42 центов"
, Text
"свыше 1 доллара и 42 центов"
]
]