Skip to content

Commit d30ad36

Browse files
authored
Merge pull request #92 from pettarin/devel
Added exact version requirements for lxml and bs4
2 parents 212ffad + 67c989e commit d30ad36

20 files changed

+509
-132
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ which explains how to use the built-in command line tools.
228228
* Arbitrary text fragment granularity (single word, subphrase, phrase, paragraph, etc.)
229229
* Input audio file formats: all those readable by `ffmpeg`
230230
* Output sync map formats: AUD, CSV, EAF, JSON, SMIL, SRT, SSV, SUB, TSV, TTML, TXT, VTT, XML
231-
* Tested languages: ARA, BUL, CAT, CYM, CES, DAN, DEU, ELL, ENG, EPO, EST, FAS, FIN, FRA, GLE, GRC, HRV, HUN, ISL, ITA, JPN, LAT, LAV, LIT, NLD, NOR, RON, RUS, POL, POR, SLK, SPA, SRP, SWA, SWE, TUR, UKR
231+
* Confirmed working on languages: ARA, BUL, CAT, CYM, CES, DAN, DEU, ELL, ENG, EPO, EST, FAS, FIN, FRA, GLE, GRC, HRV, HUN, ISL, ITA, JPN, LAT, LAV, LIT, NLD, NOR, RON, RUS, POL, POR, SLK, SPA, SRP, SWA, SWE, TUR, UKR
232232
* MFCC and DTW computed via Python C extensions to reduce the processing time
233233
* Several built-in TTS engine wrappers: eSpeak (default, FLOSS), Festival (FLOSS), Nuance TTS API (commercial)
234234
* Default TTS (eSpeak) called via a Python C extension for fast audio synthesis
@@ -242,6 +242,7 @@ which explains how to use the built-in command line tools.
242242
* Output an HTML file for fine tuning the sync map manually (`finetuneas` project)
243243
* Execution parameters tunable at runtime
244244
* Code suitable for Web app deployment (e.g., on-demand cloud computing)
245+
* Extensive test suite including 898 unit/integration/performance tests, that run and must pass before each release
245246
246247
247248
## Limitations and Missing Features

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,10 @@ Supported Features
235235
- Input audio file formats: all those readable by ``ffmpeg``
236236
- Output sync map formats: AUD, CSV, EAF, JSON, SMIL, SRT, SSV, SUB,
237237
TSV, TTML, TXT, VTT, XML
238-
- Tested languages: ARA, BUL, CAT, CYM, CES, DAN, DEU, ELL, ENG, EPO,
239-
EST, FAS, FIN, FRA, GLE, GRC, HRV, HUN, ISL, ITA, JPN, LAT, LAV, LIT,
240-
NLD, NOR, RON, RUS, POL, POR, SLK, SPA, SRP, SWA, SWE, TUR, UKR
238+
- Confirmed working on languages: ARA, BUL, CAT, CYM, CES, DAN, DEU,
239+
ELL, ENG, EPO, EST, FAS, FIN, FRA, GLE, GRC, HRV, HUN, ISL, ITA, JPN,
240+
LAT, LAV, LIT, NLD, NOR, RON, RUS, POL, POR, SLK, SPA, SRP, SWA, SWE,
241+
TUR, UKR
241242
- MFCC and DTW computed via Python C extensions to reduce the
242243
processing time
243244
- Several built-in TTS engine wrappers: eSpeak (default, FLOSS),
@@ -260,6 +261,8 @@ Supported Features
260261
- Execution parameters tunable at runtime
261262
- Code suitable for Web app deployment (e.g., on-demand cloud
262263
computing)
264+
- Extensive test suite including 898 unit/integration/performance
265+
tests, that run and must pass before each release
263266

264267
Limitations and Missing Features
265268
--------------------------------

aeneas/runtimeconfiguration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class RuntimeConfiguration(Configuration):
5959
Otherwise, use pure Python code.
6060
6161
This option is equivalent to
62-
setting ``CDTW``, ``CEW`` and ``CMFCC`` at once.
62+
setting ``CDTW``, ``CEW``, and ``CMFCC`` to ``True`` at once.
6363
6464
Default: ``True``.
6565

aeneas/tests/tool_test_execute_job.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,27 @@ def test_exec_container_pure(self):
4242
("", "-r=\"c_extensions=False\"")
4343
], 0)
4444

45+
def test_exec_container_no_cew(self):
46+
self.execute([
47+
("in", "../tools/res/job.zip"),
48+
("out", ""),
49+
("", "-r=\"cew=False\"")
50+
], 0)
51+
52+
def test_exec_container_no_cmfcc(self):
53+
self.execute([
54+
("in", "../tools/res/job.zip"),
55+
("out", ""),
56+
("", "-r=\"cmfcc=False\"")
57+
], 0)
58+
59+
def test_exec_container_no_cdtw(self):
60+
self.execute([
61+
("in", "../tools/res/job.zip"),
62+
("out", ""),
63+
("", "-r=\"cdtw=False\"")
64+
], 0)
65+
4566
def test_exec_container_cew_subprocess_flag(self):
4667
self.execute([
4768
("in", "../tools/res/job.zip"),

aeneas/tests/tool_test_execute_task.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,33 @@ def test_exec_srt_pure(self):
107107
("", "-r=\"c_extensions=False\"")
108108
], 0)
109109

