-- 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. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.


{-# LANGUAGE OverloadedStrings #-}

module Duckling.Numeral.BG.Corpus
  ( corpus ) where

import Data.String
import Prelude

import Duckling.Locale
import Duckling.Numeral.Types
import Duckling.Resolve
import Duckling.Testing.Types

corpus :: Corpus
corpus = (testContext {locale = makeLocale BG Nothing}, testOptions, allExamples)

allExamples :: [Example]
allExamples = concat
  [ examples (NumeralValue 0)
             [ "0"
             , "нула"
             ]
  , examples (NumeralValue 1)
             [ "1"
             , "един"
             , "една"
             , "едно"
             ]
  , examples (NumeralValue 2)
             [ "2"
             , "02"
             , "две"
             , "два"
             ]
  , examples (NumeralValue 3)
             [ "3"
             , "03"
             , "три"
             ]
  , examples (NumeralValue 4)
             [ "4"
             , "04"
             , "четири"
             ]
  , examples (NumeralValue 5)
             [ "5"
             , "05"
             , "пет"
             ]
  , examples (NumeralValue 33)
             [ "33"
             , "0033"
             , "тридесет и три"
             ]
  , examples (NumeralValue 14)
             [ "14"
             , "четиринадесет"
             , "четиринайсет"
             ]
  , examples (NumeralValue 15)
             [ "15"
             , "петнадесет"
             , "петнайсет"
             ]
  , examples (NumeralValue 16)
             [ "16"
             , "шестнадесет"
             , "шестнайсет"
             ]
  , examples (NumeralValue 17)
             [ "17"
             , "седемнадесет"
             , "седемнайсет"
             ]
  , examples (NumeralValue 18)
             [ "18"
             , "осемнадесет"
             , "осемнайсет"
             ]
  , examples (NumeralValue 525)
             [ "525"
             , "петстотин двадесет и пет"
             ]
  , examples (NumeralValue 1.1)
             [ "1.1"
             , "1.10"
             , "01.10"
             , "1 цяло и 1"
             , "едно цяло и едно"
             ]
  , examples (NumeralValue 0.77)
             [ "0.77"
             , ".77"
             ]
  , examples (NumeralValue 100000)
             [ "100000"
             , "100к"
             , "100К"
             ]
  , examples (NumeralValue 3000000)
             [ "3М"
             , "3000К"
             , "3000000"
             , "3,000,000"
             ]
  , examples (NumeralValue 1200000)
             [ "1200000"
             , "1.2М"
             , "1200К"
             , ".0012Г"
             ]
  , examples (NumeralValue (-1200000))
             [ "-1200000"
             , "минус 1200000"
             , "-1.2М"
             , "-1200К"
             , "-.0012Г"
             ]
  ]