duckling/Duckling/Numeral/MN/Corpus.hs
Julien Odent bf89e34365 Relicense to BSD3
Reviewed By: JoelMarcey

Differential Revision: D15439223

fbshipit-source-id: c5af3cb06318748142fe503945b38beffadfc28a
2019-05-22 10:46:39 -07:00

105 lines
2.4 KiB
Haskell
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 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.Numeral.MN.Corpus
( corpus
) where
import Data.String
import Prelude
import Duckling.Locale
import Duckling.Numeral.Types
import Duckling.Resolve
import Duckling.Testing.Types
context :: Context
context = testContext {locale = makeLocale MN Nothing}
corpus :: Corpus
corpus = (context, testOptions, allExamples)
allExamples :: [Example]
allExamples = concat
[ examples (NumeralValue 0)
[ "0"
, "нойл"
, "тэг"
]
, examples (NumeralValue 1)
[ "1"
, "нэг"
]
, examples (NumeralValue 2)
[ "хоёр"
]
, examples (NumeralValue 3)
[ "гурав"
]
, examples (NumeralValue 4)
[ "дөрөв"
]
, examples (NumeralValue 5)
[ "тав"
]
, examples (NumeralValue 6)
[ "зургаа"
]
, examples (NumeralValue 7)
[ "долоо"
]
, examples (NumeralValue 8)
[ "найм"
]
, examples (NumeralValue 9)
[ "ес"
]
, examples (NumeralValue 11)
[ "арван нэг"
]
, examples (NumeralValue 15)
[ "арван тав"
]
, examples (NumeralValue 17)
[ "арван долоо"
]
, examples (NumeralValue 20)
[ "20"
, "хорь"
]
, examples (NumeralValue 22)
[ "хорин хоёр"
]
, examples (NumeralValue 24)
[ "24"
, "хорин дөрөв"
]
, examples (NumeralValue 26)
[ "хорин зургаа"
]
, examples (NumeralValue 28)
[ "хорин найм"
]
, examples (NumeralValue 10)
[ "арав"
]
, examples (NumeralValue 20)
[ "хорь"
]
, examples (NumeralValue 50)
[ "тавь"
]
, examples (NumeralValue 34)
[ "гучин дөрөв"
]
, examples (NumeralValue 99)
[ "ерэн ес"
]
]