mirror of
https://github.com/facebook/duckling.git
synced 2024-11-28 16:54:59 +03:00
fda8c7c759
Summary: - Setup Greek language (EL) - Added Greek Numerals Reviewed By: patapizza Differential Revision: D6217873 fbshipit-source-id: 379170f
85 lines
4.6 KiB
Haskell
85 lines
4.6 KiB
Haskell
-- 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.
|
|
|
|
|
|
module Duckling.Ranking.Classifiers
|
|
( classifiers
|
|
) where
|
|
|
|
import Data.Maybe
|
|
|
|
import Duckling.Locale
|
|
import Duckling.Ranking.Types
|
|
import qualified Duckling.Ranking.Classifiers.AR_XX as AR_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.BG_XX as BG_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.CS_XX as CS_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.DA_XX as DA_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.DE_XX as DE_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.EL_XX as EL_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.EN_GB as EN_GBClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.EN_US as EN_USClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.EN_XX as EN_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.ES_XX as ES_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.ET_XX as ET_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.FR_XX as FR_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.GA_XX as GA_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.HE_XX as HE_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.HR_XX as HR_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.HU_XX as HU_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.ID_XX as ID_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.IT_XX as IT_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.JA_XX as JA_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.KA_XX as KA_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.KO_XX as KO_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.MY_XX as MY_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.NB_XX as NB_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.NL_XX as NL_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.PL_XX as PL_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.PT_XX as PT_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.RO_XX as RO_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.RU_XX as RU_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.SV_XX as SV_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.TR_XX as TR_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.UK_XX as UK_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.VI_XX as VI_XXClassifiers
|
|
import qualified Duckling.Ranking.Classifiers.ZH_XX as ZH_XXClassifiers
|
|
|
|
classifiers :: Locale -> Classifiers
|
|
classifiers (Locale AR _) = AR_XXClassifiers.classifiers
|
|
classifiers (Locale BG _) = BG_XXClassifiers.classifiers
|
|
classifiers (Locale CS _) = CS_XXClassifiers.classifiers
|
|
classifiers (Locale DA _) = DA_XXClassifiers.classifiers
|
|
classifiers (Locale DE _) = DE_XXClassifiers.classifiers
|
|
classifiers (Locale EL _) = EL_XXClassifiers.classifiers
|
|
classifiers (Locale EN (Just GB)) = EN_GBClassifiers.classifiers
|
|
classifiers (Locale EN (Just US)) = EN_USClassifiers.classifiers
|
|
classifiers (Locale EN _) = EN_XXClassifiers.classifiers
|
|
classifiers (Locale ES _) = ES_XXClassifiers.classifiers
|
|
classifiers (Locale ET _) = ET_XXClassifiers.classifiers
|
|
classifiers (Locale FR _) = FR_XXClassifiers.classifiers
|
|
classifiers (Locale GA _) = GA_XXClassifiers.classifiers
|
|
classifiers (Locale HE _) = HE_XXClassifiers.classifiers
|
|
classifiers (Locale HR _) = HR_XXClassifiers.classifiers
|
|
classifiers (Locale HU _) = HU_XXClassifiers.classifiers
|
|
classifiers (Locale ID _) = ID_XXClassifiers.classifiers
|
|
classifiers (Locale IT _) = IT_XXClassifiers.classifiers
|
|
classifiers (Locale JA _) = JA_XXClassifiers.classifiers
|
|
classifiers (Locale KA _) = KA_XXClassifiers.classifiers
|
|
classifiers (Locale KO _) = KO_XXClassifiers.classifiers
|
|
classifiers (Locale MY _) = MY_XXClassifiers.classifiers
|
|
classifiers (Locale NB _) = NB_XXClassifiers.classifiers
|
|
classifiers (Locale NL _) = NL_XXClassifiers.classifiers
|
|
classifiers (Locale PL _) = PL_XXClassifiers.classifiers
|
|
classifiers (Locale PT _) = PT_XXClassifiers.classifiers
|
|
classifiers (Locale RO _) = RO_XXClassifiers.classifiers
|
|
classifiers (Locale RU _) = RU_XXClassifiers.classifiers
|
|
classifiers (Locale SV _) = SV_XXClassifiers.classifiers
|
|
classifiers (Locale TR _) = TR_XXClassifiers.classifiers
|
|
classifiers (Locale UK _) = UK_XXClassifiers.classifiers
|
|
classifiers (Locale VI _) = VI_XXClassifiers.classifiers
|
|
classifiers (Locale ZH _) = ZH_XXClassifiers.classifiers
|