mirror of
https://github.com/facebook/duckling.git
synced 2024-12-01 08:19:36 +03:00
1b91b70c58
Summary: `DNumber` is a terrible name and was only there because legacy. `Numeral` makes more sense for this dimension, so let's use that instead. Reviewed By: patapizza Differential Revision: D4707167 fbshipit-source-id: cd78aa3
26 lines
589 B
Haskell
26 lines
589 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.
|
|
|
|
|
|
module Duckling.Dimensions.KO
|
|
( allDimensions
|
|
) where
|
|
|
|
import Duckling.Dimensions.Types
|
|
|
|
allDimensions :: [Some Dimension]
|
|
allDimensions =
|
|
[ Some Distance
|
|
, Some Duration
|
|
, Some Numeral
|
|
, Some Ordinal
|
|
, Some Quantity
|
|
, Some Temperature
|
|
, Some Time
|
|
, Some Volume
|
|
]
|