error-align 0.1.0b1__tar.gz → 0.1.0b2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {error_align-0.1.0b1 → error_align-0.1.0b2}/PKG-INFO +43 -40
- {error_align-0.1.0b1 → error_align-0.1.0b2}/README.md +22 -21
- error_align-0.1.0b2/pyproject.toml +97 -0
- error_align-0.1.0b1/pyproject.toml +0 -95
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/__init__.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/backtrace_graph.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/__init__.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/optimal_word_alignment.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/__init__.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/contractions.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/normalize.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/numbers.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/__init__.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/aligner.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/levenshtein.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/phonemes.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/pronounce.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/punct.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/readers.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/writers.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power_alignment.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/rapidfuzz_word_alignment.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/utils.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/edit_distance.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/error_align.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/func.py +0 -0
- {error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/utils.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: error-align
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0b2
|
|
4
4
|
Summary: Text-to-text alignment algorithm for speech recognition error analysis.
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: speech-recognition,text-alignment,NLP,evaluation
|
|
7
7
|
Author: Lasse Borgholt
|
|
8
8
|
Author-email: lb@corti.ai
|
|
9
|
-
Requires-Python: >=3.11,<3.
|
|
9
|
+
Requires-Python: >=3.11,<3.14
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Intended Audience :: Science/Research
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -14,40 +14,43 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
18
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
19
|
Classifier: Topic :: Software Development :: Libraries
|
|
19
20
|
Classifier: Topic :: Text Processing :: Linguistic
|
|
20
21
|
Provides-Extra: evaluation
|
|
21
|
-
Requires-Dist: backoff (>=2.2.1,<3.0.0) ; extra == "evaluation"
|
|
22
|
-
Requires-Dist: click (>=8.2.1,<9.0.0) ; extra == "evaluation"
|
|
23
|
-
Requires-Dist: datasets (>=3.3.2,<4.0.0) ; extra == "evaluation"
|
|
24
|
-
Requires-Dist: gitpython (>=3.1.45,<4.0.0) ; extra == "evaluation"
|
|
25
|
-
Requires-Dist: librosa (>=0.11.0,<0.12.0) ; extra == "evaluation"
|
|
26
|
-
Requires-Dist: matplotlib (>=3.10.6,<4.0.0) ; extra == "evaluation"
|
|
27
|
-
Requires-Dist: nemo-toolkit[all] (>=2.4.0,<3.0.0) ; extra == "evaluation"
|
|
28
|
-
Requires-Dist: num2words (>=0.5.14,<0.6.0) ; extra == "evaluation"
|
|
29
|
-
Requires-Dist: numpy (>=1.22,<2.0) ; extra == "evaluation"
|
|
30
|
-
Requires-Dist: pandas (>=2.3.1,<3.0.0) ; extra == "evaluation"
|
|
31
|
-
Requires-Dist: pyphen (>=0.17.2,<0.18.0) ; extra == "evaluation"
|
|
32
|
-
Requires-Dist: rapidfuzz (>=3.13.0,<4.0.0) ; extra == "evaluation"
|
|
33
|
-
Requires-Dist: regex (>=
|
|
34
|
-
Requires-Dist: scipy (>=1.16.1,<2.0.0) ; extra == "evaluation"
|
|
35
|
-
Requires-Dist: soundfile (>=0.13.1,<0.14.0) ; extra == "evaluation"
|
|
36
|
-
Requires-Dist: textgrid (>=1.6.1,<2.0.0) ; extra == "evaluation"
|
|
22
|
+
Requires-Dist: backoff (>=2.2.1,<3.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
23
|
+
Requires-Dist: click (>=8.2.1,<9.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
24
|
+
Requires-Dist: datasets (>=3.3.2,<4.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
25
|
+
Requires-Dist: gitpython (>=3.1.45,<4.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
26
|
+
Requires-Dist: librosa (>=0.11.0,<0.12.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
27
|
+
Requires-Dist: matplotlib (>=3.10.6,<4.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
28
|
+
Requires-Dist: nemo-toolkit[all] (>=2.4.0,<3.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
29
|
+
Requires-Dist: num2words (>=0.5.14,<0.6.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
30
|
+
Requires-Dist: numpy (>=1.22,<2.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
31
|
+
Requires-Dist: pandas (>=2.3.1,<3.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
32
|
+
Requires-Dist: pyphen (>=0.17.2,<0.18.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
33
|
+
Requires-Dist: rapidfuzz (>=3.13.0,<4.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
34
|
+
Requires-Dist: regex (>=2025.9.18,<2026.0.0)
|
|
35
|
+
Requires-Dist: scipy (>=1.16.1,<2.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
36
|
+
Requires-Dist: soundfile (>=0.13.1,<0.14.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
37
|
+
Requires-Dist: textgrid (>=1.6.1,<2.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
37
38
|
Requires-Dist: tqdm (>=4.67.1,<5.0.0)
|
|
38
|
-
Requires-Dist: transformers (>=4.51.3,<5.0.0) ; extra == "evaluation"
|
|
39
|
+
Requires-Dist: transformers (>=4.51.3,<5.0.0) ; (python_version == "3.12") and (extra == "evaluation")
|
|
39
40
|
Requires-Dist: unidecode (>=1.4.0,<2.0.0)
|
|
41
|
+
Project-URL: Homepage, https://github.com/corticph/error-align
|
|
40
42
|
Description-Content-Type: text/markdown
|
|
41
43
|
|
|
42
44
|
<p align="center">
|
|
43
|
-
<img src="https://raw.githubusercontent.com/
|
|
45
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/logo.svg" alt="ErrorAlign Logo" width="85%"/>
|
|
44
46
|
</p>
|
|
45
47
|
|
|
46
48
|
<p align="center">
|
|
47
|
-
<img src="https://img.shields.io/badge/python-%203.11%20|%203.12-green" alt="Python Versions">
|
|
48
|
-
<img src="https://img.shields.io/codecov/c/github/
|
|
49
|
-
<img src="https://github.com/
|
|
50
|
-
<img src="https://img.shields.io/
|
|
49
|
+
<img src="https://img.shields.io/badge/python-%203.11%20|%203.12%20|%203.13-green" alt="Python Versions">
|
|
50
|
+
<img src="https://img.shields.io/codecov/c/github/corticph/error-align/main.svg?style=flat-square" alt="Coverage" style="margin-left:5px;">
|
|
51
|
+
<img src="https://github.com/corticph/error-align/actions/workflows/lint.yml/badge.svg?branch=main" alt="Linting" style="margin-left:5px;">
|
|
52
|
+
<img src="https://img.shields.io/pypi/v/error-align.svg" alt="PyPI" style="margin-left:5px;">
|
|
53
|
+
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License" style="margin-left:5px;">
|
|
51
54
|
</p>
|
|
52
55
|
|
|
53
56
|
<br/>
|
|
@@ -106,19 +109,19 @@ Alignment(INSERT: "period")
|
|
|
106
109
|
## Citation and Research
|
|
107
110
|
|
|
108
111
|
```
|
|
109
|
-
@article{
|
|
112
|
+
@article{corticph2021alignment,
|
|
110
113
|
title={A Text-To-Text Alignment Algorithm for Better Evaluation of Modern Speech Recognition Systems},
|
|
111
|
-
author={
|
|
114
|
+
author={corticph, Lasse and Havtorn, Jakob and Igel, Christian and Maal{\o}e, Lars and Tan, Zheng-Hua},
|
|
112
115
|
journal={arXiv preprint arXiv:2509.24478},
|
|
113
116
|
year={2025}
|
|
114
117
|
}
|
|
115
118
|
```
|
|
116
119
|
|
|
117
120
|
__To reproduce results from the paper:__
|
|
118
|
-
- Install with extra evaluation dependencies:
|
|
121
|
+
- Install with extra evaluation dependencies - only supported with Python 3.12:
|
|
119
122
|
- `pip install error-align[evaluation]`
|
|
120
123
|
- Clone this repository:
|
|
121
|
-
- `git clone https://github.com/
|
|
124
|
+
- `git clone https://github.com/corticph/error-align.git`
|
|
122
125
|
- Navigate to the evaluation directory:
|
|
123
126
|
- `cd error-align/evaluation`
|
|
124
127
|
- Transcribe a dataset for evaluation. For example:
|
|
@@ -137,23 +140,23 @@ __Collaborators:__
|
|
|
137
140
|
|
|
138
141
|
<div>
|
|
139
142
|
<a href="https://corti.ai">
|
|
140
|
-
<img src="https://raw.githubusercontent.com/
|
|
143
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/corti.png" alt="Corti" height="75">
|
|
141
144
|
</a>
|
|
142
|
-
<img src="https://raw.githubusercontent.com/
|
|
143
|
-
<a href="https://raw.githubusercontent.com/
|
|
144
|
-
<img src="https://raw.githubusercontent.com/
|
|
145
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
146
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/aau.png">
|
|
147
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/aau.png" alt="Aalborg University" height="75">
|
|
145
148
|
</a>
|
|
146
|
-
<img src="https://raw.githubusercontent.com/
|
|
147
|
-
<a href="https://raw.githubusercontent.com/
|
|
148
|
-
<img src="https://raw.githubusercontent.com/
|
|
149
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
150
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/pcai.png">
|
|
151
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/pcai.png" alt="Pioneer Centre for Artificial Intelligence" height="75">
|
|
149
152
|
</a>
|
|
150
|
-
<img src="https://raw.githubusercontent.com/
|
|
151
|
-
<a href="https://raw.githubusercontent.com/
|
|
152
|
-
<img src="https://raw.githubusercontent.com/
|
|
153
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
154
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/dtu.png">
|
|
155
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/dtu.png" alt="Technical University of Denmark" height="75">
|
|
153
156
|
</a>
|
|
154
|
-
<img src="https://raw.githubusercontent.com/
|
|
157
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
155
158
|
<a href="https://www.ku.dk/">
|
|
156
|
-
<img src="https://raw.githubusercontent.com/
|
|
159
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/ucph.png" alt="University of Copenhagen" height="75">
|
|
157
160
|
</a>
|
|
158
161
|
</div>
|
|
159
162
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/logo.svg" alt="ErrorAlign Logo" width="85%"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<img src="https://img.shields.io/badge/python-%203.11%20|%203.12-green" alt="Python Versions">
|
|
7
|
-
<img src="https://img.shields.io/codecov/c/github/
|
|
8
|
-
<img src="https://github.com/
|
|
9
|
-
<img src="https://img.shields.io/
|
|
6
|
+
<img src="https://img.shields.io/badge/python-%203.11%20|%203.12%20|%203.13-green" alt="Python Versions">
|
|
7
|
+
<img src="https://img.shields.io/codecov/c/github/corticph/error-align/main.svg?style=flat-square" alt="Coverage" style="margin-left:5px;">
|
|
8
|
+
<img src="https://github.com/corticph/error-align/actions/workflows/lint.yml/badge.svg?branch=main" alt="Linting" style="margin-left:5px;">
|
|
9
|
+
<img src="https://img.shields.io/pypi/v/error-align.svg" alt="PyPI" style="margin-left:5px;">
|
|
10
|
+
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License" style="margin-left:5px;">
|
|
10
11
|
</p>
|
|
11
12
|
|
|
12
13
|
<br/>
|
|
@@ -65,19 +66,19 @@ Alignment(INSERT: "period")
|
|
|
65
66
|
## Citation and Research
|
|
66
67
|
|
|
67
68
|
```
|
|
68
|
-
@article{
|
|
69
|
+
@article{corticph2021alignment,
|
|
69
70
|
title={A Text-To-Text Alignment Algorithm for Better Evaluation of Modern Speech Recognition Systems},
|
|
70
|
-
author={
|
|
71
|
+
author={corticph, Lasse and Havtorn, Jakob and Igel, Christian and Maal{\o}e, Lars and Tan, Zheng-Hua},
|
|
71
72
|
journal={arXiv preprint arXiv:2509.24478},
|
|
72
73
|
year={2025}
|
|
73
74
|
}
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
__To reproduce results from the paper:__
|
|
77
|
-
- Install with extra evaluation dependencies:
|
|
78
|
+
- Install with extra evaluation dependencies - only supported with Python 3.12:
|
|
78
79
|
- `pip install error-align[evaluation]`
|
|
79
80
|
- Clone this repository:
|
|
80
|
-
- `git clone https://github.com/
|
|
81
|
+
- `git clone https://github.com/corticph/error-align.git`
|
|
81
82
|
- Navigate to the evaluation directory:
|
|
82
83
|
- `cd error-align/evaluation`
|
|
83
84
|
- Transcribe a dataset for evaluation. For example:
|
|
@@ -96,23 +97,23 @@ __Collaborators:__
|
|
|
96
97
|
|
|
97
98
|
<div>
|
|
98
99
|
<a href="https://corti.ai">
|
|
99
|
-
<img src="https://raw.githubusercontent.com/
|
|
100
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/corti.png" alt="Corti" height="75">
|
|
100
101
|
</a>
|
|
101
|
-
<img src="https://raw.githubusercontent.com/
|
|
102
|
-
<a href="https://raw.githubusercontent.com/
|
|
103
|
-
<img src="https://raw.githubusercontent.com/
|
|
102
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
103
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/aau.png">
|
|
104
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/aau.png" alt="Aalborg University" height="75">
|
|
104
105
|
</a>
|
|
105
|
-
<img src="https://raw.githubusercontent.com/
|
|
106
|
-
<a href="https://raw.githubusercontent.com/
|
|
107
|
-
<img src="https://raw.githubusercontent.com/
|
|
106
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
107
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/pcai.png">
|
|
108
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/pcai.png" alt="Pioneer Centre for Artificial Intelligence" height="75">
|
|
108
109
|
</a>
|
|
109
|
-
<img src="https://raw.githubusercontent.com/
|
|
110
|
-
<a href="https://raw.githubusercontent.com/
|
|
111
|
-
<img src="https://raw.githubusercontent.com/
|
|
110
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
111
|
+
<a href="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/dtu.png">
|
|
112
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/dtu.png" alt="Technical University of Denmark" height="75">
|
|
112
113
|
</a>
|
|
113
|
-
<img src="https://raw.githubusercontent.com/
|
|
114
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/empty.png" alt="" width="30">
|
|
114
115
|
<a href="https://www.ku.dk/">
|
|
115
|
-
<img src="https://raw.githubusercontent.com/
|
|
116
|
+
<img src="https://raw.githubusercontent.com/corticph/error-align/refs/heads/main/.github/assets/ucph.png" alt="University of Copenhagen" height="75">
|
|
116
117
|
</a>
|
|
117
118
|
</div>
|
|
118
119
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "error-align"
|
|
3
|
+
version = "0.1.0b2"
|
|
4
|
+
description = "Text-to-text alignment algorithm for speech recognition error analysis."
|
|
5
|
+
authors = ["Lasse Borgholt <lb@corti.ai>"]
|
|
6
|
+
license = "MIT"
|
|
7
|
+
urls = { "Homepage" = "https://github.com/corticph/error-align" }
|
|
8
|
+
keywords = ["speech-recognition", "text-alignment", "NLP", "evaluation"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Programming Language :: Python :: 3",
|
|
11
|
+
"Programming Language :: Python :: 3.11",
|
|
12
|
+
"Programming Language :: Python :: 3.12",
|
|
13
|
+
"Programming Language :: Python :: 3.13",
|
|
14
|
+
"License :: OSI Approved :: MIT License",
|
|
15
|
+
"Operating System :: OS Independent",
|
|
16
|
+
"Topic :: Software Development :: Libraries",
|
|
17
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
18
|
+
"Topic :: Text Processing :: Linguistic",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Intended Audience :: Science/Research",
|
|
21
|
+
]
|
|
22
|
+
readme = "README.md"
|
|
23
|
+
|
|
24
|
+
packages = [
|
|
25
|
+
{ include = 'error_align', from = 'src' },
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[tool.poetry.dependencies]
|
|
29
|
+
|
|
30
|
+
# Core dependencies
|
|
31
|
+
python = ">=3.11,<3.14"
|
|
32
|
+
tqdm = "^4.67.1"
|
|
33
|
+
unidecode = "^1.4.0"
|
|
34
|
+
regex = "^2025.9.18"
|
|
35
|
+
|
|
36
|
+
# Extra dependencies (only valid on Python 3.12)
|
|
37
|
+
rapidfuzz = { version = "^3.13.0", optional = true, markers = "python_version == '3.12'" }
|
|
38
|
+
num2words = { version = "^0.5.14", optional = true, markers = "python_version == '3.12'" }
|
|
39
|
+
datasets = { version = "^3.3.2", optional = true, markers = "python_version == '3.12'" }
|
|
40
|
+
soundfile = { version = "^0.13.1", optional = true, markers = "python_version == '3.12'" }
|
|
41
|
+
librosa = { version = "^0.11.0", optional = true, markers = "python_version == '3.12'" }
|
|
42
|
+
click = { version = "^8.2.1", optional = true, markers = "python_version == '3.12'" }
|
|
43
|
+
pandas = { version = "^2.3.1", optional = true, markers = "python_version == '3.12'" }
|
|
44
|
+
scipy = { version = "^1.16.1", optional = true, markers = "python_version == '3.12'" }
|
|
45
|
+
textgrid = { version = "^1.6.1", optional = true, markers = "python_version == '3.12'" }
|
|
46
|
+
nemo-toolkit = { extras = ["all"], version = "^2.4.0", optional = true, markers = "python_version == '3.12'" }
|
|
47
|
+
transformers = { version = "^4.51.3", optional = true, markers = "python_version == '3.12'" }
|
|
48
|
+
backoff = { version = "^2.2.1", optional = true, markers = "python_version == '3.12'" }
|
|
49
|
+
gitpython = { version = "^3.1.45", optional = true, markers = "python_version == '3.12'" }
|
|
50
|
+
pyphen = { version = "^0.17.2", optional = true, markers = "python_version == '3.12'" }
|
|
51
|
+
matplotlib = { version = "^3.10.6", optional = true, markers = "python_version == '3.12'" }
|
|
52
|
+
numpy = { version = ">=1.22,<2.0", optional = true, markers = "python_version == '3.12'" }
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
[tool.poetry.group.dev]
|
|
56
|
+
optional = true
|
|
57
|
+
|
|
58
|
+
[tool.poetry.group.dev.dependencies]
|
|
59
|
+
ruff = ">=0.1,<0.13"
|
|
60
|
+
pre-commit = "^4.2.0"
|
|
61
|
+
build = "^1.3.0"
|
|
62
|
+
twine = "^6.2.0"
|
|
63
|
+
ipython = "^9.6.0"
|
|
64
|
+
|
|
65
|
+
[tool.poetry.group.test]
|
|
66
|
+
optional = true
|
|
67
|
+
|
|
68
|
+
[tool.poetry.group.test.dependencies]
|
|
69
|
+
pytest = ">=7.4.3,<9.0.0"
|
|
70
|
+
pytest-cov = "^6.1.1"
|
|
71
|
+
typeguard = "^4.4.4"
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
[tool.poetry.extras]
|
|
75
|
+
evaluation = [
|
|
76
|
+
"rapidfuzz",
|
|
77
|
+
"num2words",
|
|
78
|
+
"datasets",
|
|
79
|
+
"soundfile",
|
|
80
|
+
"librosa",
|
|
81
|
+
"click",
|
|
82
|
+
"pandas",
|
|
83
|
+
"scipy",
|
|
84
|
+
"textgrid",
|
|
85
|
+
"nemo-toolkit",
|
|
86
|
+
"transformers",
|
|
87
|
+
"backoff",
|
|
88
|
+
"gitpython",
|
|
89
|
+
"pyphen",
|
|
90
|
+
"matplotlib",
|
|
91
|
+
"numpy",
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
[build-system]
|
|
96
|
+
requires = ["poetry-core"]
|
|
97
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "error-align"
|
|
3
|
-
version = "0.1.0b1"
|
|
4
|
-
description = "Text-to-text alignment algorithm for speech recognition error analysis."
|
|
5
|
-
authors = ["Lasse Borgholt <lb@corti.ai>"]
|
|
6
|
-
license = "MIT"
|
|
7
|
-
keywords = ["speech-recognition", "text-alignment", "NLP", "evaluation"]
|
|
8
|
-
classifiers = [
|
|
9
|
-
"Programming Language :: Python :: 3",
|
|
10
|
-
"Programming Language :: Python :: 3.11",
|
|
11
|
-
"Programming Language :: Python :: 3.12",
|
|
12
|
-
"License :: OSI Approved :: MIT License",
|
|
13
|
-
"Operating System :: OS Independent",
|
|
14
|
-
"Topic :: Software Development :: Libraries",
|
|
15
|
-
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
16
|
-
"Topic :: Text Processing :: Linguistic",
|
|
17
|
-
"Intended Audience :: Developers",
|
|
18
|
-
"Intended Audience :: Science/Research",
|
|
19
|
-
]
|
|
20
|
-
readme = "README.md"
|
|
21
|
-
|
|
22
|
-
packages = [
|
|
23
|
-
{ include = 'error_align', from = 'src' },
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
[tool.poetry.dependencies]
|
|
27
|
-
|
|
28
|
-
# Core dependencies
|
|
29
|
-
python = ">=3.11,<3.13"
|
|
30
|
-
regex = "^2024.11.6"
|
|
31
|
-
tqdm = "^4.67.1"
|
|
32
|
-
unidecode = "^1.4.0"
|
|
33
|
-
|
|
34
|
-
# Extra dependencies
|
|
35
|
-
rapidfuzz = { version = "^3.13.0", optional = true }
|
|
36
|
-
num2words = { version = "^0.5.14", optional = true }
|
|
37
|
-
datasets = { version = "^3.3.2", optional = true }
|
|
38
|
-
soundfile = { version = "^0.13.1", optional = true }
|
|
39
|
-
librosa = { version = "^0.11.0", optional = true }
|
|
40
|
-
click = { version = "^8.2.1", optional = true }
|
|
41
|
-
pandas = { version = "^2.3.1", optional = true }
|
|
42
|
-
scipy = { version = "^1.16.1", optional = true }
|
|
43
|
-
textgrid = { version = "^1.6.1", optional = true }
|
|
44
|
-
nemo-toolkit = {extras = ["all"], version = "^2.4.0", optional = true}
|
|
45
|
-
transformers = { version = "^4.51.3", optional = true }
|
|
46
|
-
backoff = { version = "^2.2.1", optional = true }
|
|
47
|
-
gitpython = { version = "^3.1.45", optional = true }
|
|
48
|
-
pyphen = { version = "^0.17.2", optional = true }
|
|
49
|
-
matplotlib = { version = "^3.10.6", optional = true }
|
|
50
|
-
numpy = { version = ">=1.22,<2.0", optional = true }
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
[tool.poetry.group.dev]
|
|
54
|
-
optional = true
|
|
55
|
-
|
|
56
|
-
[tool.poetry.group.dev.dependencies]
|
|
57
|
-
ipython = "9.3.0"
|
|
58
|
-
ruff = ">=0.1,<0.13"
|
|
59
|
-
pre-commit = "^4.2.0"
|
|
60
|
-
build = "^1.3.0"
|
|
61
|
-
twine = "^6.2.0"
|
|
62
|
-
|
|
63
|
-
[tool.poetry.group.test]
|
|
64
|
-
optional = true
|
|
65
|
-
|
|
66
|
-
[tool.poetry.group.test.dependencies]
|
|
67
|
-
pytest = ">=7.4.3,<9.0.0"
|
|
68
|
-
pytest-cov = "^6.1.1"
|
|
69
|
-
typeguard = "^4.4.4"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
[tool.poetry.extras]
|
|
73
|
-
evaluation = [
|
|
74
|
-
"rapidfuzz",
|
|
75
|
-
"num2words",
|
|
76
|
-
"datasets",
|
|
77
|
-
"soundfile",
|
|
78
|
-
"librosa",
|
|
79
|
-
"click",
|
|
80
|
-
"pandas",
|
|
81
|
-
"scipy",
|
|
82
|
-
"textgrid",
|
|
83
|
-
"nemo-toolkit",
|
|
84
|
-
"transformers",
|
|
85
|
-
"backoff",
|
|
86
|
-
"gitpython",
|
|
87
|
-
"pyphen",
|
|
88
|
-
"matplotlib",
|
|
89
|
-
"numpy",
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
[build-system]
|
|
94
|
-
requires = ["poetry-core"]
|
|
95
|
-
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/optimal_word_alignment.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/normalize.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/normalize/numbers.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/__init__.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/aligner.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/levenshtein.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/phonemes.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/pronounce.py
RENAMED
|
File without changes
|
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/readers.py
RENAMED
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/power/power/writers.py
RENAMED
|
File without changes
|
|
File without changes
|
{error_align-0.1.0b1 → error_align-0.1.0b2}/src/error_align/baselines/rapidfuzz_word_alignment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|