forked from pemistahl/lingua-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
137 lines (133 loc) · 7.7 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Copyright © 2020-today Peter M. Stahl pemistahl@gmail.com
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[workspace]
members = ["language-models/*"]
[package]
name = "lingua"
version = "1.2.0"
authors = ["Peter M. Stahl <pemistahl@gmail.com>"]
description = """
An accurate natural language detection library, suitable for long and short text alike
"""
homepage = "https://github.com/pemistahl/lingua-rs"
repository = "https://github.com/pemistahl/lingua-rs"
documentation = "https://docs.rs/lingua"
license = "Apache-2.0"
readme = "README.md"
edition = "2018"
categories = ["text-processing"]
keywords = [
"language-processing",
"language-detection",
"language-recognition",
"nlp"
]
[dependencies]
cfg-if = "1.0.0"
fraction = "0.8.0"
include_dir = "0.6.0"
itertools = "0.10.0"
maplit = "1.0.2"
once_cell = "1.7.2"
rayon = "1.5.0"
regex = "1.4.5"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
strum = "0.20.0"
strum_macros = "0.20.1"
zip = "0.5.11"
lingua-afrikaans-language-model = { path = "language-models/af", version = "1.0.0" }
lingua-albanian-language-model = { path = "language-models/sq", version = "1.0.0" }
lingua-arabic-language-model = { path = "language-models/ar", version = "1.0.0" }
lingua-armenian-language-model = { path = "language-models/hy", version = "1.0.0" }
lingua-azerbaijani-language-model = { path = "language-models/az", version = "1.0.0" }
lingua-basque-language-model = { path = "language-models/eu", version = "1.0.0" }
lingua-belarusian-language-model = { path = "language-models/be", version = "1.0.0" }
lingua-bengali-language-model = { path = "language-models/bn", version = "1.0.0" }
lingua-bokmal-language-model = { path = "language-models/nb", version = "1.0.0" }
lingua-bosnian-language-model = { path = "language-models/bs", version = "1.0.0" }
lingua-bulgarian-language-model = { path = "language-models/bg", version = "1.0.0" }
lingua-catalan-language-model = { path = "language-models/ca", version = "1.0.0" }
lingua-chinese-language-model = { path = "language-models/zh", version = "1.0.0" }
lingua-croatian-language-model = { path = "language-models/hr", version = "1.0.0" }
lingua-czech-language-model = { path = "language-models/cs", version = "1.0.0" }
lingua-danish-language-model = { path = "language-models/da", version = "1.0.0" }
lingua-dutch-language-model = { path = "language-models/nl", version = "1.0.0" }
lingua-english-language-model = { path = "language-models/en", version = "1.0.0" }
lingua-esperanto-language-model = { path = "language-models/eo", version = "1.0.0" }
lingua-estonian-language-model = { path = "language-models/et", version = "1.0.0" }
lingua-finnish-language-model = { path = "language-models/fi", version = "1.0.0" }
lingua-french-language-model = { path = "language-models/fr", version = "1.0.0" }
lingua-ganda-language-model = { path = "language-models/lg", version = "1.0.0" }
lingua-georgian-language-model = { path = "language-models/ka", version = "1.0.0" }
lingua-german-language-model = { path = "language-models/de", version = "1.0.0" }
lingua-greek-language-model = { path = "language-models/el", version = "1.0.0" }
lingua-gujarati-language-model = { path = "language-models/gu", version = "1.0.0" }
lingua-hebrew-language-model = { path = "language-models/he", version = "1.0.0" }
lingua-hindi-language-model = { path = "language-models/hi", version = "1.0.0" }
lingua-hungarian-language-model = { path = "language-models/hu", version = "1.0.0" }
lingua-icelandic-language-model = { path = "language-models/is", version = "1.0.0" }
lingua-indonesian-language-model = { path = "language-models/id", version = "1.0.0" }
lingua-irish-language-model = { path = "language-models/ga", version = "1.0.0" }
lingua-italian-language-model = { path = "language-models/it", version = "1.0.0" }
lingua-japanese-language-model = { path = "language-models/ja", version = "1.0.0" }
lingua-kazakh-language-model = { path = "language-models/kk", version = "1.0.0" }
lingua-korean-language-model = { path = "language-models/ko", version = "1.0.0" }
lingua-latin-language-model = { path = "language-models/la", version = "1.0.0" }
lingua-latvian-language-model = { path = "language-models/lv", version = "1.0.0" }
lingua-lithuanian-language-model = { path = "language-models/lt", version = "1.0.0" }
lingua-macedonian-language-model = { path = "language-models/mk", version = "1.0.0" }
lingua-malay-language-model = { path = "language-models/ms", version = "1.0.0" }
lingua-maori-language-model = { path = "language-models/mi", version = "1.0.0" }
lingua-marathi-language-model = { path = "language-models/mr", version = "1.0.0" }
lingua-mongolian-language-model = { path = "language-models/mn", version = "1.0.0" }
lingua-nynorsk-language-model = { path = "language-models/nn", version = "1.0.0" }
lingua-persian-language-model = { path = "language-models/fa", version = "1.0.0" }
lingua-polish-language-model = { path = "language-models/pl", version = "1.0.0" }
lingua-portuguese-language-model = { path = "language-models/pt", version = "1.0.0" }
lingua-punjabi-language-model = { path = "language-models/pa", version = "1.0.0" }
lingua-romanian-language-model = { path = "language-models/ro", version = "1.0.0" }
lingua-russian-language-model = { path = "language-models/ru", version = "1.0.0" }
lingua-serbian-language-model = { path = "language-models/sr", version = "1.0.0" }
lingua-shona-language-model = { path = "language-models/sn", version = "1.0.0" }
lingua-slovak-language-model = { path = "language-models/sk", version = "1.0.0" }
lingua-slovene-language-model = { path = "language-models/sl", version = "1.0.0" }
lingua-somali-language-model = { path = "language-models/so", version = "1.0.0" }
lingua-sotho-language-model = { path = "language-models/st", version = "1.0.0" }
lingua-spanish-language-model = { path = "language-models/es", version = "1.0.0" }
lingua-swahili-language-model = { path = "language-models/sw", version = "1.0.0" }
lingua-swedish-language-model = { path = "language-models/sv", version = "1.0.0" }
lingua-tagalog-language-model = { path = "language-models/tl", version = "1.0.0" }
lingua-tamil-language-model = { path = "language-models/ta", version = "1.0.0" }
lingua-telugu-language-model = { path = "language-models/te", version = "1.0.0" }
lingua-thai-language-model = { path = "language-models/th", version = "1.0.0" }
lingua-tsonga-language-model = { path = "language-models/ts", version = "1.0.0" }
lingua-tswana-language-model = { path = "language-models/tn", version = "1.0.0" }
lingua-turkish-language-model = { path = "language-models/tr", version = "1.0.0" }
lingua-ukrainian-language-model = { path = "language-models/uk", version = "1.0.0" }
lingua-urdu-language-model = { path = "language-models/ur", version = "1.0.0" }
lingua-vietnamese-language-model = { path = "language-models/vi", version = "1.0.0" }
lingua-welsh-language-model = { path = "language-models/cy", version = "1.0.0" }
lingua-xhosa-language-model = { path = "language-models/xh", version = "1.0.0" }
lingua-yoruba-language-model = { path = "language-models/yo", version = "1.0.0" }
lingua-zulu-language-model = { path = "language-models/zu", version = "1.0.0" }
[dev-dependencies]
cld2 = "1.0.2"
float-cmp = "0.8.0"
indoc = "1.0.3"
mockall = "0.9.1"
rstest = "0.7.0"
tempfile = "3.2.0"
titlecase = "1.1.0"
whatlang = "0.11.1"