-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.72 KB
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
[tool.poetry]
authors = ["Johannes Filter <hi@jfilter.de>"]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
]
description = "Functions to preprocess and normalize text."
keywords = ["natural-language-processing", "text-cleaning", "text-preprocessing", "text-normalization", "user-generated-content"]
license = "Apache-2.0"
name = "clean-text"
packages = [
{include = "cleantext"},
]
readme = "README.md"
version = "0.7.1"
[tool.poetry.dependencies]
emoji = ">=2.1.0"
ftfy = {version = "^6.0"}
pandas = {version = ">=1.0.0,<3.0.0", optional = true}
python = ">=3.9"
scikit-learn = {version = ">=1.5.0", optional = true}
unidecode = {version = "^1.1.1", optional = true}
scipy = [
{version = ">=1.13.0,<1.14", python = ">=3.9,<3.10", optional = true},
{version = ">=1.14.0", python = ">=3.10", optional = true},
]
[tool.poetry.group.dev.dependencies]
pandas = "*"
pre-commit = "*"
pytest = "*"
ruff = "*"
scikit-learn = "*"
scipy = [
{version = ">=1.13.0,<1.14", python = ">=3.9,<3.10"},
{version = ">=1.14.0", python = ">=3.10"},
]
unidecode = "*"
[tool.poetry.extras]
gpl = ["unidecode"]
sklearn = ["pandas", "scikit-learn", "scipy"]
[tool.ruff]
target-version = "py39"
line-length = 119
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
[tool.ruff.lint.per-file-ignores]
"cleantext/__init__.py" = ["F403"]
"cleantext/constants.py" = ["E501"]
"cleantext/specials.py" = ["E501"]
"tests/*" = ["E501"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]