diagnostics¶
This module contains the following classes:
Diagnostics, checking whether the setup ofaeneaswas successful.
This module can be executed from command line with:
python -m aeneas.diagnostics
New in version 1.4.1.
-
class
aeneas.diagnostics.Diagnostics[source]¶ Check whether the setup of
aeneaswas successful.-
classmethod
check_all(tools=True, encoding=True, c_ext=True)[source]¶ Perform all checks.
Return a tuple of booleans
(errors, warnings, c_ext_warnings).Parameters: - tools (bool) – if
True, check aeneas tools - encoding (bool) – if
True, check shell encoding - c_ext (bool) – if
True, check Python C extensions
Return type: (bool, bool, bool)
- tools (bool) – if
-
classmethod
check_cdtw()[source]¶ Check whether Python C extension
cdtwcan be imported.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod
check_cew()[source]¶ Check whether Python C extension
cewcan be imported.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod
check_cmfcc()[source]¶ Check whether Python C extension
cmfcccan be imported.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod
check_espeak()[source]¶ Check whether
espeakcan be called.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod
check_ffmpeg()[source]¶ Check whether
ffmpegcan be called.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod
check_ffprobe()[source]¶ Check whether
ffprobecan be called.Return
Trueon failure andFalseon success.Return type: bool
-
classmethod