montreal_forced_aligner/models.py
def add_meta_file(self, trainer: ModelExporterMixin) -> None:
        """
        Add a metadata file from a given trainer to the model

        Parameters
        ----------
        trainer: :class:`~montreal_forced_aligner.abc.ModelExporterMixin`
            The trainer to construct the metadata from
        """
        with open(os.path.join(self.dirname, "meta.yaml"), "w", encoding="utf8") as f:
            yaml.dump(trainer.meta, f)

        Add a metadata file from a given trainer to the model

        Parameters
        ----------
        trainer: :class:`~montreal_forced_aligner.abc.ModelExporterMixin`
            The trainer to construct the metadata from
        
Add a metadata file from a given trainer to the model
Parameters

:class:`~montreal_forced_aligner.abc.ModelExporterMixin`
The trainer to construct the metadata from
Add a metadata file from a given trainer to the model Parameters : class : ` ~montreal_forced_aligner . abc . ModelExporterMixin ` The trainer to construct the metadata from
def add_meta_file(self, trainer: ModelExporterMixin) -> None:
        with open(os.path.join(self.dirname, "meta.yaml"), "w", encoding="utf8") as f:
            yaml.dump(trainer.meta, f)
def add_meta_file ( self , trainer : ModelExporterMixin ) -> None : with open ( os . path . join ( self . dirname , "meta.yaml" ) , "w" , encoding = "utf8" ) as f : yaml . dump ( trainer . meta , f )
Add a metadata file from a given trainer to the model
Parameters
Add a metadata file from a given trainer to the model Parameters
"""
        Add a metadata file from a given trainer to the model

        Parameters
        ----------
        trainer: :class:`~montreal_forced_aligner.abc.ModelExporterMixin`
            The trainer to construct the metadata from
        """
self
trainer
ModelExporterMixin