mirror of
https://github.com/facebook/duckling.git
synced 2024-11-29 09:54:49 +03:00
5d03b45af9
Summary: - Setup Bulgarian (BG) language - Added Numeral Dimension Closes https://github.com/facebookincubator/duckling/pull/78 Reviewed By: niteria Differential Revision: D5575513 Pulled By: patapizza fbshipit-source-id: e566155
35 lines
939 B
Haskell
35 lines
939 B
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.
|
|
|
|
|
|
{-# LANGUAGE GADTs #-}
|
|
{-# LANGUAGE OverloadedStrings #-}
|
|
|
|
module Duckling.Rules.BG
|
|
( rules
|
|
) where
|
|
|
|
import Duckling.Dimensions.Types
|
|
import Duckling.Types
|
|
import qualified Duckling.Numeral.BG.Rules as Numeral
|
|
|
|
rules :: Some Dimension -> [Rule]
|
|
rules (This Distance) = []
|
|
rules (This Duration) = []
|
|
rules (This Numeral) = Numeral.rules
|
|
rules (This Email) = []
|
|
rules (This AmountOfMoney) = []
|
|
rules (This Ordinal) = []
|
|
rules (This PhoneNumber) = []
|
|
rules (This Quantity) = []
|
|
rules (This RegexMatch) = []
|
|
rules (This Temperature) = []
|
|
rules (This Time) = []
|
|
rules (This TimeGrain) = []
|
|
rules (This Url) = []
|
|
rules (This Volume) = []
|