110+
def test_exec_srt_no_cew(self):
111+
self.execute([
112+
("in", "../tools/res/audio.mp3"),
113+
("in", "../tools/res/subtitles.txt"),
114+
("", "task_language=eng|is_text_type=subtitles|os_task_file_format=srt"),
115+
("out", "sonnet.srt"),
116+
("", "-r=\"cew=False\"")
117+
], 0)
118+
119+
def test_exec_srt_no_cmfcc(self):
120+
self.execute([
121+
("in", "../tools/res/audio.mp3"),
122+
("in", "../tools/res/subtitles.txt"),
123+
("", "task_language=eng|is_text_type=subtitles|os_task_file_format=srt"),
124+
("out", "sonnet.srt"),
125+
("", "-r=\"cmfcc=False\"")
126+
], 0)
127+
128+
def test_exec_srt_no_cdtw(self):
129+
self.execute([
130+
("in", "../tools/res/audio.mp3"),
131+
("in", "../tools/res/subtitles.txt"),
132+
("", "task_language=eng|is_text_type=subtitles|os_task_file_format=srt"),
133+
("out", "sonnet.srt"),
134+
("", "-r=\"cdtw=False\"")
135+
], 0)
136+
110137
def test_exec_srt_cew_subprocess(self):
111138
self.execute([
112139
("in", "../tools/res/audio.mp3"),

aeneas/tests/tool_test_extract_mfcc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ def test_extract_pure(self):
4848
("", "-r=\"c_extensions=False\"")
4949
], 0)
5050

51+
def test_extract_no_cmfcc(self):
52+
self.execute([
53+
("in", "../tools/res/audio.wav"),
54+
("out", "audio.wav.mfcc.txt"),
55+
("", "-r=\"cmfcc=False\"")
56+
], 0)
57+
5158
def test_extract_mfcc_filters(self):
5259
self.execute([
5360
("in", "../tools/res/audio.wav"),

aeneas/tests/tool_test_run_sd.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,33 @@ def test_sd_pure(self):
186186
("", "-r=\"c_extensions=False\"")
187187
], 0)
188188

189+
def test_sd_no_cew(self):
190+
self.execute([
191+
("", "list"),
192+
("", "From|fairest|creatures|we|desire|increase"),
193+
("", "eng"),
194+
("in", "../tools/res/audio.mp3"),
195+
("", "-r=\"cew=False\"")
196+
], 0)
197+
198+
def test_sd_no_cmfcc(self):
199+
self.execute([
200+
("", "list"),
201+
("", "From|fairest|creatures|we|desire|increase"),
202+
("", "eng"),
203+
("in", "../tools/res/audio.mp3"),
204+
("", "-r=\"cmfcc=False\"")
205+
], 0)
206+
207+
def test_sd_no_cdtw(self):
208+
self.execute([
209+
("", "list"),
210+
("", "From|fairest|creatures|we|desire|increase"),
211+
("", "eng"),
212+
("in", "../tools/res/audio.mp3"),
213+
("", "-r=\"cdtw=False\"")
214+
], 0)
215+
189216

190217

191218
if __name__ == '__main__':

aeneas/tests/tool_test_run_vad.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ def test_run_pure(self):
5858
("", "-r=\"c_extensions=False\"")
5959
], 0)
6060

61+
def test_run_no_cmfcc(self):
62+
self.execute([
63+
("in", "../tools/res/audio.mp3"),
64+
("", "both"),
65+
("out", "both.txt"),
66+
("", "-r=\"cmfcc=False\"")
67+
], 0)
68+
6169
def test_run_extend_after(self):
6270
self.execute([
6371
("in", "../tools/res/audio.mp3"),

aeneas/tests/tool_test_synthesize_text.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ def test_synt_plain_pure(self):
209209
("", "-r=\"c_extensions=False\"")
210210
], 0)
211211

212+
def test_synt_plain_no_cew(self):
213+
self.execute([
214+
("", "plain"),
215+
("in", "../tools/res/plain.txt"),
216+
("", "eng"),
217+
("out", "synthesized.wav"),
218+
("", "-r=\"cew=False\"")
219+
], 0)
220+
212221
def test_synt_plain_cew_subprocess(self):
213222
self.execute([
214223
("", "plain"),

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ aeneas (1.5.1) stable; urgency=medium
77
* Extension cew compiled for Mac OS X and Windows
88
* Added links to installers for Mac OS X and Windows in the documentation
99

10-
-- alberto <alberto@nievo> Mon, 18 Jul 2016 10:21:51 +0200
10+
-- alberto <alberto@nievo> Mon, 25 Jul 2016 10:21:51 +0200
1111

1212
aeneas (1.5.0) stable; urgency=medium
1313

0 commit comments

Comments
 (0)