montreal_forced_aligner/models.py
def add_arpa_file(self, arpa_path: str) -> None:
        """
        Adds an ARPA file to the model

        Parameters
        ----------
        arpa_path: str
            Path to ARPA file
        """
        output_name = self.large_arpa_path
        if arpa_path.endswith("_small.arpa"):
            output_name = self.small_arpa_path
        elif arpa_path.endswith("_medium.arpa"):
            output_name = self.medium_arpa_path
        copyfile(arpa_path, output_name)

        Adds an ARPA file to the model

        Parameters
        ----------
        arpa_path: str
            Path to ARPA file
        
Adds an ARPA file to the model
Parameters

str
Path to ARPA file
Adds an ARPA file to the model Parameters str Path to ARPA file
def add_arpa_file(self, arpa_path: str) -> None:
        output_name = self.large_arpa_path
        if arpa_path.endswith("_small.arpa"):
            output_name = self.small_arpa_path
        elif arpa_path.endswith("_medium.arpa"):
            output_name = self.medium_arpa_path
        copyfile(arpa_path, output_name)
def add_arpa_file ( self , arpa_path : str ) -> None : output_name = self . large_arpa_path if arpa_path . endswith ( "_small.arpa" ) : output_name = self . small_arpa_path elif arpa_path . endswith ( "_medium.arpa" ) : output_name = self . medium_arpa_path copyfile ( arpa_path , output_name )
Adds an ARPA file to the model
Parameters
Adds an ARPA file to the model Parameters
"""
        Adds an ARPA file to the model

        Parameters
        ----------
        arpa_path: str
            Path to ARPA file
        """
self
arpa_path
str