-- Copyright (c) 2016-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree.


{-# LANGUAGE OverloadedStrings #-}

module Duckling.Ordinal.KA.Corpus
  ( corpus
  ) where

import Data.String
import Prelude

import Duckling.Ordinal.Types
import Duckling.Testing.Types

import Duckling.Locale
import Duckling.Resolve

corpus :: Corpus
corpus :: Corpus
corpus = (Context
testContext {locale :: Locale
locale = Lang -> Maybe Region -> Locale
makeLocale Lang
KA 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
1)
             [ Text
"პირველი"
             , Text
"1-ლი"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
2)
             [ Text
"მეორე"
             , Text
"მე-2"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
3)
             [ Text
"მესამე"
             , Text
"მე-3"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
4)
             [ Text
"მეოთხე"
             , Text
"მე-4"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
8)
             [ Text
"მერვე"
             , Text
"მე-8"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
25)
             [ Text
"ოცდამეხუთე"
             , Text
"25-ე"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
31)
             [ Text
"ოცდამეთერთმეტე"
             , Text
"31-ე"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
42)
             [ Text
"ორმოცდამეორე"
             , Text
"42-ე"
             ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
73)
            [ Text
"სამოცდამეცამეტე"
            , Text
"73-ე"
            ]
  , OrdinalData -> [Text] -> [Example]
forall a. ToJSON a => a -> [Text] -> [Example]
examples (Int -> OrdinalData
OrdinalData Int
90)
            [ Text
"ოთხმოცდამეათე"
            , Text
"90-ე"
            ]
  ]