forked from pemistahl/lingua-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
144 lines (134 loc) · 4.56 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
142
143
144
#
# 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 = "1.3.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"
packages = [
{ include = "lingua" }
]
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",
"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"
numpy = "^1.24.1"
regex = "^2022.10.31"
[tool.poetry.group.dev.dependencies]
mypy = "^0.991"
pytest = "^7.2.1"
black = "^22.12.0"
coverage = "^7.1.0"
[tool.poetry.group.misc.dependencies]
scalene = "^1.5.19"
pdoc = "^12.3.1"
[tool.poetry.group.script.dependencies]
# https://github.com/facebookresearch/fastText/pull/1292
fasttext = {git = "https://github.com/cfculhane/fastText.git"}
langdetect = "^1.0.9"
langid = "^1.1.6"
gcld3 = "^3.0.13"
pycld2 = "^0.41"
pandas = "^1.5.3"
simplemma = "^0.9.1"
matplotlib = "^3.6.3"
seaborn = "^0.12.2"
psutil = "^5.9.4"
[tool.mypy]
files = ["lingua", "scripts", "tests"]
ignore_missing_imports = true
pretty = true
[tool.pytest.ini_options]
addopts = "--doctest-modules --ignore=scripts"
[tool.coverage.run]
source = ["lingua"]
[tool.black]
include = '(lingua|scripts|tests)/.*\.py'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"