montreal_forced_aligner/models.py
def add_model(self, source: str) -> None:
        """
        Add file into archive

        Parameters
        ----------
        source: str
            File to add
        """
        for filename in self.model_files:
            if os.path.exists(os.path.join(source, filename)):
                copyfile(os.path.join(source, filename), os.path.join(self.dirname, filename))

        Add file into archive

        Parameters
        ----------
        source: str
            File to add
        
Add file into archive
Parameters

str
File to add
Add file into archive Parameters str File to add
def add_model(self, source: str) -> None:
        for filename in self.model_files:
            if os.path.exists(os.path.join(source, filename)):
                copyfile(os.path.join(source, filename), os.path.join(self.dirname, filename))
def add_model ( self , source : str ) -> None : for filename in self . model_files : if os . path . exists ( os . path . join ( source , filename ) ) : copyfile ( os . path . join ( source , filename ) , os . path . join ( self . dirname , filename ) )
Add file into archive
Parameters
Add file into archive Parameters
"""
        Add file into archive

        Parameters
        ----------
        source: str
            File to add
        """
self
source
str