{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ordinal.HI.Corpus
( corpus ) where
import Data.String
import Prelude
import Duckling.Locale
import Duckling.Ordinal.Types
import Duckling.Resolve
import Duckling.Testing.Types
corpus :: Corpus
corpus :: Corpus
corpus = (Context
testContext {locale :: Locale
locale = Lang -> Maybe Region -> Locale
makeLocale Lang
HI 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
[OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
0)
[ Text
"शून्य"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
1)
[ Text
"प्रथम"
, Text
"पहला"
, Text
"पहली"
, Text
"पहले"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
2)
[ Text
"द्वितीय"
, Text
"दूसरा"
, Text
"दूसरी"
, Text
"दूसरे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
3)
[ Text
"तृतीय"
, Text
"तीसरा"
, Text
"तीसरी"
, Text
"तीसरे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
4)
[ Text
"चौथा"
, Text
"चौथी"
, Text
"चौथे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
5)
[ Text
"पाँचवा"
, Text
"पाँचवी"
, Text
"पाँचवे"
, Text
"5वा"
, Text
"5वी"
, Text
"5वे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
6)
[ Text
"छठा"
, Text
"छठी"
, Text
"छठे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
10)
[ Text
"दसवा"
, Text
"दसवी"
, Text
"दसवे"
, Text
"10वा"
, Text
"10वी"
, Text
"10वे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
18)
[ Text
"अठारहवा"
, Text
"अठारहवी"
, Text
"अठारहवे"
, Text
"18वा"
, Text
"18वी"
, Text
"18वे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
25)
[ Text
"पच्चीसवा"
, Text
"पच्चीसवी"
, Text
"पच्चीसवे"
, Text
"25वा"
, Text
"25वी"
, Text
"25वे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
50)
[ Text
"पचासवा"
, Text
"पचासवी"
, Text
"पचासवे"
, Text
"50वा"
, Text
"50वी"
, Text
"50वे"
]
, OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
90)
[ Text
"नब्बेवा"
, Text
"नब्बेवी"
, Text
"नब्बेवे"
, Text
"90वा"
, Text
"90वी"
, Text
"90वे"
]
]