{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ordinal.EN.Corpus
( corpus ) where
import Prelude
import Data.String
import Duckling.Ordinal.Types
import Duckling.Testing.Types
corpus :: Corpus
corpus = (testContext, allExamples)
allExamples :: [Example]
allExamples = concat
[ examples (OrdinalData 1)
[ "first"
, "1st"
]
, examples (OrdinalData 2)
[ "second"
, "2nd"
]
, examples (OrdinalData 3)
[ "third"
, "3rd"
]
, examples (OrdinalData 4)
[ "fourth"
, "4th"
]
, examples (OrdinalData 8)
[ "eighth"
, "8th"
]
, examples (OrdinalData 25)
[ "twenty-fifth"
, "25th"
]
, examples (OrdinalData 31)
[ "thirty-first"
, "31st"
]
, examples (OrdinalData 42)
[ "forty-second"
, "42nd"
]
, examples (OrdinalData 77)
[ "seventy-seventh"
, "77th"
]
, examples (OrdinalData 90)
[ "ninetieth"
, "90th"
]
]