-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (84 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
97 lines (84 loc) · 3.22 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
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
[tool.poetry]
name = "error-align"
version = "0.1.0b2"
description = "Text-to-text alignment algorithm for speech recognition error analysis."
authors = ["Lasse Borgholt <lb@corti.ai>"]
license = "MIT"
urls = { "Homepage" = "https://github.com/corticph/error-align" }
keywords = ["speech-recognition", "text-alignment", "NLP", "evaluation"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Linguistic",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
]
readme = "README.md"
packages = [
{ include = 'error_align', from = 'src' },
]
[tool.poetry.dependencies]
# Core dependencies
python = ">=3.11,<3.14"
tqdm = "^4.67.1"
unidecode = "^1.4.0"
regex = "^2025.9.18"
# Extra dependencies (only valid on Python 3.12)
rapidfuzz = { version = "^3.13.0", optional = true, markers = "python_version == '3.12'" }
num2words = { version = "^0.5.14", optional = true, markers = "python_version == '3.12'" }
datasets = { version = "^3.3.2", optional = true, markers = "python_version == '3.12'" }
soundfile = { version = "^0.13.1", optional = true, markers = "python_version == '3.12'" }
librosa = { version = "^0.11.0", optional = true, markers = "python_version == '3.12'" }
click = { version = "^8.2.1", optional = true, markers = "python_version == '3.12'" }
pandas = { version = "^2.3.1", optional = true, markers = "python_version == '3.12'" }
scipy = { version = "^1.16.1", optional = true, markers = "python_version == '3.12'" }
textgrid = { version = "^1.6.1", optional = true, markers = "python_version == '3.12'" }
nemo-toolkit = { extras = ["all"], version = "^2.4.0", optional = true, markers = "python_version == '3.12'" }
transformers = { version = "^4.51.3", optional = true, markers = "python_version == '3.12'" }
backoff = { version = "^2.2.1", optional = true, markers = "python_version == '3.12'" }
gitpython = { version = "^3.1.45", optional = true, markers = "python_version == '3.12'" }
pyphen = { version = "^0.17.2", optional = true, markers = "python_version == '3.12'" }
matplotlib = { version = "^3.10.6", optional = true, markers = "python_version == '3.12'" }
numpy = { version = ">=1.22,<2.0", optional = true, markers = "python_version == '3.12'" }
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ruff = ">=0.1,<0.13"
pre-commit = "^4.2.0"
build = "^1.3.0"
twine = "^6.2.0"
ipython = "^9.6.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = ">=7.4.3,<9.0.0"
pytest-cov = "^6.1.1"
typeguard = "^4.4.4"
[tool.poetry.extras]
evaluation = [
"rapidfuzz",
"num2words",
"datasets",
"soundfile",
"librosa",
"click",
"pandas",
"scipy",
"textgrid",
"nemo-toolkit",
"transformers",
"backoff",
"gitpython",
"pyphen",
"matplotlib",
"numpy",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"