Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for custom dictionaries #60

Merged
merged 6 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/_build/doctrees/code/align/aligner.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/align/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/align/transcriptprocessor.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/code/aligner.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/cmudictionary.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/esps.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/mahalanobis.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/plotnik.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/remeasure.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/extract/vowel.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/code/praat.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/usage/installation.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/usage/quickstart.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 95450042ea89bddbb1481c62b8e92e75
config: a9e501948c645bf032c7e86e32c92cb5
tags: 645f666f9bcd5a90fca523b33c5a78b7
5 changes: 0 additions & 5 deletions docs/_build/html/_sources/code/aligner.rst.txt

This file was deleted.

5 changes: 0 additions & 5 deletions docs/_build/html/_sources/code/transcriptprocessor.rst.txt

This file was deleted.

20 changes: 10 additions & 10 deletions docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
Forced Alignment and Vowel Extraction (FAVE)
============================================

Welcome to the FAVE documentation
This website documents the FAVE software, version 2.

.. warning::
If you have used FAVE before, please read :doc:`usage/whats-new` to familiarize yourself with the differences between the current and legacy versions of FAVE.

Guides and documentation
------------------------
.. toctree::
:maxdepth: 2

Installing FAVE <usage/installation>
Quickstart guide <usage/quickstart>
fave.align module <code/align/index>
fave.extract module <code/extract/index>
code/cmudictionary
code/praat

usage/index
code/index

Indices and tables
==================
Indices
-------

* :ref:`genindex`
* :ref:`modindex`
Expand Down
29 changes: 26 additions & 3 deletions docs/_build/html/_sources/usage/installation.rst.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
Installing FAVE 2.0
===================
Installing FAVE 2
=================

To be created
Required software
-----------------

FAVE sometimes requires other software libraries in order to work.
* FAVE-align requires `SoX <http://sox.sourceforge.net/>`_ and `HTK <https://htk.eng.cam.ac.uk/>`_.
* FAVE-extract requires `Praat <https://www.fon.hum.uva.nl/praat/>`_.

You will need to manually install these if they are not already installed on your computer.

.. warning::
Mac users: HTK might need slight modification before it works. See `this bug report <https://github.com/JoFrhwld/FAVE/issues/48>`_.

Install with PIP
----------------

FAVE is available on the Python Package Index (PyPI) as ``fave``. You can install it using:

.. code-block:: console

python3 -m pip install fave

Other package managers
^^^^^^^^^^^^^^^^^^^^^^
Work is ongoing to publish FAVE as a debian package, but no other package system is supported at the moment. If you would like to package FAVE for your system, please feel free to :doc:`contribute <../contributing>`!
22 changes: 21 additions & 1 deletion docs/_build/html/_sources/usage/quickstart.rst.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
Quickstart guide to using FAVE 2.0
==================================

To be created
#. Install FAVE and its dependencies according to :doc:`the directions <installation>`.
#. Download the ``FAAValign.py`` and ``extractFormants.py`` scripts.
#. Check your transcription for out-of-dictionary words

.. code-block:: console
:caption: Check for out-of-dictionary words

python3 FAAValign.py --check unknown_words.txt AudioFile.wav TranscriptionFile.txt OutputAlignment.TextGrid
#. Open ``unknown_words.txt`` and create a transcription for each word listed.
#. Align your audio and transcripts including your new transcriptions:

.. code-block:: console
:caption: Begin forced alignment

python3 FAAValign.py --import custom_dictionary.txt AudioFile.wav TranscriptionFile.txt OutputAlignment.TextGrid
#. Extract formant data using the default settings:

.. code-block:: console
:caption: Extract formant data

python3 extractFormants.py AudioFile.wav Alignment.TextGrid OutputFileName.tsv
Loading