duckling/Duckling/Numeral/MN/Corpus.hs
uugan 69ffb0f39d Mongolian (#277)
Summary:
MN Setup+Numeral
Pull Request resolved: https://github.com/facebook/duckling/pull/277

Reviewed By: chinmay87

Differential Revision: D13028169

Pulled By: patapizza

fbshipit-source-id: 7d587300918b3ed6211b6ce4147350147b4dc89e
2018-11-26 15:31:08 -08:00

106 lines
2.5 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. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
{-# 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)
[ "ерэн ес"
]
]