Training G2P models
===================

Pynini Pair Ngram
-----------------


.. currentmodule:: montreal_forced_aligner.g2p.trainer

.. autosummary::
   :toctree: generated/

   PyniniTrainer -- Trainer for Pynini G2P model
   PyniniValidator -- Validator for Pynini G2P model

Phonetisaurus-style models
--------------------------

.. currentmodule:: montreal_forced_aligner.g2p.phonetisaurus_trainer

.. autosummary::
   :toctree: generated/

   PhonetisaurusTrainer -- Trainer for Phonetisaurus G2P model

Mixins
------

.. currentmodule:: montreal_forced_aligner.g2p.trainer

.. autosummary::
   :toctree: generated/

   PyniniTrainerMixin

.. currentmodule:: montreal_forced_aligner.g2p.phonetisaurus_trainer

.. autosummary::
   :toctree: generated/

   PhonetisaurusTrainerMixin
