2020-11-13 00:58:54 +03:00
|
|
|
cabal-version: 2.2
|
2018-10-24 00:46:17 +03:00
|
|
|
-- Copyright (c) 2016-present, Facebook, Inc.
|
|
|
|
-- All rights reserved.
|
|
|
|
--
|
|
|
|
-- This source code is licensed under the BSD-style license found in the
|
2019-05-22 20:36:43 +03:00
|
|
|
-- LICENSE file in the root directory of this source tree.
|
2018-10-24 00:46:17 +03:00
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
name: duckling
|
2021-04-13 00:07:25 +03:00
|
|
|
version: 0.2.0.0
|
2017-03-11 01:55:35 +03:00
|
|
|
synopsis: A Haskell library for parsing text into structured data.
|
|
|
|
description:
|
|
|
|
Duckling is a library for parsing text into structured data.
|
2018-04-23 20:03:41 +03:00
|
|
|
homepage: https://github.com/facebook/duckling#readme
|
|
|
|
bug-reports: https://github.com/facebook/duckling/issues
|
2020-11-13 00:58:54 +03:00
|
|
|
license: BSD-3-Clause
|
2019-05-22 20:36:43 +03:00
|
|
|
license-files: LICENSE
|
2017-03-11 01:55:35 +03:00
|
|
|
author: Facebook, Inc.
|
2017-03-31 01:57:01 +03:00
|
|
|
maintainer: duckling-team@fb.com
|
2017-03-11 01:55:35 +03:00
|
|
|
copyright: Copyright (c) 2014-present, Facebook, Inc.
|
2017-03-08 21:33:55 +03:00
|
|
|
category: Systems
|
|
|
|
build-type: Simple
|
2017-03-11 01:55:35 +03:00
|
|
|
stability: alpha
|
2017-05-04 18:53:42 +03:00
|
|
|
tested-with:
|
2020-10-29 20:56:50 +03:00
|
|
|
GHC==8.4.4,
|
2020-11-13 00:44:37 +03:00
|
|
|
GHC==8.6.5,
|
2021-04-13 04:30:14 +03:00
|
|
|
GHC==8.8.4,
|
|
|
|
GHC==8.10.3,
|
|
|
|
GHC==9.0.1
|
2017-03-08 21:33:55 +03:00
|
|
|
|
2021-04-16 19:57:43 +03:00
|
|
|
extra-source-files: README.md, CHANGELOG.md
|
2017-03-11 01:55:35 +03:00
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
library
|
|
|
|
exposed-modules: Duckling.Core
|
|
|
|
, Duckling.Debug
|
|
|
|
, Duckling.Testing.Types
|
|
|
|
-- ------------------------------------------------------------------
|
|
|
|
-- Core
|
|
|
|
, Duckling.Api
|
|
|
|
, Duckling.Engine
|
2017-03-09 01:06:13 +03:00
|
|
|
, Duckling.Engine.Regex
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Locale
|
2018-06-06 01:39:57 +03:00
|
|
|
, Duckling.Region
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Resolve
|
|
|
|
, Duckling.Types
|
2017-04-26 02:23:07 +03:00
|
|
|
, Duckling.Types.Document
|
2017-04-26 02:23:08 +03:00
|
|
|
, Duckling.Types.Stash
|
2017-03-08 21:33:55 +03:00
|
|
|
|
|
|
|
-- ------------------------------------------------------------------
|
|
|
|
-- Rules
|
|
|
|
, Duckling.Rules
|
|
|
|
, Duckling.Rules.Common
|
2020-01-11 02:01:26 +03:00
|
|
|
, Duckling.Rules.AF
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.AR
|
2017-08-09 18:05:28 +03:00
|
|
|
, Duckling.Rules.BG
|
2018-07-09 22:22:11 +03:00
|
|
|
, Duckling.Rules.BN
|
2021-04-09 00:27:17 +03:00
|
|
|
, Duckling.Rules.CA
|
2017-05-11 19:30:45 +03:00
|
|
|
, Duckling.Rules.CS
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.DA
|
|
|
|
, Duckling.Rules.DE
|
2017-11-03 03:04:44 +03:00
|
|
|
, Duckling.Rules.EL
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.EN
|
|
|
|
, Duckling.Rules.ES
|
|
|
|
, Duckling.Rules.ET
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.Rules.FI
|
2020-11-19 23:06:34 +03:00
|
|
|
, Duckling.Rules.FA
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.FR
|
|
|
|
, Duckling.Rules.GA
|
2017-04-24 16:26:59 +03:00
|
|
|
, Duckling.Rules.HE
|
2017-12-20 00:05:23 +03:00
|
|
|
, Duckling.Rules.HI
|
2017-04-26 19:11:03 +03:00
|
|
|
, Duckling.Rules.HR
|
2017-08-10 03:37:55 +03:00
|
|
|
, Duckling.Rules.HU
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.ID
|
2018-09-06 16:43:26 +03:00
|
|
|
, Duckling.Rules.IS
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.IT
|
|
|
|
, Duckling.Rules.JA
|
2017-09-05 21:58:00 +03:00
|
|
|
, Duckling.Rules.KA
|
2018-08-04 00:35:28 +03:00
|
|
|
, Duckling.Rules.KM
|
2019-02-08 22:13:12 +03:00
|
|
|
, Duckling.Rules.KN
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.KO
|
2018-08-17 20:24:25 +03:00
|
|
|
, Duckling.Rules.LO
|
2018-09-28 20:12:24 +03:00
|
|
|
, Duckling.Rules.ML
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Rules.MN
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.MY
|
|
|
|
, Duckling.Rules.NB
|
2018-02-13 18:42:55 +03:00
|
|
|
, Duckling.Rules.NE
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.NL
|
|
|
|
, Duckling.Rules.PL
|
|
|
|
, Duckling.Rules.PT
|
|
|
|
, Duckling.Rules.RO
|
|
|
|
, Duckling.Rules.RU
|
2020-01-11 01:31:19 +03:00
|
|
|
, Duckling.Rules.SK
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.SV
|
2019-01-18 11:52:49 +03:00
|
|
|
, Duckling.Rules.SW
|
2018-03-20 02:32:12 +03:00
|
|
|
, Duckling.Rules.TA
|
2020-12-16 04:39:42 +03:00
|
|
|
, Duckling.Rules.TE
|
2019-11-28 02:29:58 +03:00
|
|
|
, Duckling.Rules.TH
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Rules.TR
|
|
|
|
, Duckling.Rules.UK
|
|
|
|
, Duckling.Rules.VI
|
|
|
|
, Duckling.Rules.ZH
|
|
|
|
|
|
|
|
-- ------------------------------------------------------------------
|
|
|
|
-- Ranking
|
|
|
|
, Duckling.Ranking.Types
|
|
|
|
, Duckling.Ranking.Extraction
|
|
|
|
, Duckling.Ranking.Rank
|
|
|
|
, Duckling.Ranking.Classifiers
|
2020-01-11 02:01:26 +03:00
|
|
|
, Duckling.Ranking.Classifiers.AF_XX
|
2021-01-29 22:24:50 +03:00
|
|
|
, Duckling.Ranking.Classifiers.AR_EG
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.AR_XX
|
|
|
|
, Duckling.Ranking.Classifiers.BG_XX
|
2018-07-09 22:22:11 +03:00
|
|
|
, Duckling.Ranking.Classifiers.BN_XX
|
2021-04-09 00:27:17 +03:00
|
|
|
, Duckling.Ranking.Classifiers.CA_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.CS_XX
|
|
|
|
, Duckling.Ranking.Classifiers.DA_XX
|
|
|
|
, Duckling.Ranking.Classifiers.DE_XX
|
2017-11-03 03:04:44 +03:00
|
|
|
, Duckling.Ranking.Classifiers.EL_XX
|
2017-10-16 19:43:53 +03:00
|
|
|
, Duckling.Ranking.Classifiers.EN_CA
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.EN_GB
|
|
|
|
, Duckling.Ranking.Classifiers.EN_US
|
|
|
|
, Duckling.Ranking.Classifiers.EN_XX
|
|
|
|
, Duckling.Ranking.Classifiers.ES_XX
|
|
|
|
, Duckling.Ranking.Classifiers.ET_XX
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.Ranking.Classifiers.FI_XX
|
2020-11-19 23:06:34 +03:00
|
|
|
, Duckling.Ranking.Classifiers.FA_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.FR_XX
|
|
|
|
, Duckling.Ranking.Classifiers.GA_XX
|
|
|
|
, Duckling.Ranking.Classifiers.HE_XX
|
2017-12-20 00:05:23 +03:00
|
|
|
, Duckling.Ranking.Classifiers.HI_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.HR_XX
|
|
|
|
, Duckling.Ranking.Classifiers.HU_XX
|
|
|
|
, Duckling.Ranking.Classifiers.ID_XX
|
2018-09-06 16:43:26 +03:00
|
|
|
, Duckling.Ranking.Classifiers.IS_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.IT_XX
|
|
|
|
, Duckling.Ranking.Classifiers.JA_XX
|
|
|
|
, Duckling.Ranking.Classifiers.KA_XX
|
2018-08-04 00:35:28 +03:00
|
|
|
, Duckling.Ranking.Classifiers.KM_XX
|
2019-02-15 21:39:12 +03:00
|
|
|
, Duckling.Ranking.Classifiers.KN_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.KO_XX
|
2018-08-17 20:24:25 +03:00
|
|
|
, Duckling.Ranking.Classifiers.LO_XX
|
2018-09-28 20:12:24 +03:00
|
|
|
, Duckling.Ranking.Classifiers.ML_XX
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Ranking.Classifiers.MN_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.MY_XX
|
|
|
|
, Duckling.Ranking.Classifiers.NB_XX
|
2018-02-13 18:42:55 +03:00
|
|
|
, Duckling.Ranking.Classifiers.NE_XX
|
2018-06-06 01:39:57 +03:00
|
|
|
, Duckling.Ranking.Classifiers.NL_BE
|
|
|
|
, Duckling.Ranking.Classifiers.NL_NL
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.NL_XX
|
|
|
|
, Duckling.Ranking.Classifiers.PL_XX
|
|
|
|
, Duckling.Ranking.Classifiers.PT_XX
|
|
|
|
, Duckling.Ranking.Classifiers.RO_XX
|
|
|
|
, Duckling.Ranking.Classifiers.RU_XX
|
2020-01-11 01:31:19 +03:00
|
|
|
, Duckling.Ranking.Classifiers.SK_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.SV_XX
|
2019-01-18 11:52:49 +03:00
|
|
|
, Duckling.Ranking.Classifiers.SW_XX
|
2018-03-20 02:32:12 +03:00
|
|
|
, Duckling.Ranking.Classifiers.TA_XX
|
2020-12-16 04:39:42 +03:00
|
|
|
, Duckling.Ranking.Classifiers.TE_XX
|
2019-11-28 02:29:58 +03:00
|
|
|
, Duckling.Ranking.Classifiers.TH_XX
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.TR_XX
|
|
|
|
, Duckling.Ranking.Classifiers.UK_XX
|
|
|
|
, Duckling.Ranking.Classifiers.VI_XX
|
2017-10-14 02:36:00 +03:00
|
|
|
, Duckling.Ranking.Classifiers.ZH_CN
|
|
|
|
, Duckling.Ranking.Classifiers.ZH_HK
|
|
|
|
, Duckling.Ranking.Classifiers.ZH_MO
|
|
|
|
, Duckling.Ranking.Classifiers.ZH_TW
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Ranking.Classifiers.ZH_XX
|
2017-03-08 21:33:55 +03:00
|
|
|
|
|
|
|
-- ------------------------------------------------------------------
|
|
|
|
-- Dimensions
|
|
|
|
, Duckling.Dimensions
|
|
|
|
, Duckling.Dimensions.Common
|
|
|
|
, Duckling.Dimensions.Types
|
2020-01-11 02:01:26 +03:00
|
|
|
, Duckling.Dimensions.AF
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.AR
|
2017-08-09 18:05:28 +03:00
|
|
|
, Duckling.Dimensions.BG
|
2018-07-09 22:22:11 +03:00
|
|
|
, Duckling.Dimensions.BN
|
2021-04-09 00:27:17 +03:00
|
|
|
, Duckling.Dimensions.CA
|
2017-05-11 19:30:45 +03:00
|
|
|
, Duckling.Dimensions.CS
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.DA
|
|
|
|
, Duckling.Dimensions.DE
|
2017-11-03 03:04:44 +03:00
|
|
|
, Duckling.Dimensions.EL
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.EN
|
|
|
|
, Duckling.Dimensions.ES
|
|
|
|
, Duckling.Dimensions.ET
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.Dimensions.FI
|
2020-11-19 23:06:34 +03:00
|
|
|
, Duckling.Dimensions.FA
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.FR
|
|
|
|
, Duckling.Dimensions.GA
|
2017-04-24 16:26:59 +03:00
|
|
|
, Duckling.Dimensions.HE
|
2017-12-20 00:05:23 +03:00
|
|
|
, Duckling.Dimensions.HI
|
2017-04-26 19:11:03 +03:00
|
|
|
, Duckling.Dimensions.HR
|
2017-08-10 03:37:55 +03:00
|
|
|
, Duckling.Dimensions.HU
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.ID
|
2018-09-06 16:43:26 +03:00
|
|
|
, Duckling.Dimensions.IS
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.IT
|
|
|
|
, Duckling.Dimensions.JA
|
2017-09-05 21:58:00 +03:00
|
|
|
, Duckling.Dimensions.KA
|
2018-08-04 00:35:28 +03:00
|
|
|
, Duckling.Dimensions.KM
|
2019-02-08 22:13:12 +03:00
|
|
|
, Duckling.Dimensions.KN
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.KO
|
2018-08-17 20:24:25 +03:00
|
|
|
, Duckling.Dimensions.LO
|
2018-09-28 20:12:24 +03:00
|
|
|
, Duckling.Dimensions.ML
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Dimensions.MN
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.MY
|
|
|
|
, Duckling.Dimensions.NB
|
2018-02-13 18:42:55 +03:00
|
|
|
, Duckling.Dimensions.NE
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.NL
|
|
|
|
, Duckling.Dimensions.PL
|
|
|
|
, Duckling.Dimensions.PT
|
|
|
|
, Duckling.Dimensions.RO
|
|
|
|
, Duckling.Dimensions.RU
|
2020-01-11 01:31:19 +03:00
|
|
|
, Duckling.Dimensions.SK
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.SV
|
2019-01-25 01:49:07 +03:00
|
|
|
, Duckling.Dimensions.SW
|
2018-03-20 02:32:12 +03:00
|
|
|
, Duckling.Dimensions.TA
|
2020-12-16 04:39:42 +03:00
|
|
|
, Duckling.Dimensions.TE
|
2019-11-28 02:29:58 +03:00
|
|
|
, Duckling.Dimensions.TH
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Dimensions.TR
|
|
|
|
, Duckling.Dimensions.UK
|
|
|
|
, Duckling.Dimensions.VI
|
|
|
|
, Duckling.Dimensions.ZH
|
|
|
|
|
2017-03-17 00:34:53 +03:00
|
|
|
-- AmountOfMoney
|
2018-01-03 00:51:34 +03:00
|
|
|
, Duckling.AmountOfMoney.AR.Corpus
|
|
|
|
, Duckling.AmountOfMoney.AR.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.AmountOfMoney.BG.Corpus
|
|
|
|
, Duckling.AmountOfMoney.BG.Rules
|
2021-05-12 21:26:09 +03:00
|
|
|
, Duckling.AmountOfMoney.CA.Corpus
|
|
|
|
, Duckling.AmountOfMoney.CA.Rules
|
Implement handling of "grand" for EN_?? locales
Summary: Add implementation of "a grand" and "<num> grand" for AU, BZ, CA, GB, IE, IN, JM, NZ, PH, TT, ZA locales. Some resolve to the local currency (AU, IN), others resolve to Dollar (NZ, PH).
Reviewed By: patapizza
Differential Revision: D7943186
fbshipit-source-id: c71ab462fa9df0ee65223ee82dc2c98457a4e13b
2018-05-18 01:37:01 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.AU.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.AU.Rules
|
|
|
|
, Duckling.AmountOfMoney.EN.BZ.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.BZ.Rules
|
2018-05-10 00:22:28 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.CA.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.CA.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.Corpus
|
2018-05-10 00:22:28 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.GB.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.GB.Rules
|
Implement handling of "grand" for EN_?? locales
Summary: Add implementation of "a grand" and "<num> grand" for AU, BZ, CA, GB, IE, IN, JM, NZ, PH, TT, ZA locales. Some resolve to the local currency (AU, IN), others resolve to Dollar (NZ, PH).
Reviewed By: patapizza
Differential Revision: D7943186
fbshipit-source-id: c71ab462fa9df0ee65223ee82dc2c98457a4e13b
2018-05-18 01:37:01 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.IE.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.IE.Rules
|
|
|
|
, Duckling.AmountOfMoney.EN.IN.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.IN.Rules
|
|
|
|
, Duckling.AmountOfMoney.EN.JM.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.JM.Rules
|
|
|
|
, Duckling.AmountOfMoney.EN.NZ.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.NZ.Rules
|
|
|
|
, Duckling.AmountOfMoney.EN.PH.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.PH.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.Rules
|
Implement handling of "grand" for EN_?? locales
Summary: Add implementation of "a grand" and "<num> grand" for AU, BZ, CA, GB, IE, IN, JM, NZ, PH, TT, ZA locales. Some resolve to the local currency (AU, IN), others resolve to Dollar (NZ, PH).
Reviewed By: patapizza
Differential Revision: D7943186
fbshipit-source-id: c71ab462fa9df0ee65223ee82dc2c98457a4e13b
2018-05-18 01:37:01 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.TT.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.TT.Rules
|
2018-05-04 20:21:36 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.US.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.US.Rules
|
Implement handling of "grand" for EN_?? locales
Summary: Add implementation of "a grand" and "<num> grand" for AU, BZ, CA, GB, IE, IN, JM, NZ, PH, TT, ZA locales. Some resolve to the local currency (AU, IN), others resolve to Dollar (NZ, PH).
Reviewed By: patapizza
Differential Revision: D7943186
fbshipit-source-id: c71ab462fa9df0ee65223ee82dc2c98457a4e13b
2018-05-18 01:37:01 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.ZA.Corpus
|
|
|
|
, Duckling.AmountOfMoney.EN.ZA.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.ES.Corpus
|
|
|
|
, Duckling.AmountOfMoney.ES.Rules
|
|
|
|
, Duckling.AmountOfMoney.FR.Corpus
|
|
|
|
, Duckling.AmountOfMoney.FR.Rules
|
|
|
|
, Duckling.AmountOfMoney.GA.Corpus
|
|
|
|
, Duckling.AmountOfMoney.GA.Rules
|
2019-02-06 13:10:53 +03:00
|
|
|
, Duckling.AmountOfMoney.HE.Corpus
|
|
|
|
, Duckling.AmountOfMoney.HE.Rules
|
2017-04-26 19:11:06 +03:00
|
|
|
, Duckling.AmountOfMoney.HR.Corpus
|
|
|
|
, Duckling.AmountOfMoney.HR.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.ID.Corpus
|
|
|
|
, Duckling.AmountOfMoney.ID.Rules
|
2019-01-03 00:49:21 +03:00
|
|
|
, Duckling.AmountOfMoney.IT.Rules
|
|
|
|
, Duckling.AmountOfMoney.IT.Corpus
|
2018-08-29 02:50:47 +03:00
|
|
|
, Duckling.AmountOfMoney.KA.Corpus
|
|
|
|
, Duckling.AmountOfMoney.KA.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.KO.Corpus
|
|
|
|
, Duckling.AmountOfMoney.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.AmountOfMoney.MN.Corpus
|
|
|
|
, Duckling.AmountOfMoney.MN.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.NB.Corpus
|
|
|
|
, Duckling.AmountOfMoney.NB.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.AmountOfMoney.NL.Corpus
|
|
|
|
, Duckling.AmountOfMoney.NL.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.PT.Corpus
|
|
|
|
, Duckling.AmountOfMoney.PT.Rules
|
|
|
|
, Duckling.AmountOfMoney.RO.Corpus
|
|
|
|
, Duckling.AmountOfMoney.RO.Rules
|
2017-12-12 23:13:25 +03:00
|
|
|
, Duckling.AmountOfMoney.RU.Corpus
|
|
|
|
, Duckling.AmountOfMoney.RU.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.SV.Corpus
|
|
|
|
, Duckling.AmountOfMoney.SV.Rules
|
2021-03-17 20:16:46 +03:00
|
|
|
, Duckling.AmountOfMoney.TR.Corpus
|
|
|
|
, Duckling.AmountOfMoney.TR.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.VI.Corpus
|
|
|
|
, Duckling.AmountOfMoney.VI.Rules
|
2018-04-18 02:44:32 +03:00
|
|
|
, Duckling.AmountOfMoney.ZH.Corpus
|
|
|
|
, Duckling.AmountOfMoney.ZH.Rules
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.Helpers
|
|
|
|
, Duckling.AmountOfMoney.Rules
|
|
|
|
, Duckling.AmountOfMoney.Types
|
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
-- Distance
|
2018-03-14 01:45:02 +03:00
|
|
|
, Duckling.Distance.BG.Corpus
|
|
|
|
, Duckling.Distance.BG.Rules
|
2021-05-12 22:35:01 +03:00
|
|
|
, Duckling.Distance.CA.Corpus
|
|
|
|
, Duckling.Distance.CA.Rules
|
2017-05-12 18:05:32 +03:00
|
|
|
, Duckling.Distance.CS.Corpus
|
|
|
|
, Duckling.Distance.CS.Rules
|
2019-01-28 22:05:06 +03:00
|
|
|
, Duckling.Distance.DE.Corpus
|
|
|
|
, Duckling.Distance.DE.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.EN.Corpus
|
|
|
|
, Duckling.Distance.EN.Rules
|
|
|
|
, Duckling.Distance.ES.Corpus
|
|
|
|
, Duckling.Distance.ES.Rules
|
|
|
|
, Duckling.Distance.FR.Corpus
|
|
|
|
, Duckling.Distance.FR.Rules
|
|
|
|
, Duckling.Distance.GA.Corpus
|
|
|
|
, Duckling.Distance.GA.Rules
|
2017-04-28 17:47:40 +03:00
|
|
|
, Duckling.Distance.HR.Corpus
|
|
|
|
, Duckling.Distance.HR.Rules
|
2019-01-23 21:26:30 +03:00
|
|
|
, Duckling.Distance.IT.Corpus
|
|
|
|
, Duckling.Distance.IT.Rules
|
2018-11-01 02:32:10 +03:00
|
|
|
, Duckling.Distance.KM.Corpus
|
|
|
|
, Duckling.Distance.KM.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.KO.Corpus
|
|
|
|
, Duckling.Distance.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Distance.MN.Corpus
|
|
|
|
, Duckling.Distance.MN.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.NL.Corpus
|
|
|
|
, Duckling.Distance.NL.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Distance.PT.Corpus
|
|
|
|
, Duckling.Distance.PT.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.RO.Corpus
|
|
|
|
, Duckling.Distance.RO.Rules
|
2017-11-08 21:50:20 +03:00
|
|
|
, Duckling.Distance.RU.Corpus
|
|
|
|
, Duckling.Distance.RU.Rules
|
2018-03-21 21:01:05 +03:00
|
|
|
, Duckling.Distance.SV.Corpus
|
|
|
|
, Duckling.Distance.SV.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Distance.TR.Corpus
|
|
|
|
, Duckling.Distance.TR.Rules
|
2018-03-21 22:06:48 +03:00
|
|
|
, Duckling.Distance.ZH.Corpus
|
|
|
|
, Duckling.Distance.ZH.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.Helpers
|
|
|
|
, Duckling.Distance.Rules
|
|
|
|
, Duckling.Distance.Types
|
2019-02-15 21:39:12 +03:00
|
|
|
, Duckling.DistanceUnits.Types
|
2017-03-08 21:33:55 +03:00
|
|
|
|
|
|
|
-- Duration
|
2017-10-18 01:51:35 +03:00
|
|
|
, Duckling.Duration.AR.Corpus
|
|
|
|
, Duckling.Duration.AR.Rules
|
2018-03-20 03:58:29 +03:00
|
|
|
, Duckling.Duration.BG.Corpus
|
|
|
|
, Duckling.Duration.BG.Rules
|
2021-05-13 03:17:42 +03:00
|
|
|
, Duckling.Duration.CA.Corpus
|
|
|
|
, Duckling.Duration.CA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.DA.Rules
|
|
|
|
, Duckling.Duration.DE.Rules
|
2017-11-07 05:33:20 +03:00
|
|
|
, Duckling.Duration.EL.Corpus
|
|
|
|
, Duckling.Duration.EL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.EN.Corpus
|
|
|
|
, Duckling.Duration.EN.Rules
|
2020-06-10 01:04:55 +03:00
|
|
|
, Duckling.Duration.ES.Corpus
|
|
|
|
, Duckling.Duration.ES.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.FR.Corpus
|
|
|
|
, Duckling.Duration.FR.Rules
|
|
|
|
, Duckling.Duration.GA.Corpus
|
|
|
|
, Duckling.Duration.GA.Rules
|
2017-04-24 16:27:04 +03:00
|
|
|
, Duckling.Duration.HE.Rules
|
2018-05-18 00:34:54 +03:00
|
|
|
, Duckling.Duration.HI.Corpus
|
|
|
|
, Duckling.Duration.HI.Rules
|
2017-04-26 19:11:08 +03:00
|
|
|
, Duckling.Duration.HR.Rules
|
2017-08-23 05:15:17 +03:00
|
|
|
, Duckling.Duration.HU.Corpus
|
|
|
|
, Duckling.Duration.HU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.IT.Rules
|
|
|
|
, Duckling.Duration.JA.Corpus
|
2021-09-21 22:21:05 +03:00
|
|
|
, Duckling.Duration.JA.Rules
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Duration.KA.Corpus
|
|
|
|
, Duckling.Duration.KA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.KO.Corpus
|
|
|
|
, Duckling.Duration.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Duration.MN.Corpus
|
|
|
|
, Duckling.Duration.MN.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.NB.Corpus
|
|
|
|
, Duckling.Duration.NB.Rules
|
2017-10-13 22:28:28 +03:00
|
|
|
, Duckling.Duration.NL.Corpus
|
|
|
|
, Duckling.Duration.NL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.PL.Corpus
|
|
|
|
, Duckling.Duration.PL.Rules
|
|
|
|
, Duckling.Duration.PT.Corpus
|
|
|
|
, Duckling.Duration.RO.Corpus
|
|
|
|
, Duckling.Duration.RO.Rules
|
2017-11-15 21:41:33 +03:00
|
|
|
, Duckling.Duration.RU.Corpus
|
|
|
|
, Duckling.Duration.RU.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Duration.SV.Corpus
|
|
|
|
, Duckling.Duration.SV.Rules
|
2017-05-31 12:08:29 +03:00
|
|
|
, Duckling.Duration.TR.Corpus
|
|
|
|
, Duckling.Duration.TR.Rules
|
2018-11-19 15:11:33 +03:00
|
|
|
, Duckling.Duration.UK.Corpus
|
|
|
|
, Duckling.Duration.UK.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Duration.ZH.Corpus
|
2021-01-27 02:08:09 +03:00
|
|
|
, Duckling.Duration.ZH.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.Helpers
|
|
|
|
, Duckling.Duration.Rules
|
|
|
|
, Duckling.Duration.Types
|
|
|
|
|
|
|
|
-- Email
|
2018-11-07 20:02:42 +03:00
|
|
|
, Duckling.Email.DE.Corpus
|
|
|
|
, Duckling.Email.DE.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Email.EN.Corpus
|
|
|
|
, Duckling.Email.EN.Rules
|
|
|
|
, Duckling.Email.FR.Corpus
|
|
|
|
, Duckling.Email.FR.Rules
|
2018-11-07 20:02:42 +03:00
|
|
|
, Duckling.Email.IS.Corpus
|
|
|
|
, Duckling.Email.IS.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Email.IT.Corpus
|
|
|
|
, Duckling.Email.IT.Rules
|
|
|
|
, Duckling.Email.Corpus
|
|
|
|
, Duckling.Email.Rules
|
|
|
|
, Duckling.Email.Types
|
|
|
|
|
2017-03-16 23:42:15 +03:00
|
|
|
-- Numeral
|
2020-01-11 02:01:26 +03:00
|
|
|
, Duckling.Numeral.AF.Corpus
|
|
|
|
, Duckling.Numeral.AF.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.AR.Corpus
|
2019-03-29 19:35:28 +03:00
|
|
|
, Duckling.Numeral.AR.Helpers
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.AR.Rules
|
2020-12-15 22:19:08 +03:00
|
|
|
, Duckling.Numeral.AR.EG.Corpus
|
|
|
|
, Duckling.Numeral.AR.EG.Helpers
|
|
|
|
, Duckling.Numeral.AR.EG.Rules
|
2017-08-09 18:05:28 +03:00
|
|
|
, Duckling.Numeral.BG.Corpus
|
|
|
|
, Duckling.Numeral.BG.Rules
|
2018-07-09 22:22:11 +03:00
|
|
|
, Duckling.Numeral.BN.Corpus
|
|
|
|
, Duckling.Numeral.BN.Rules
|
2021-04-09 00:27:17 +03:00
|
|
|
, Duckling.Numeral.CA.Corpus
|
|
|
|
, Duckling.Numeral.CA.Rules
|
2017-05-11 19:30:45 +03:00
|
|
|
, Duckling.Numeral.CS.Corpus
|
|
|
|
, Duckling.Numeral.CS.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.DA.Corpus
|
|
|
|
, Duckling.Numeral.DA.Rules
|
|
|
|
, Duckling.Numeral.DE.Corpus
|
|
|
|
, Duckling.Numeral.DE.Rules
|
2022-07-15 02:47:23 +03:00
|
|
|
, Duckling.Numeral.DE.NumParser
|
2017-11-03 03:04:44 +03:00
|
|
|
, Duckling.Numeral.EL.Corpus
|
|
|
|
, Duckling.Numeral.EL.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.EN.Corpus
|
|
|
|
, Duckling.Numeral.EN.Rules
|
2020-03-05 23:37:57 +03:00
|
|
|
, Duckling.Numeral.ES.AR.Corpus
|
|
|
|
, Duckling.Numeral.ES.AR.Rules
|
|
|
|
, Duckling.Numeral.ES.CL.Corpus
|
|
|
|
, Duckling.Numeral.ES.CL.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.ES.Corpus
|
2020-03-05 23:37:57 +03:00
|
|
|
, Duckling.Numeral.ES.CO.Corpus
|
|
|
|
, Duckling.Numeral.ES.CO.Rules
|
|
|
|
, Duckling.Numeral.ES.ES.Corpus
|
|
|
|
, Duckling.Numeral.ES.ES.Rules
|
|
|
|
, Duckling.Numeral.ES.MX.Corpus
|
|
|
|
, Duckling.Numeral.ES.MX.Rules
|
|
|
|
, Duckling.Numeral.ES.PE.Corpus
|
|
|
|
, Duckling.Numeral.ES.PE.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.ES.Rules
|
2020-03-05 23:37:57 +03:00
|
|
|
, Duckling.Numeral.ES.VE.Corpus
|
|
|
|
, Duckling.Numeral.ES.VE.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.ET.Corpus
|
|
|
|
, Duckling.Numeral.ET.Rules
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.Numeral.FI.Corpus
|
|
|
|
, Duckling.Numeral.FI.Rules
|
2020-11-19 23:06:34 +03:00
|
|
|
, Duckling.Numeral.FA.Corpus
|
|
|
|
, Duckling.Numeral.FA.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.FR.Corpus
|
|
|
|
, Duckling.Numeral.FR.Rules
|
|
|
|
, Duckling.Numeral.GA.Corpus
|
|
|
|
, Duckling.Numeral.GA.Rules
|
2017-04-24 16:26:59 +03:00
|
|
|
, Duckling.Numeral.HE.Corpus
|
|
|
|
, Duckling.Numeral.HE.Rules
|
2017-12-20 00:05:23 +03:00
|
|
|
, Duckling.Numeral.HI.Corpus
|
|
|
|
, Duckling.Numeral.HI.Rules
|
2017-04-26 19:11:03 +03:00
|
|
|
, Duckling.Numeral.HR.Corpus
|
|
|
|
, Duckling.Numeral.HR.Rules
|
2017-08-10 03:37:55 +03:00
|
|
|
, Duckling.Numeral.HU.Corpus
|
|
|
|
, Duckling.Numeral.HU.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.ID.Corpus
|
|
|
|
, Duckling.Numeral.ID.Rules
|
2018-09-06 16:43:26 +03:00
|
|
|
, Duckling.Numeral.IS.Corpus
|
|
|
|
, Duckling.Numeral.IS.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.IT.Corpus
|
|
|
|
, Duckling.Numeral.IT.Rules
|
|
|
|
, Duckling.Numeral.JA.Corpus
|
|
|
|
, Duckling.Numeral.JA.Rules
|
2017-09-05 21:58:00 +03:00
|
|
|
, Duckling.Numeral.KA.Corpus
|
|
|
|
, Duckling.Numeral.KA.Rules
|
2018-08-04 00:35:28 +03:00
|
|
|
, Duckling.Numeral.KM.Corpus
|
|
|
|
, Duckling.Numeral.KM.Rules
|
2019-02-08 22:13:12 +03:00
|
|
|
, Duckling.Numeral.KN.Corpus
|
|
|
|
, Duckling.Numeral.KN.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.KO.Corpus
|
|
|
|
, Duckling.Numeral.KO.Rules
|
2018-08-17 20:24:25 +03:00
|
|
|
, Duckling.Numeral.LO.Corpus
|
|
|
|
, Duckling.Numeral.LO.Rules
|
2018-09-28 20:12:24 +03:00
|
|
|
, Duckling.Numeral.ML.Corpus
|
|
|
|
, Duckling.Numeral.ML.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Numeral.MN.Corpus
|
|
|
|
, Duckling.Numeral.MN.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.MY.Corpus
|
|
|
|
, Duckling.Numeral.MY.Rules
|
|
|
|
, Duckling.Numeral.NB.Corpus
|
|
|
|
, Duckling.Numeral.NB.Rules
|
2018-02-13 18:42:55 +03:00
|
|
|
, Duckling.Numeral.NE.Corpus
|
|
|
|
, Duckling.Numeral.NE.Rules
|
2017-10-13 22:28:28 +03:00
|
|
|
, Duckling.Numeral.NL.Corpus
|
|
|
|
, Duckling.Numeral.NL.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.PL.Corpus
|
|
|
|
, Duckling.Numeral.PL.Rules
|
|
|
|
, Duckling.Numeral.PT.Corpus
|
|
|
|
, Duckling.Numeral.PT.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Numeral.RO.Corpus
|
|
|
|
, Duckling.Numeral.RO.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.RU.Corpus
|
|
|
|
, Duckling.Numeral.RU.Rules
|
2020-01-11 01:31:19 +03:00
|
|
|
, Duckling.Numeral.SK.Corpus
|
|
|
|
, Duckling.Numeral.SK.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.SV.Corpus
|
|
|
|
, Duckling.Numeral.SV.Rules
|
2019-01-18 11:52:49 +03:00
|
|
|
, Duckling.Numeral.SW.Corpus
|
|
|
|
, Duckling.Numeral.SW.Rules
|
2018-03-20 02:32:12 +03:00
|
|
|
, Duckling.Numeral.TA.Corpus
|
|
|
|
, Duckling.Numeral.TA.Rules
|
2020-12-16 04:39:42 +03:00
|
|
|
, Duckling.Numeral.TE.Corpus
|
|
|
|
, Duckling.Numeral.TE.Rules
|
2019-11-28 02:29:58 +03:00
|
|
|
, Duckling.Numeral.TH.Corpus
|
|
|
|
, Duckling.Numeral.TH.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.TR.Corpus
|
|
|
|
, Duckling.Numeral.TR.Rules
|
|
|
|
, Duckling.Numeral.UK.Corpus
|
|
|
|
, Duckling.Numeral.UK.Rules
|
|
|
|
, Duckling.Numeral.VI.Corpus
|
|
|
|
, Duckling.Numeral.VI.Rules
|
|
|
|
, Duckling.Numeral.ZH.Corpus
|
|
|
|
, Duckling.Numeral.ZH.Rules
|
|
|
|
, Duckling.Numeral.Helpers
|
2017-12-07 02:52:15 +03:00
|
|
|
, Duckling.Numeral.Rules
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.Types
|
2017-03-08 21:33:55 +03:00
|
|
|
|
|
|
|
-- Ordinal
|
|
|
|
, Duckling.Ordinal.AR.Corpus
|
|
|
|
, Duckling.Ordinal.AR.Rules
|
2018-03-20 03:58:29 +03:00
|
|
|
, Duckling.Ordinal.BG.Corpus
|
|
|
|
, Duckling.Ordinal.BG.Rules
|
2021-04-09 22:52:03 +03:00
|
|
|
, Duckling.Ordinal.CA.Corpus
|
|
|
|
, Duckling.Ordinal.CA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.DA.Corpus
|
|
|
|
, Duckling.Ordinal.DA.Rules
|
|
|
|
, Duckling.Ordinal.DE.Corpus
|
|
|
|
, Duckling.Ordinal.DE.Rules
|
2017-11-08 21:57:57 +03:00
|
|
|
, Duckling.Ordinal.EL.Corpus
|
|
|
|
, Duckling.Ordinal.EL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.EN.Corpus
|
|
|
|
, Duckling.Ordinal.EN.Rules
|
2017-09-06 19:54:00 +03:00
|
|
|
, Duckling.Ordinal.ES.Corpus
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ES.Rules
|
|
|
|
, Duckling.Ordinal.ET.Corpus
|
|
|
|
, Duckling.Ordinal.ET.Rules
|
|
|
|
, Duckling.Ordinal.FR.Corpus
|
|
|
|
, Duckling.Ordinal.FR.Rules
|
|
|
|
, Duckling.Ordinal.GA.Corpus
|
|
|
|
, Duckling.Ordinal.GA.Rules
|
2017-04-24 16:27:00 +03:00
|
|
|
, Duckling.Ordinal.HE.Corpus
|
|
|
|
, Duckling.Ordinal.HE.Rules
|
2018-02-10 00:15:03 +03:00
|
|
|
, Duckling.Ordinal.HI.Corpus
|
|
|
|
, Duckling.Ordinal.HI.Rules
|
2017-04-26 19:11:04 +03:00
|
|
|
, Duckling.Ordinal.HR.Corpus
|
|
|
|
, Duckling.Ordinal.HR.Rules
|
2017-08-16 20:51:52 +03:00
|
|
|
, Duckling.Ordinal.HU.Corpus
|
|
|
|
, Duckling.Ordinal.HU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ID.Corpus
|
|
|
|
, Duckling.Ordinal.ID.Rules
|
|
|
|
, Duckling.Ordinal.IT.Corpus
|
|
|
|
, Duckling.Ordinal.IT.Rules
|
|
|
|
, Duckling.Ordinal.JA.Corpus
|
|
|
|
, Duckling.Ordinal.JA.Rules
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Ordinal.KA.Corpus
|
|
|
|
, Duckling.Ordinal.KA.Rules
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Ordinal.KM.Corpus
|
|
|
|
, Duckling.Ordinal.KM.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.KO.Corpus
|
|
|
|
, Duckling.Ordinal.KO.Rules
|
2018-09-28 20:30:25 +03:00
|
|
|
, Duckling.Ordinal.ML.Corpus
|
|
|
|
, Duckling.Ordinal.ML.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Ordinal.MN.Corpus
|
|
|
|
, Duckling.Ordinal.MN.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.NB.Corpus
|
|
|
|
, Duckling.Ordinal.NB.Rules
|
|
|
|
, Duckling.Ordinal.NL.Corpus
|
|
|
|
, Duckling.Ordinal.NL.Rules
|
|
|
|
, Duckling.Ordinal.PL.Corpus
|
|
|
|
, Duckling.Ordinal.PL.Rules
|
|
|
|
, Duckling.Ordinal.PT.Corpus
|
|
|
|
, Duckling.Ordinal.PT.Rules
|
|
|
|
, Duckling.Ordinal.RO.Corpus
|
|
|
|
, Duckling.Ordinal.RO.Rules
|
|
|
|
, Duckling.Ordinal.RU.Corpus
|
|
|
|
, Duckling.Ordinal.RU.Rules
|
|
|
|
, Duckling.Ordinal.SV.Corpus
|
|
|
|
, Duckling.Ordinal.SV.Rules
|
2018-07-17 02:54:50 +03:00
|
|
|
, Duckling.Ordinal.TA.Corpus
|
|
|
|
, Duckling.Ordinal.TA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.TR.Corpus
|
|
|
|
, Duckling.Ordinal.TR.Rules
|
|
|
|
, Duckling.Ordinal.UK.Corpus
|
|
|
|
, Duckling.Ordinal.UK.Rules
|
2017-04-28 17:47:01 +03:00
|
|
|
, Duckling.Ordinal.VI.Corpus
|
|
|
|
, Duckling.Ordinal.VI.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ZH.Corpus
|
|
|
|
, Duckling.Ordinal.ZH.Rules
|
|
|
|
, Duckling.Ordinal.Helpers
|
|
|
|
, Duckling.Ordinal.Types
|
|
|
|
|
|
|
|
-- PhoneNumber
|
2019-03-29 19:35:28 +03:00
|
|
|
, Duckling.PhoneNumber.AR.Corpus
|
|
|
|
, Duckling.PhoneNumber.AR.Rules
|
2017-04-28 17:46:22 +03:00
|
|
|
, Duckling.PhoneNumber.PT.Corpus
|
|
|
|
, Duckling.PhoneNumber.PT.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.PhoneNumber.Corpus
|
|
|
|
, Duckling.PhoneNumber.Rules
|
|
|
|
, Duckling.PhoneNumber.Types
|
|
|
|
|
|
|
|
-- Quantity
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Quantity.AR.Corpus
|
|
|
|
, Duckling.Quantity.AR.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.EN.Corpus
|
|
|
|
, Duckling.Quantity.EN.Rules
|
2020-11-09 22:09:48 +03:00
|
|
|
, Duckling.Quantity.ES.Corpus
|
|
|
|
, Duckling.Quantity.ES.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.FR.Corpus
|
|
|
|
, Duckling.Quantity.FR.Rules
|
2017-04-28 17:47:43 +03:00
|
|
|
, Duckling.Quantity.HR.Corpus
|
|
|
|
, Duckling.Quantity.HR.Rules
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Quantity.KM.Corpus
|
|
|
|
, Duckling.Quantity.KM.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.KO.Corpus
|
|
|
|
, Duckling.Quantity.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Quantity.MN.Corpus
|
|
|
|
, Duckling.Quantity.MN.Rules
|
2019-01-03 00:50:25 +03:00
|
|
|
, Duckling.Quantity.NL.Corpus
|
|
|
|
, Duckling.Quantity.NL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.PT.Corpus
|
|
|
|
, Duckling.Quantity.PT.Rules
|
|
|
|
, Duckling.Quantity.RO.Corpus
|
|
|
|
, Duckling.Quantity.RO.Rules
|
2017-11-15 07:46:48 +03:00
|
|
|
, Duckling.Quantity.RU.Corpus
|
|
|
|
, Duckling.Quantity.RU.Rules
|
2018-05-07 19:33:24 +03:00
|
|
|
, Duckling.Quantity.ZH.Corpus
|
|
|
|
, Duckling.Quantity.ZH.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.Helpers
|
|
|
|
, Duckling.Quantity.Types
|
|
|
|
|
|
|
|
-- Regex
|
|
|
|
, Duckling.Regex.Types
|
|
|
|
|
|
|
|
-- Temperature
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Temperature.AR.Corpus
|
|
|
|
, Duckling.Temperature.AR.Rules
|
2021-05-13 00:02:13 +03:00
|
|
|
, Duckling.Temperature.CA.Corpus
|
|
|
|
, Duckling.Temperature.CA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.EN.Corpus
|
|
|
|
, Duckling.Temperature.EN.Rules
|
|
|
|
, Duckling.Temperature.ES.Corpus
|
|
|
|
, Duckling.Temperature.ES.Rules
|
|
|
|
, Duckling.Temperature.FR.Corpus
|
|
|
|
, Duckling.Temperature.FR.Rules
|
|
|
|
, Duckling.Temperature.GA.Corpus
|
|
|
|
, Duckling.Temperature.GA.Rules
|
2018-06-14 02:51:23 +03:00
|
|
|
, Duckling.Temperature.HI.Corpus
|
|
|
|
, Duckling.Temperature.HI.Rules
|
2017-04-28 17:47:44 +03:00
|
|
|
, Duckling.Temperature.HR.Corpus
|
|
|
|
, Duckling.Temperature.HR.Rules
|
2017-04-28 19:54:02 +03:00
|
|
|
, Duckling.Temperature.IT.Corpus
|
|
|
|
, Duckling.Temperature.IT.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.JA.Corpus
|
|
|
|
, Duckling.Temperature.JA.Rules
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Temperature.KM.Corpus
|
|
|
|
, Duckling.Temperature.KM.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.KO.Corpus
|
|
|
|
, Duckling.Temperature.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Temperature.MN.Rules
|
|
|
|
, Duckling.Temperature.MN.Corpus
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.PT.Corpus
|
|
|
|
, Duckling.Temperature.PT.Rules
|
|
|
|
, Duckling.Temperature.RO.Corpus
|
|
|
|
, Duckling.Temperature.RO.Rules
|
2017-05-30 19:19:18 +03:00
|
|
|
, Duckling.Temperature.TR.Corpus
|
|
|
|
, Duckling.Temperature.TR.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.ZH.Corpus
|
|
|
|
, Duckling.Temperature.ZH.Rules
|
|
|
|
, Duckling.Temperature.Helpers
|
|
|
|
, Duckling.Temperature.Rules
|
|
|
|
, Duckling.Temperature.Types
|
|
|
|
|
|
|
|
-- Time
|
2017-12-20 01:17:19 +03:00
|
|
|
, Duckling.Time.AR.Corpus
|
|
|
|
, Duckling.Time.AR.Rules
|
2020-01-11 01:28:39 +03:00
|
|
|
, Duckling.Time.BG.Corpus
|
|
|
|
, Duckling.Time.BG.Rules
|
2021-05-18 23:37:24 +03:00
|
|
|
, Duckling.Time.CA.Corpus
|
|
|
|
, Duckling.Time.CA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.DA.Corpus
|
|
|
|
, Duckling.Time.DA.Rules
|
|
|
|
, Duckling.Time.DE.Corpus
|
|
|
|
, Duckling.Time.DE.Rules
|
2017-12-05 03:37:47 +03:00
|
|
|
, Duckling.Time.EL.Corpus
|
|
|
|
, Duckling.Time.EL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.EN.Corpus
|
|
|
|
, Duckling.Time.EN.Rules
|
2017-10-26 18:39:53 +03:00
|
|
|
, Duckling.Time.EN.AU.Corpus
|
|
|
|
, Duckling.Time.EN.AU.Rules
|
|
|
|
, Duckling.Time.EN.BZ.Corpus
|
|
|
|
, Duckling.Time.EN.BZ.Rules
|
2017-10-16 19:43:53 +03:00
|
|
|
, Duckling.Time.EN.CA.Corpus
|
|
|
|
, Duckling.Time.EN.CA.Rules
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Time.EN.GB.Corpus
|
|
|
|
, Duckling.Time.EN.GB.Rules
|
2017-10-26 18:39:53 +03:00
|
|
|
, Duckling.Time.EN.IE.Corpus
|
|
|
|
, Duckling.Time.EN.IE.Rules
|
|
|
|
, Duckling.Time.EN.IN.Corpus
|
|
|
|
, Duckling.Time.EN.IN.Rules
|
|
|
|
, Duckling.Time.EN.JM.Corpus
|
|
|
|
, Duckling.Time.EN.JM.Rules
|
|
|
|
, Duckling.Time.EN.NZ.Corpus
|
|
|
|
, Duckling.Time.EN.NZ.Rules
|
|
|
|
, Duckling.Time.EN.PH.Corpus
|
|
|
|
, Duckling.Time.EN.PH.Rules
|
|
|
|
, Duckling.Time.EN.TT.Corpus
|
|
|
|
, Duckling.Time.EN.TT.Rules
|
Locales support
Summary:
* Locales support for the library, following `<Lang>_<Region>` with ISO 639-1 code for `<Lang>` and ISO 3166-1 alpha-2 code for `<Region>` (#33)
* `Locale` opaque type (composite of `Lang` and `Region`) with `makeLocale` smart constructor to only allow valid `(Lang, Region)` combinations
* API: `Context`'s `lang` parameter has been replaced by `locale`, with optional `Region` and backward compatibility.
* `Rules/<Lang>.hs` exposes
- `langRules`: cross-locale rules for `<Lang>`, from `<Dimension>/<Lang>/Rules.hs`
- `localeRules`: locale-specific rules, from `<Dimension>/<Lang>/<Region>/Rules.hs`
- `defaultRules`: `langRules` + specific rules from select locales to ensure backward-compatibility
* Corpus, tests & classifiers
- 1 classifier per locale, with default classifier (`<Lang>_XX`) when no locale provided (backward-compatible)
- Default classifiers are built on existing corpus
- Locale classifiers are built on
- `<Dimension>/<Lang>/Corpus.hs` exposes a common `corpus` to all locales of `<Lang>`
- `<Dimension>/<Lang>/<Region>/Corpus.hs` exposes `allExamples`: a list of examples specific to the locale (following `<Dimension>/<Lang>/<Region>/Rules.hs`).
- Locale classifiers use the language corpus extended with the locale examples as training set.
- Locale examples need to use the same `Context` (i.e. reference time) as the language corpus.
- For backward compatibility, `<Dimension>/<Lang>/Corpus.hs` can expose also `defaultCorpus`, which is `corpus` augmented with specific examples. This is controlled by `getDefaultCorpusForLang` in `Duckling.Ranking.Generate`.
- Tests run against each classifier to make sure runtime works as expected.
* MM/DD (en_US) vs DD/MM (en_GB) example to illustrate
Reviewed By: JonCoens, blandinw
Differential Revision: D6038096
fbshipit-source-id: f29c28d
2017-10-13 18:15:32 +03:00
|
|
|
, Duckling.Time.EN.US.Corpus
|
|
|
|
, Duckling.Time.EN.US.Rules
|
2017-10-26 18:39:53 +03:00
|
|
|
, Duckling.Time.EN.ZA.Corpus
|
|
|
|
, Duckling.Time.EN.ZA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.ES.Corpus
|
|
|
|
, Duckling.Time.ES.Rules
|
|
|
|
, Duckling.Time.FR.Corpus
|
|
|
|
, Duckling.Time.FR.Rules
|
|
|
|
, Duckling.Time.GA.Corpus
|
|
|
|
, Duckling.Time.GA.Rules
|
2017-04-26 19:11:09 +03:00
|
|
|
, Duckling.Time.HR.Corpus
|
|
|
|
, Duckling.Time.HR.Rules
|
2017-04-28 19:54:35 +03:00
|
|
|
, Duckling.Time.HE.Corpus
|
|
|
|
, Duckling.Time.HE.Rules
|
2017-08-23 05:15:17 +03:00
|
|
|
, Duckling.Time.HU.Corpus
|
|
|
|
, Duckling.Time.HU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.IT.Corpus
|
|
|
|
, Duckling.Time.IT.Rules
|
2021-09-21 22:21:05 +03:00
|
|
|
, Duckling.Time.JA.Corpus
|
|
|
|
, Duckling.Time.JA.Rules
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Time.KA.Corpus
|
|
|
|
, Duckling.Time.KA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.KO.Corpus
|
|
|
|
, Duckling.Time.KO.Rules
|
|
|
|
, Duckling.Time.NB.Corpus
|
|
|
|
, Duckling.Time.NB.Rules
|
2017-10-19 23:37:43 +03:00
|
|
|
, Duckling.Time.NL.Corpus
|
|
|
|
, Duckling.Time.NL.Rules
|
2018-06-06 01:39:57 +03:00
|
|
|
, Duckling.Time.NL.BE.Corpus
|
|
|
|
, Duckling.Time.NL.BE.Rules
|
|
|
|
, Duckling.Time.NL.NL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.PL.Corpus
|
|
|
|
, Duckling.Time.PL.Rules
|
|
|
|
, Duckling.Time.PT.Corpus
|
|
|
|
, Duckling.Time.PT.Rules
|
|
|
|
, Duckling.Time.RO.Corpus
|
|
|
|
, Duckling.Time.RO.Rules
|
2021-02-12 23:01:07 +03:00
|
|
|
, Duckling.Time.RU.Corpus
|
|
|
|
, Duckling.Time.RU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.SV.Corpus
|
|
|
|
, Duckling.Time.SV.Rules
|
2021-04-06 20:18:56 +03:00
|
|
|
, Duckling.Time.TR.Corpus
|
|
|
|
, Duckling.Time.TR.Rules
|
2018-11-19 15:11:53 +03:00
|
|
|
, Duckling.Time.UK.Corpus
|
|
|
|
, Duckling.Time.UK.Rules
|
2017-04-28 17:47:05 +03:00
|
|
|
, Duckling.Time.VI.Corpus
|
|
|
|
, Duckling.Time.VI.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.ZH.Corpus
|
|
|
|
, Duckling.Time.ZH.Rules
|
2017-10-14 02:36:00 +03:00
|
|
|
, Duckling.Time.ZH.CN.Corpus
|
|
|
|
, Duckling.Time.ZH.CN.Rules
|
|
|
|
, Duckling.Time.ZH.HK.Corpus
|
|
|
|
, Duckling.Time.ZH.HK.Rules
|
|
|
|
, Duckling.Time.ZH.MO.Corpus
|
|
|
|
, Duckling.Time.ZH.MO.Rules
|
|
|
|
, Duckling.Time.ZH.TW.Corpus
|
|
|
|
, Duckling.Time.ZH.TW.Rules
|
2018-03-13 20:06:40 +03:00
|
|
|
, Duckling.Time.Computed
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.Corpus
|
|
|
|
, Duckling.Time.Helpers
|
2019-09-21 04:16:00 +03:00
|
|
|
, Duckling.Time.HolidayHelpers
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.Types
|
|
|
|
-- REMOVE ME
|
|
|
|
, Duckling.Time.TimeZone.Parse
|
|
|
|
|
|
|
|
-- TimeGrain
|
2017-10-18 01:51:35 +03:00
|
|
|
, Duckling.TimeGrain.AR.Rules
|
2018-03-20 03:58:29 +03:00
|
|
|
, Duckling.TimeGrain.BG.Rules
|
2021-05-13 02:26:28 +03:00
|
|
|
, Duckling.TimeGrain.CA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.DA.Rules
|
|
|
|
, Duckling.TimeGrain.DE.Rules
|
|
|
|
, Duckling.TimeGrain.EN.Rules
|
2017-11-07 05:33:20 +03:00
|
|
|
, Duckling.TimeGrain.EL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.ES.Rules
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.TimeGrain.FI.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.FR.Rules
|
|
|
|
, Duckling.TimeGrain.GA.Rules
|
2017-04-24 16:27:02 +03:00
|
|
|
, Duckling.TimeGrain.HE.Rules
|
2018-05-22 22:13:04 +03:00
|
|
|
, Duckling.TimeGrain.HI.Rules
|
2017-04-26 19:11:07 +03:00
|
|
|
, Duckling.TimeGrain.HR.Rules
|
2017-08-23 05:15:17 +03:00
|
|
|
, Duckling.TimeGrain.HU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.IT.Rules
|
|
|
|
, Duckling.TimeGrain.JA.Rules
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.TimeGrain.KA.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.KO.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.TimeGrain.MN.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.NB.Rules
|
2017-10-13 22:28:28 +03:00
|
|
|
, Duckling.TimeGrain.NL.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.PL.Rules
|
|
|
|
, Duckling.TimeGrain.PT.Rules
|
|
|
|
, Duckling.TimeGrain.RO.Rules
|
2017-11-15 21:41:33 +03:00
|
|
|
, Duckling.TimeGrain.RU.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.SV.Rules
|
2017-05-31 12:08:29 +03:00
|
|
|
, Duckling.TimeGrain.TR.Rules
|
2018-11-19 15:11:33 +03:00
|
|
|
, Duckling.TimeGrain.UK.Rules
|
2017-04-28 17:47:03 +03:00
|
|
|
, Duckling.TimeGrain.VI.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.TimeGrain.ZH.Rules
|
|
|
|
, Duckling.TimeGrain.Types
|
|
|
|
|
|
|
|
-- Url
|
|
|
|
, Duckling.Url.Corpus
|
|
|
|
, Duckling.Url.Helpers
|
|
|
|
, Duckling.Url.Rules
|
|
|
|
, Duckling.Url.Types
|
|
|
|
|
|
|
|
-- Volume
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Volume.AR.Corpus
|
|
|
|
, Duckling.Volume.AR.Rules
|
2021-05-13 00:39:58 +03:00
|
|
|
, Duckling.Volume.CA.Corpus
|
|
|
|
, Duckling.Volume.CA.Rules
|
2019-01-28 22:05:06 +03:00
|
|
|
, Duckling.Volume.DE.Corpus
|
|
|
|
, Duckling.Volume.DE.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.EN.Corpus
|
|
|
|
, Duckling.Volume.EN.Rules
|
|
|
|
, Duckling.Volume.ES.Corpus
|
|
|
|
, Duckling.Volume.ES.Rules
|
|
|
|
, Duckling.Volume.FR.Corpus
|
|
|
|
, Duckling.Volume.FR.Rules
|
|
|
|
, Duckling.Volume.GA.Corpus
|
|
|
|
, Duckling.Volume.GA.Rules
|
2017-04-28 17:47:41 +03:00
|
|
|
, Duckling.Volume.HR.Corpus
|
|
|
|
, Duckling.Volume.HR.Rules
|
2017-05-02 21:01:57 +03:00
|
|
|
, Duckling.Volume.IT.Corpus
|
|
|
|
, Duckling.Volume.IT.Rules
|
2018-11-01 02:32:10 +03:00
|
|
|
, Duckling.Volume.KM.Corpus
|
|
|
|
, Duckling.Volume.KM.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.KO.Corpus
|
|
|
|
, Duckling.Volume.KO.Rules
|
|
|
|
, Duckling.Volume.PT.Corpus
|
|
|
|
, Duckling.Volume.PT.Rules
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Volume.MN.Corpus
|
|
|
|
, Duckling.Volume.MN.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.NL.Corpus
|
|
|
|
, Duckling.Volume.NL.Rules
|
|
|
|
, Duckling.Volume.RO.Corpus
|
|
|
|
, Duckling.Volume.RO.Rules
|
2017-11-08 21:50:20 +03:00
|
|
|
, Duckling.Volume.RU.Corpus
|
|
|
|
, Duckling.Volume.RU.Rules
|
2017-06-02 22:32:27 +03:00
|
|
|
, Duckling.Volume.TR.Corpus
|
|
|
|
, Duckling.Volume.TR.Rules
|
2021-02-02 02:59:07 +03:00
|
|
|
, Duckling.Volume.ZH.Corpus
|
|
|
|
, Duckling.Volume.ZH.Rules
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.Helpers
|
|
|
|
, Duckling.Volume.Rules
|
|
|
|
, Duckling.Volume.Types
|
2018-11-14 22:00:58 +03:00
|
|
|
|
|
|
|
-- CreditCardNumber
|
|
|
|
, Duckling.CreditCardNumber.Corpus
|
|
|
|
, Duckling.CreditCardNumber.Helpers
|
|
|
|
, Duckling.CreditCardNumber.Rules
|
|
|
|
, Duckling.CreditCardNumber.Types
|
2020-11-13 00:58:54 +03:00
|
|
|
build-depends: , base >= 4.8.2 && < 5.0
|
2017-04-14 22:05:33 +03:00
|
|
|
, array >= 0.5.1.1 && < 0.6
|
2021-03-30 22:40:10 +03:00
|
|
|
, attoparsec >= 0.13.1.0 && < 0.15
|
2020-10-29 20:56:50 +03:00
|
|
|
, aeson >= 0.11.3.0 && < 1.6
|
2021-03-30 22:40:10 +03:00
|
|
|
, bytestring >= 0.10.6.0 && < 0.12
|
2019-02-22 22:42:12 +03:00
|
|
|
, containers >= 0.5.6.2 && < 0.7
|
2017-03-08 21:33:55 +03:00
|
|
|
, deepseq >= 1.4.1.1 && < 1.5
|
2021-03-30 22:40:10 +03:00
|
|
|
, dependent-sum >= 0.3.2.2 && < 0.8
|
2020-10-29 20:56:50 +03:00
|
|
|
, extra >= 1.4.10 && < 1.8
|
|
|
|
, hashable >= 1.2.4.0 && < 1.4
|
|
|
|
, regex-base >= 0.93.2 && < 0.95
|
2017-03-08 21:33:55 +03:00
|
|
|
, text >= 1.2.2.1 && < 1.3
|
2021-03-30 22:40:10 +03:00
|
|
|
, text-show >= 2.1.2 && < 3.10
|
2019-02-22 22:42:12 +03:00
|
|
|
, time >= 1.5.0.1 && < 2
|
2017-03-08 21:33:55 +03:00
|
|
|
, timezone-series >= 0.1.5.1 && < 0.2
|
|
|
|
, unordered-containers >= 0.2.7.2 && < 0.3
|
2020-11-13 00:58:54 +03:00
|
|
|
if os(windows)
|
|
|
|
build-depends: , regex-pcre-builtin >= 0.94.4 && < 0.96
|
|
|
|
else
|
|
|
|
build-depends: , regex-pcre >= 0.94.4 && < 0.96
|
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
|
|
|
test-suite duckling-test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: TestMain.hs
|
2017-03-28 01:49:18 +03:00
|
|
|
hs-source-dirs: tests
|
2017-03-08 21:33:55 +03:00
|
|
|
build-depends: duckling
|
2017-07-24 19:35:10 +03:00
|
|
|
, base
|
|
|
|
, aeson
|
|
|
|
, text
|
|
|
|
, time
|
|
|
|
, unordered-containers
|
Bumps tasty upper bound (< 1.5) (#605)
Summary:
Closes https://github.com/facebook/duckling/issues/600
---
I saw the latest 0.2.0.0 release announcement and decided to try building the project locally.
This compiles successfully with `tasty-1.4.1` and `cabal-install` (cf. the snippet below if you want to see the full set of packages I compiled/tested with).
<details>
<summary> cabal.project.freeze </summary>
```
active-repositories: hackage.haskell.org:merge
constraints: any.HUnit ==1.6.2.0,
any.aeson ==1.5.6.0,
aeson -bytestring-builder -cffi -developer -fast,
any.ansi-terminal ==0.11,
ansi-terminal -example,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.array ==0.5.4.0,
any.assoc ==1.0.2,
any.attoparsec ==0.13.2.5,
attoparsec -developer,
any.base ==4.14.1.0,
any.base-compat ==0.11.2,
any.base-compat-batteries ==0.11.2,
any.base-orphans ==0.8.4,
any.bifunctors ==5.5.10,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
any.blaze-builder ==0.4.2.1,
any.bytestring ==0.10.12.0,
any.bytestring-builder ==0.10.8.2.0,
bytestring-builder +bytestring_has_builder,
any.call-stack ==0.3.0,
any.case-insensitive ==1.2.1.0,
any.clock ==0.8.2,
clock -llvm,
any.colour ==2.3.5,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.constraints ==0.12,
any.constraints-extras ==0.3.1.0,
constraints-extras +build-readme,
any.containers ==0.6.2.1,
any.data-fix ==0.3.1,
any.deepseq ==1.4.4.0,
any.dependent-sum ==0.7.1.0,
any.directory ==1.3.6.0,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.extensible-exceptions ==0.1.1.4,
any.extra ==1.7.9,
any.filepath ==1.4.2.1,
any.generic-deriving ==1.14,
generic-deriving +base-4-9,
any.ghc-boot-th ==8.10.4,
any.ghc-prim ==0.6.1,
any.happy ==1.20.0,
any.hashable ==1.3.1.0,
hashable +integer-gmp,
any.haskell-src-exts ==1.23.1,
any.hsc2hs ==0.68.7,
hsc2hs -in-ghc-tree,
any.indexed-traversable ==0.1.1,
any.integer-gmp ==1.0.3.0,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.io-streams ==1.5.2.0,
io-streams +network -nointeractivetests +zlib,
any.io-streams-haproxy ==1.0.1.0,
any.lifted-base ==0.2.3.12,
any.monad-control ==1.0.2.3,
any.mtl ==2.2.2,
any.network ==3.1.2.1,
network -devel,
any.network-uri ==2.6.4.1,
any.old-locale ==1.0.0.7,
any.optparse-applicative ==0.16.1.0,
optparse-applicative +process,
any.parsec ==3.1.14.0,
any.pretty ==1.1.3.6,
any.primitive ==0.7.1.0,
any.process ==1.6.9.0,
any.random ==1.2.0,
any.readable ==0.3.1,
any.regex-base ==0.94.0.1,
any.regex-pcre ==0.95.0.0,
any.regex-posix ==0.96.0.0,
regex-posix -_regex-posix-clib,
any.rts ==1.0,
any.scientific ==0.3.6.2,
scientific -bytestring-builder -integer-simple,
any.semigroups ==0.19.1,
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
any.snap-core ==1.0.4.2,
snap-core -debug +network-uri -portable,
any.snap-server ==1.1.2.0,
snap-server -build-pong -build-testserver -debug -openssl -portable,
any.some ==1.0.2,
some +newtype-unsafe,
any.splitmix ==0.1.0.3,
splitmix -optimised-mixer,
any.stm ==2.5.0.0,
any.strict ==0.4.0.1,
strict +assoc,
any.tagged ==0.8.6.1,
tagged +deepseq +transformers,
any.tasty ==1.4.1,
tasty +clock +unix,
any.tasty-hunit ==0.10.0.3,
any.template-haskell ==2.16.0.0,
any.text ==1.2.4.1,
any.text-show ==3.9,
text-show +base-4-9 +new-functor-classes +template-haskell-2-11,
any.th-abstraction ==0.4.2.0,
any.th-compat ==0.1.2,
any.th-lift ==0.8.2,
any.these ==1.1.1.1,
these +assoc,
any.time ==1.9.3,
any.time-compat ==1.9.5,
time-compat -old-locale,
any.timezone-olson ==0.2.0,
any.timezone-series ==0.1.9,
any.transformers ==0.5.6.2,
any.transformers-base ==0.4.5.2,
transformers-base +orphaninstances,
any.transformers-compat ==0.6.6,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.type-equality ==1,
any.unbounded-delays ==0.1.1.1,
any.unix ==2.7.2.2,
any.unix-compat ==0.5.3,
unix-compat -old-time,
any.unordered-containers ==0.2.13.0,
unordered-containers -debug,
any.uuid-types ==1.0.4,
any.vector ==0.12.3.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.wcwidth ==0.0.2,
wcwidth -cli +split-base,
any.zlib ==0.6.2.3,
any.zlib-bindings ==0.1.1.5
index-state: hackage.haskell.org 2021-04-18T19:08:29Z
```
</details>
The test suite fails with the following error:
```
Numeral Tests
AF Tests
Corpus Tests: FAIL
tests/Duckling/Testing/Asserts.hs:90:
empty result on "agt"
```
...but from what I can tell by the last few CI runs some corpus test errors are not unexpected so I figure this _probably_ isn't a regression.
---
I avoided messing with the Stackage snapshot since that seemed out-of-scope, but I could rework this PR (or open another) to update it to the latest LTS resolver and/or add a Stackage Nightly resolver as well.
Pull Request resolved: https://github.com/facebook/duckling/pull/605
Reviewed By: girifb
Differential Revision: D27858969
Pulled By: chessai
fbshipit-source-id: 3f60fd28fe8eeb903de40c696c59ae10eedf12e4
2021-04-20 01:58:57 +03:00
|
|
|
, tasty >= 0.11.1 && < 1.5
|
2017-03-08 21:33:55 +03:00
|
|
|
, tasty-hunit >= 0.9.2 && < 1.0
|
|
|
|
other-modules: Duckling.Tests
|
|
|
|
, Duckling.Testing.Asserts
|
|
|
|
|
|
|
|
, Duckling.Api.Tests
|
|
|
|
, Duckling.Engine.Tests
|
|
|
|
|
|
|
|
-- ------------------------------------------------------------------
|
|
|
|
-- Dimensions
|
|
|
|
, Duckling.Dimensions.Tests
|
|
|
|
|
2017-03-17 00:34:53 +03:00
|
|
|
-- AmountOfMoney
|
2018-01-03 00:51:34 +03:00
|
|
|
, Duckling.AmountOfMoney.AR.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.EN.Tests
|
2017-08-14 19:18:27 +03:00
|
|
|
, Duckling.AmountOfMoney.BG.Tests
|
2021-05-12 21:26:09 +03:00
|
|
|
, Duckling.AmountOfMoney.CA.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.ES.Tests
|
|
|
|
, Duckling.AmountOfMoney.FR.Tests
|
|
|
|
, Duckling.AmountOfMoney.GA.Tests
|
2019-02-06 13:10:53 +03:00
|
|
|
, Duckling.AmountOfMoney.HE.Tests
|
2017-04-26 19:11:06 +03:00
|
|
|
, Duckling.AmountOfMoney.HR.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.ID.Tests
|
2019-01-03 00:49:21 +03:00
|
|
|
, Duckling.AmountOfMoney.IT.Tests
|
2018-08-29 02:50:47 +03:00
|
|
|
, Duckling.AmountOfMoney.KA.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.KO.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.AmountOfMoney.MN.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.NB.Tests
|
|
|
|
, Duckling.AmountOfMoney.PT.Tests
|
|
|
|
, Duckling.AmountOfMoney.RO.Tests
|
2017-12-12 23:13:25 +03:00
|
|
|
, Duckling.AmountOfMoney.RU.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.SV.Tests
|
2021-03-17 20:16:46 +03:00
|
|
|
, Duckling.AmountOfMoney.TR.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.VI.Tests
|
2018-04-12 03:00:20 +03:00
|
|
|
, Duckling.AmountOfMoney.NL.Tests
|
2018-04-18 02:44:32 +03:00
|
|
|
, Duckling.AmountOfMoney.ZH.Tests
|
2017-03-17 00:34:53 +03:00
|
|
|
, Duckling.AmountOfMoney.Tests
|
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
-- Distance
|
2018-03-14 01:45:02 +03:00
|
|
|
, Duckling.Distance.BG.Tests
|
2021-05-12 22:35:01 +03:00
|
|
|
, Duckling.Distance.CA.Tests
|
2017-05-12 18:05:32 +03:00
|
|
|
, Duckling.Distance.CS.Tests
|
2019-01-28 22:05:06 +03:00
|
|
|
, Duckling.Distance.DE.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.EN.Tests
|
|
|
|
, Duckling.Distance.ES.Tests
|
|
|
|
, Duckling.Distance.FR.Tests
|
|
|
|
, Duckling.Distance.GA.Tests
|
2017-04-28 17:47:40 +03:00
|
|
|
, Duckling.Distance.HR.Tests
|
2019-02-15 21:39:12 +03:00
|
|
|
, Duckling.Distance.IT.Tests
|
2018-11-01 02:32:10 +03:00
|
|
|
, Duckling.Distance.KM.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.KO.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Distance.MN.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.NL.Tests
|
|
|
|
, Duckling.Distance.PT.Tests
|
|
|
|
, Duckling.Distance.RO.Tests
|
2017-11-08 21:50:20 +03:00
|
|
|
, Duckling.Distance.RU.Tests
|
2017-05-23 20:32:00 +03:00
|
|
|
, Duckling.Distance.TR.Tests
|
2018-03-21 21:01:05 +03:00
|
|
|
, Duckling.Distance.SV.Tests
|
2018-03-21 22:06:48 +03:00
|
|
|
, Duckling.Distance.ZH.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Distance.Tests
|
|
|
|
|
|
|
|
-- Duration
|
2017-10-18 01:51:35 +03:00
|
|
|
, Duckling.Duration.AR.Tests
|
2018-03-20 03:58:29 +03:00
|
|
|
, Duckling.Duration.BG.Tests
|
2021-05-13 03:17:42 +03:00
|
|
|
, Duckling.Duration.CA.Tests
|
2017-11-07 05:33:20 +03:00
|
|
|
, Duckling.Duration.EL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.EN.Tests
|
2020-06-10 01:04:55 +03:00
|
|
|
, Duckling.Duration.ES.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.FR.Tests
|
|
|
|
, Duckling.Duration.GA.Tests
|
2017-08-23 05:15:17 +03:00
|
|
|
, Duckling.Duration.HU.Tests
|
2018-05-18 00:34:54 +03:00
|
|
|
, Duckling.Duration.HI.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.JA.Tests
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Duration.KA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.KO.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Duration.MN.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.NB.Tests
|
2017-10-13 22:28:28 +03:00
|
|
|
, Duckling.Duration.NL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.PL.Tests
|
|
|
|
, Duckling.Duration.PT.Tests
|
|
|
|
, Duckling.Duration.RO.Tests
|
2017-11-15 21:41:33 +03:00
|
|
|
, Duckling.Duration.RU.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.SV.Tests
|
2017-05-31 12:08:29 +03:00
|
|
|
, Duckling.Duration.TR.Tests
|
2018-11-19 15:11:33 +03:00
|
|
|
, Duckling.Duration.UK.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Duration.ZH.Tests
|
|
|
|
, Duckling.Duration.Tests
|
|
|
|
|
|
|
|
-- Email
|
|
|
|
, Duckling.Email.EN.Tests
|
2019-01-28 22:05:06 +03:00
|
|
|
, Duckling.Email.DE.Tests
|
|
|
|
, Duckling.Email.IS.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Email.FR.Tests
|
|
|
|
, Duckling.Email.IT.Tests
|
|
|
|
, Duckling.Email.Tests
|
|
|
|
|
2017-03-16 23:42:15 +03:00
|
|
|
-- Numeral
|
2020-01-11 02:01:26 +03:00
|
|
|
, Duckling.Numeral.AF.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.AR.Tests
|
2017-08-09 18:05:28 +03:00
|
|
|
, Duckling.Numeral.BG.Tests
|
2018-07-09 22:22:11 +03:00
|
|
|
, Duckling.Numeral.BN.Tests
|
2021-04-09 00:27:17 +03:00
|
|
|
, Duckling.Numeral.CA.Tests
|
2017-05-11 19:30:45 +03:00
|
|
|
, Duckling.Numeral.CS.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.DA.Tests
|
|
|
|
, Duckling.Numeral.DE.Tests
|
2017-11-03 03:04:44 +03:00
|
|
|
, Duckling.Numeral.EL.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.EN.Tests
|
|
|
|
, Duckling.Numeral.ES.Tests
|
|
|
|
, Duckling.Numeral.ET.Tests
|
2018-06-19 20:35:09 +03:00
|
|
|
, Duckling.Numeral.FI.Tests
|
2020-11-19 23:06:34 +03:00
|
|
|
, Duckling.Numeral.FA.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.FR.Tests
|
|
|
|
, Duckling.Numeral.GA.Tests
|
2017-04-24 16:26:59 +03:00
|
|
|
, Duckling.Numeral.HE.Tests
|
2017-12-20 00:05:23 +03:00
|
|
|
, Duckling.Numeral.HI.Tests
|
2017-04-26 19:11:03 +03:00
|
|
|
, Duckling.Numeral.HR.Tests
|
2017-08-10 03:37:55 +03:00
|
|
|
, Duckling.Numeral.HU.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.ID.Tests
|
2018-09-06 16:43:26 +03:00
|
|
|
, Duckling.Numeral.IS.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.IT.Tests
|
|
|
|
, Duckling.Numeral.JA.Tests
|
2017-09-05 21:58:00 +03:00
|
|
|
, Duckling.Numeral.KA.Tests
|
2018-08-04 00:35:28 +03:00
|
|
|
, Duckling.Numeral.KM.Tests
|
2019-02-08 22:13:12 +03:00
|
|
|
, Duckling.Numeral.KN.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.KO.Tests
|
2018-08-17 20:24:25 +03:00
|
|
|
, Duckling.Numeral.LO.Tests
|
2018-09-28 20:12:24 +03:00
|
|
|
, Duckling.Numeral.ML.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Numeral.MN.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.MY.Tests
|
|
|
|
, Duckling.Numeral.NB.Tests
|
2018-02-13 18:42:55 +03:00
|
|
|
, Duckling.Numeral.NE.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.NL.Tests
|
|
|
|
, Duckling.Numeral.PL.Tests
|
|
|
|
, Duckling.Numeral.PT.Tests
|
|
|
|
, Duckling.Numeral.RO.Tests
|
|
|
|
, Duckling.Numeral.RU.Tests
|
2020-01-11 01:31:19 +03:00
|
|
|
, Duckling.Numeral.SK.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.SV.Tests
|
2019-01-18 11:52:49 +03:00
|
|
|
, Duckling.Numeral.SW.Tests
|
2018-03-20 02:32:12 +03:00
|
|
|
, Duckling.Numeral.TA.Tests
|
2020-12-16 04:39:42 +03:00
|
|
|
, Duckling.Numeral.TE.Tests
|
2019-11-28 02:29:58 +03:00
|
|
|
, Duckling.Numeral.TH.Tests
|
2017-03-16 23:42:15 +03:00
|
|
|
, Duckling.Numeral.TR.Tests
|
|
|
|
, Duckling.Numeral.UK.Tests
|
|
|
|
, Duckling.Numeral.VI.Tests
|
|
|
|
, Duckling.Numeral.ZH.Tests
|
|
|
|
, Duckling.Numeral.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
|
|
|
|
-- Ordinal
|
|
|
|
, Duckling.Ordinal.AR.Tests
|
2018-03-20 03:58:29 +03:00
|
|
|
, Duckling.Ordinal.BG.Tests
|
2021-04-09 22:52:03 +03:00
|
|
|
, Duckling.Ordinal.CA.Tests
|
2017-03-28 01:49:18 +03:00
|
|
|
, Duckling.Ordinal.DA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.DE.Tests
|
2017-11-08 21:57:57 +03:00
|
|
|
, Duckling.Ordinal.EL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.EN.Tests
|
2017-10-06 21:39:11 +03:00
|
|
|
, Duckling.Ordinal.ES.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ET.Tests
|
|
|
|
, Duckling.Ordinal.FR.Tests
|
|
|
|
, Duckling.Ordinal.GA.Tests
|
2017-04-24 16:27:00 +03:00
|
|
|
, Duckling.Ordinal.HE.Tests
|
2018-02-10 00:15:03 +03:00
|
|
|
, Duckling.Ordinal.HI.Tests
|
2017-04-26 19:11:04 +03:00
|
|
|
, Duckling.Ordinal.HR.Tests
|
2017-08-16 20:51:52 +03:00
|
|
|
, Duckling.Ordinal.HU.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ID.Tests
|
|
|
|
, Duckling.Ordinal.IT.Tests
|
|
|
|
, Duckling.Ordinal.JA.Tests
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Ordinal.KA.Tests
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Ordinal.KM.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.KO.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Ordinal.MN.Tests
|
2018-09-28 20:30:25 +03:00
|
|
|
, Duckling.Ordinal.ML.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.NB.Tests
|
|
|
|
, Duckling.Ordinal.NL.Tests
|
|
|
|
, Duckling.Ordinal.PL.Tests
|
|
|
|
, Duckling.Ordinal.PT.Tests
|
|
|
|
, Duckling.Ordinal.RO.Tests
|
|
|
|
, Duckling.Ordinal.RU.Tests
|
|
|
|
, Duckling.Ordinal.SV.Tests
|
2018-07-17 02:54:50 +03:00
|
|
|
, Duckling.Ordinal.TA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.TR.Tests
|
|
|
|
, Duckling.Ordinal.UK.Tests
|
2017-04-28 17:47:01 +03:00
|
|
|
, Duckling.Ordinal.VI.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Ordinal.ZH.Tests
|
|
|
|
, Duckling.Ordinal.Tests
|
|
|
|
|
|
|
|
-- PhoneNumber
|
2019-03-29 19:35:28 +03:00
|
|
|
, Duckling.PhoneNumber.AR.Tests
|
2017-04-28 17:46:22 +03:00
|
|
|
, Duckling.PhoneNumber.PT.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.PhoneNumber.Tests
|
|
|
|
|
|
|
|
-- Quantity
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Quantity.AR.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.EN.Tests
|
2020-11-09 22:09:48 +03:00
|
|
|
, Duckling.Quantity.ES.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.FR.Tests
|
2017-04-28 17:47:43 +03:00
|
|
|
, Duckling.Quantity.HR.Tests
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Quantity.KM.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.KO.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Quantity.MN.Tests
|
2019-01-03 00:50:25 +03:00
|
|
|
, Duckling.Quantity.NL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.PT.Tests
|
|
|
|
, Duckling.Quantity.RO.Tests
|
2017-11-15 07:46:48 +03:00
|
|
|
, Duckling.Quantity.RU.Tests
|
2018-05-07 19:33:24 +03:00
|
|
|
, Duckling.Quantity.ZH.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Quantity.Tests
|
|
|
|
|
|
|
|
-- Temperature
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Temperature.AR.Tests
|
2021-05-13 00:02:13 +03:00
|
|
|
, Duckling.Temperature.CA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.EN.Tests
|
|
|
|
, Duckling.Temperature.ES.Tests
|
|
|
|
, Duckling.Temperature.FR.Tests
|
|
|
|
, Duckling.Temperature.GA.Tests
|
2018-06-14 02:51:23 +03:00
|
|
|
, Duckling.Temperature.HI.Tests
|
2017-04-28 17:47:44 +03:00
|
|
|
, Duckling.Temperature.HR.Tests
|
2017-04-28 19:54:02 +03:00
|
|
|
, Duckling.Temperature.IT.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.JA.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Temperature.MN.Tests
|
2018-09-06 16:50:07 +03:00
|
|
|
, Duckling.Temperature.KM.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.KO.Tests
|
|
|
|
, Duckling.Temperature.PT.Tests
|
|
|
|
, Duckling.Temperature.RO.Tests
|
2017-05-30 19:19:18 +03:00
|
|
|
, Duckling.Temperature.TR.Tests
|
|
|
|
, Duckling.Temperature.ZH.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Temperature.Tests
|
|
|
|
|
|
|
|
-- Time
|
2017-12-20 01:17:19 +03:00
|
|
|
, Duckling.Time.AR.Tests
|
2020-01-11 01:28:39 +03:00
|
|
|
, Duckling.Time.BG.Tests
|
2021-05-18 23:37:24 +03:00
|
|
|
, Duckling.Time.CA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.DA.Tests
|
|
|
|
, Duckling.Time.DE.Tests
|
2017-12-05 03:37:47 +03:00
|
|
|
, Duckling.Time.EL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.EN.Tests
|
|
|
|
, Duckling.Time.ES.Tests
|
|
|
|
, Duckling.Time.FR.Tests
|
|
|
|
, Duckling.Time.GA.Tests
|
2017-04-26 19:11:09 +03:00
|
|
|
, Duckling.Time.HR.Tests
|
2017-04-28 19:54:35 +03:00
|
|
|
, Duckling.Time.HE.Tests
|
2017-08-23 05:15:17 +03:00
|
|
|
, Duckling.Time.HU.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.IT.Tests
|
2021-09-21 22:21:05 +03:00
|
|
|
, Duckling.Time.JA.Tests
|
2018-08-23 04:25:17 +03:00
|
|
|
, Duckling.Time.KA.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.KO.Tests
|
|
|
|
, Duckling.Time.NB.Tests
|
2017-10-19 23:37:43 +03:00
|
|
|
, Duckling.Time.NL.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.PL.Tests
|
|
|
|
, Duckling.Time.PT.Tests
|
|
|
|
, Duckling.Time.RO.Tests
|
2021-02-12 23:01:07 +03:00
|
|
|
, Duckling.Time.RU.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.SV.Tests
|
2021-11-10 21:26:21 +03:00
|
|
|
, Duckling.Time.TR.Tests
|
2018-11-19 15:11:53 +03:00
|
|
|
, Duckling.Time.UK.Tests
|
2017-04-28 17:47:05 +03:00
|
|
|
, Duckling.Time.VI.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Time.ZH.Tests
|
|
|
|
, Duckling.Time.Tests
|
|
|
|
|
|
|
|
-- Url
|
|
|
|
, Duckling.Url.Tests
|
|
|
|
|
|
|
|
-- Volume
|
2017-12-21 04:51:20 +03:00
|
|
|
, Duckling.Volume.AR.Tests
|
2021-05-13 00:39:58 +03:00
|
|
|
, Duckling.Volume.CA.Tests
|
2019-01-28 22:05:06 +03:00
|
|
|
, Duckling.Volume.DE.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.EN.Tests
|
|
|
|
, Duckling.Volume.ES.Tests
|
|
|
|
, Duckling.Volume.FR.Tests
|
|
|
|
, Duckling.Volume.GA.Tests
|
2017-04-28 17:47:41 +03:00
|
|
|
, Duckling.Volume.HR.Tests
|
2017-05-02 21:01:57 +03:00
|
|
|
, Duckling.Volume.IT.Tests
|
2018-11-01 02:32:10 +03:00
|
|
|
, Duckling.Volume.KM.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.KO.Tests
|
|
|
|
, Duckling.Volume.PT.Tests
|
2018-11-27 02:16:43 +03:00
|
|
|
, Duckling.Volume.MN.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.NL.Tests
|
|
|
|
, Duckling.Volume.RO.Tests
|
2017-11-08 21:50:20 +03:00
|
|
|
, Duckling.Volume.RU.Tests
|
2017-06-02 22:32:27 +03:00
|
|
|
, Duckling.Volume.TR.Tests
|
2021-02-02 02:59:07 +03:00
|
|
|
, Duckling.Volume.ZH.Tests
|
2017-03-08 21:33:55 +03:00
|
|
|
, Duckling.Volume.Tests
|
|
|
|
|
2018-11-14 22:00:58 +03:00
|
|
|
-- CreditCardNumber
|
|
|
|
, Duckling.CreditCardNumber.Tests
|
|
|
|
|
2018-04-27 02:18:43 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wincomplete-patterns
|
2017-03-08 21:33:55 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
|
|
|
executable duckling-regen-exe
|
|
|
|
main-is: RegenMain.hs
|
2017-03-28 01:49:18 +03:00
|
|
|
hs-source-dirs: exe
|
2018-04-27 02:18:43 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wincomplete-patterns
|
2017-03-08 21:33:55 +03:00
|
|
|
other-modules: Duckling.Ranking.Train
|
|
|
|
, Duckling.Ranking.Generate
|
|
|
|
build-depends: duckling
|
2017-07-24 19:35:10 +03:00
|
|
|
, base
|
2019-02-22 22:42:12 +03:00
|
|
|
, haskell-src-exts >= 1.18 && < 1.30
|
2017-07-24 19:35:10 +03:00
|
|
|
, text
|
|
|
|
, unordered-containers
|
2017-03-08 21:33:55 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
|
|
|
executable duckling-example-exe
|
|
|
|
main-is: ExampleMain.hs
|
2017-03-28 01:49:18 +03:00
|
|
|
hs-source-dirs: exe
|
2017-03-08 21:33:55 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
other-modules: Duckling.Data.TimeZone
|
|
|
|
build-depends: duckling
|
2017-07-24 19:35:10 +03:00
|
|
|
, base
|
|
|
|
, aeson
|
|
|
|
, bytestring
|
2017-04-05 01:08:17 +03:00
|
|
|
, directory >= 1.2.2.0 && < 1.4
|
2017-07-24 19:35:10 +03:00
|
|
|
, extra
|
2017-03-08 21:33:55 +03:00
|
|
|
, filepath >= 1.4.0.0 && < 1.5
|
2017-04-07 02:51:36 +03:00
|
|
|
, snap-core >= 1.0.2.0 && < 1.1
|
2019-02-22 22:42:12 +03:00
|
|
|
, snap-server >= 1.0.1.1 && < 1.2
|
2017-07-24 19:35:10 +03:00
|
|
|
, text
|
|
|
|
, text-show
|
|
|
|
, time
|
2021-08-12 04:55:39 +03:00
|
|
|
, timezone-olson >= 0.2 && < 0.3
|
2017-07-24 19:35:10 +03:00
|
|
|
, timezone-series
|
|
|
|
, unordered-containers
|
2017-03-08 21:33:55 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
2018-04-20 01:21:18 +03:00
|
|
|
executable custom-dimension-example
|
|
|
|
main-is: CustomDimensionExample.hs
|
|
|
|
hs-source-dirs: exe
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
build-depends: duckling
|
|
|
|
, aeson
|
|
|
|
, base
|
|
|
|
, deepseq
|
|
|
|
, dependent-sum
|
|
|
|
, hashable
|
|
|
|
, text
|
|
|
|
, text-show
|
|
|
|
, unordered-containers
|
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
2017-06-22 19:01:04 +03:00
|
|
|
executable duckling-request-sample
|
|
|
|
main-is: DucklingRequestSample.hs
|
|
|
|
hs-source-dirs: exe
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
other-modules: Duckling.Data.TimeZone
|
|
|
|
build-depends: duckling
|
2017-07-24 19:35:10 +03:00
|
|
|
, base
|
|
|
|
, dependent-sum
|
2017-07-24 19:35:13 +03:00
|
|
|
, directory >= 1.2.2.0 && < 1.4
|
|
|
|
, extra
|
|
|
|
, filepath >= 1.4.0.0 && < 1.5
|
|
|
|
, text
|
|
|
|
, time
|
2021-08-12 04:55:39 +03:00
|
|
|
, timezone-olson >= 0.2 && < 0.3
|
2017-07-24 19:35:13 +03:00
|
|
|
, timezone-series
|
|
|
|
, unordered-containers
|
2017-06-22 19:01:04 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
|
|
|
executable duckling-expensive
|
|
|
|
main-is: DucklingExpensive.hs
|
|
|
|
hs-source-dirs: exe
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
other-modules: Duckling.Data.TimeZone
|
|
|
|
build-depends: duckling
|
2017-07-24 19:35:10 +03:00
|
|
|
, base
|
|
|
|
, dependent-sum
|
2017-07-24 19:35:13 +03:00
|
|
|
, directory >= 1.2.2.0 && < 1.4
|
|
|
|
, extra
|
|
|
|
, filepath >= 1.4.0.0 && < 1.5
|
|
|
|
, text
|
|
|
|
, time
|
2021-08-12 04:55:39 +03:00
|
|
|
, timezone-olson >= 0.2 && < 0.3
|
2017-07-24 19:35:13 +03:00
|
|
|
, timezone-series
|
|
|
|
, unordered-containers
|
2017-06-22 19:01:04 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
2017-03-08 21:33:55 +03:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2018-04-23 20:03:41 +03:00
|
|
|
location: https://github.com/facebook/duckling
|