[package]
edition = "2021"
name = "duckling"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of Facebook's Duckling library for parsing natural language into structured data"
homepage = "https://github.com/wafer-inc/duckling"
documentation = "https://docs.rs/duckling"
readme = "README.md"
keywords = [
"nlp",
"parsing",
"time",
"duckling",
]
categories = [
"text-processing",
"parsing",
]
license = "BSD-3-Clause"
repository = "https://github.com/wafer-inc/duckling"
[features]
train = []
[lib]
name = "duckling"
path = "src/lib.rs"
[[bin]]
name = "train_classifiers"
path = "src/bin/train_classifiers.rs"
required-features = ["train"]
[[example]]
name = "profile"
path = "examples/profile.rs"
[[test]]
name = "amount_of_money_corpus"
path = "tests/amount_of_money_corpus.rs"
[[test]]
name = "credit_card_number_corpus"
path = "tests/credit_card_number_corpus.rs"
[[test]]
name = "distance_corpus"
path = "tests/distance_corpus.rs"
[[test]]
name = "duration_corpus"
path = "tests/duration_corpus.rs"
[[test]]
name = "email_corpus"
path = "tests/email_corpus.rs"
[[test]]
name = "extreme_inputs_regression"
path = "tests/extreme_inputs_regression.rs"
[[test]]
name = "numeral_corpus"
path = "tests/numeral_corpus.rs"
[[test]]
name = "ordinal_corpus"
path = "tests/ordinal_corpus.rs"
[[test]]
name = "pending_corpus"
path = "tests/pending_corpus.rs"
[[test]]
name = "pending_haskell_modules"
path = "tests/pending_haskell_modules.rs"
[[test]]
name = "phone_number_corpus"
path = "tests/phone_number_corpus.rs"
[[test]]
name = "quantity_corpus"
path = "tests/quantity_corpus.rs"
[[test]]
name = "temperature_corpus"
path = "tests/temperature_corpus.rs"
[[test]]
name = "time_corpus"
path = "tests/time_corpus.rs"
[[test]]
name = "url_corpus"
path = "tests/url_corpus.rs"
[[test]]
name = "volume_corpus"
path = "tests/volume_corpus.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.once_cell]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.smallvec]
version = "1"
[dev-dependencies]