-
Notifications
You must be signed in to change notification settings - Fork 45
/
pyproject.toml
141 lines (134 loc) · 4.71 KB
/
pyproject.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
138
139
140
141
#
# Copyright © 2022-present Peter M. Stahl [email protected]
#
# 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.
[tool.poetry]
name = "lingua-language-detector"
version = "2.0.2"
description = "An accurate natural language detection library, suitable for long and short text alike"
authors = ["Peter M. Stahl <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://pemistahl.github.io/lingua-py"
repository = "https://github.com/pemistahl/lingua-py"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Afrikaans",
"Natural Language :: Arabic",
"Natural Language :: Basque",
"Natural Language :: Bengali",
"Natural Language :: Bosnian",
"Natural Language :: Bulgarian",
"Natural Language :: Catalan",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: Chinese (Traditional)",
"Natural Language :: Croatian",
"Natural Language :: Czech",
"Natural Language :: Danish",
"Natural Language :: Dutch",
"Natural Language :: English",
"Natural Language :: Esperanto",
"Natural Language :: Finnish",
"Natural Language :: French",
"Natural Language :: German",
"Natural Language :: Greek",
"Natural Language :: Hebrew",
"Natural Language :: Hindi",
"Natural Language :: Hungarian",
"Natural Language :: Icelandic",
"Natural Language :: Indonesian",
"Natural Language :: Irish",
"Natural Language :: Italian",
"Natural Language :: Japanese",
"Natural Language :: Korean",
"Natural Language :: Latin",
"Natural Language :: Latvian",
"Natural Language :: Lithuanian",
"Natural Language :: Macedonian",
"Natural Language :: Malay",
"Natural Language :: Marathi",
"Natural Language :: Norwegian",
"Natural Language :: Panjabi",
"Natural Language :: Persian",
"Natural Language :: Polish",
"Natural Language :: Portuguese",
"Natural Language :: Romanian",
"Natural Language :: Russian",
"Natural Language :: Serbian",
"Natural Language :: Slovak",
"Natural Language :: Slovenian",
"Natural Language :: Spanish",
"Natural Language :: Swedish",
"Natural Language :: Tamil",
"Natural Language :: Telugu",
"Natural Language :: Thai",
"Natural Language :: Turkish",
"Natural Language :: Ukrainian",
"Natural Language :: Urdu",
"Natural Language :: Vietnamese",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
[tool.poetry.group.dev.dependencies]
mypy = "^1.9.0"
black = "^24.2.0"
[tool.poetry.group.script.dependencies]
# https://github.com/facebookresearch/fastText/pull/1292
fasttext = {git = "https://github.com/cfculhane/fastText.git"}
cyhunspell = {git = "https://github.com/MSeal/cython_hunspell", tag = "2.0.3"}
fastspell = "^0.11"
langdetect = "^1.0.9"
langid = "^1.1.6"
gcld3 = "^3.0.13"
numpy = [
{version = "^1.24.4,<1.25", python = ">=3.8,<3.9"},
{version = "^1.26.2", python = ">=3.9,<3.13"}
]
pycld2 = "^0.41"
pandas = [
{version = "^2.0.3,<2.1", python = ">=3.8,<3.9"},
{version = "^2.1.3", python = ">=3.9,<3.13"}
]
simplemma = "^0.9.1"
matplotlib = [
{version = "^3.7.3,<3.8", python = ">=3.8,<3.9"},
{version = "^3.8.1", python = ">=3.9,<3.13"}
]
seaborn = "^0.13.2"
psutil = "^5.9.8"
[tool.mypy]
files = ["scripts"]
ignore_missing_imports = true
pretty = true
[tool.black]
include = 'scripts/.*\.py'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"