Python 2.7 has been retired in favor of Python 3. This pull request implements FAVE in Python 3 along with a number of improvements to code style and code documentation.
Modularization
FAAValign and FAAVextract have been moved to modules fave.align and fave.extract respectively
The shared dependencies of praat.py and cmu(dictionary).py have been merged and moved to the root module directory as fave.praat and fave.cmudictionary respectively
Praat scripts have been moved to their own directory fave/praatScripts
fave.extract configuration files have been moved to the fave/extract/config directory
Wherever I noticed, references to package resources like praat scripts, config files, and default dictionaries have been replaced with pkg_resources which is a system and implementation independent way of accessing these files
fave.align has cross-module logging using the standard logging library allowing users to specify verbosity in a more fine-grained manner
Because of the above, end users must runpython -m pip install -e /path/to/FAVE/directory or python -m pip install /path/to/fave/wheel/file so that the modules can work together appropriately
Packaging
The repository is set up as a standard PyPI package including automated package building and dependency management using poetry
Python package distributions in tar.gz and .whl are included and may be installed by end users with python -m pip install fave-2.0.0.dev0-py3-none-any.whl
An eventual goal is to distribute these via the Python Package Index so end users can run pip install fave from any machine
Python 2.7 has been retired in favor of Python 3. This pull request implements FAVE in Python 3 along with a number of improvements to code style and code documentation.
fave.align
andfave.extract
respectivelyfave.praat
andfave.cmudictionary
respectivelyfave.extract
configuration files have been moved to the fave/extract/config directorypkg_resources
which is a system and implementation independent way of accessing these filespython -m pip install -e /path/to/FAVE/directory
orpython -m pip install /path/to/fave/wheel/file
so that the modules can work together appropriatelypython -m pip install fave-2.0.0.dev0-py3-none-any.whl
pip install fave
from any machine