-
Notifications
You must be signed in to change notification settings - Fork 73
/
pyproject.toml
77 lines (69 loc) · 2.6 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
[tool.poetry]
name = "skweak"
version = "0.3.3"
description = "Software toolkit for weak supervision in NLP"
authors = ["Perre Lison <[email protected]>"]
maintainers = ["Perre Lison <[email protected]>"]
keywords = ["weak supervision", "sklearn", "scikit-learn", "nlp", "text processing", "language processing",
"text mining", "text classification", "token classification", "ner", "named entity recognition", "hmm", "spacy"]
repository = "https://github.com/NorskRegnesentral/skweak"
license = "MIT"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Text Processing",
"Topic :: Text Processing :: Linguistic",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
]
packages = [{ include = "skweak" }]
[tool.poetry.dependencies]
python = ">=3.7.4,<3.12"
spacy = "^3.0"
hmmlearn = "~0.3.0"
scipy = "^1.5.4"
pandas = ">=0.23,<3.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
spacy = "~3.6.1"
# Fixed spaCy model dependencies
en_core_web_sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl" }
en_core_web_md = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.6.0/en_core_web_md-3.6.0-py3-none-any.whl" }
# Workaround for using up-to-date binary wheels for all Python versions
numpy = [
{ version = "~1.21.1", python = ">=3.7,<3.9" },
{ version = "~1.26", python = ">=3.9,<3.12" }
]
scipy = [
{ version = "~1.7.3", python = ">=3.7,<3.9" },
{ version = "~1.11.2", python = ">=3.9,<3.12" }
]
scikit-learn = [
{ version = "~1.0.2", python = ">=3.7,<3.8" },
{ version = "~1.3.1", python = ">=3.8,<3.12" }
]
pandas = [
{ version = "~1.3.5", python = ">=3.7,<3.9" },
{ version = "~2.1.1", python = ">=3.9,<3.12" }
]
# TODO: Shall we use black?
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-s -v --durations=0"
cache_dir = ".cache/pytest"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"