montreal_forced_aligner/transcription/transcriber.py
def export_files(self, output_directory: str) -> None:
        """
        Export transcriptions

        Parameters
        ----------
        output_directory: str
            Directory to save transcriptions
        """
        backup_output_directory = None
        if not self.overwrite:
            backup_output_directory = os.path.join(self.working_directory, "transcriptions")
            os.makedirs(backup_output_directory, exist_ok=True)
        self._load_transcripts()
        for file in self.files:
            file.save(output_directory, backup_output_directory)
        if self.evaluation_mode:
            shutil.copyfile(
                os.path.join(self.evaluation_directory, "transcription_evaluation.csv"),
                os.path.join(output_directory, "transcription_evaluation.csv"),
            )

        Export transcriptions

        Parameters
        ----------
        output_directory: str
            Directory to save transcriptions
        
Export transcriptions
Parameters

str
Directory to save transcriptions
Export transcriptions Parameters str Directory to save transcriptions
def export_files(self, output_directory: str) -> None:
        backup_output_directory = None
        if not self.overwrite:
            backup_output_directory = os.path.join(self.working_directory, "transcriptions")
            os.makedirs(backup_output_directory, exist_ok=True)
        self._load_transcripts()
        for file in self.files:
            file.save(output_directory, backup_output_directory)
        if self.evaluation_mode:
            shutil.copyfile(
                os.path.join(self.evaluation_directory, "transcription_evaluation.csv"),
                os.path.join(output_directory, "transcription_evaluation.csv"),
            )
def export_files ( self , output_directory : str ) -> None : backup_output_directory = None if not self . overwrite : backup_output_directory = os . path . join ( self . working_directory , "transcriptions" ) os . makedirs ( backup_output_directory , exist_ok = True ) self . _load_transcripts ( ) for file in self . files : file . save ( output_directory , backup_output_directory ) if self . evaluation_mode : shutil . copyfile ( os . path . join ( self . evaluation_directory , "transcription_evaluation.csv" ) , os . path . join ( output_directory , "transcription_evaluation.csv" ) , )
Export transcriptions
Parameters
Export transcriptions Parameters
"""
        Export transcriptions

        Parameters
        ----------
        output_directory: str
            Directory to save transcriptions
        """
self
output_directory
str