montreal_forced_aligner/alignment/base.py
def export_files(self, output_directory: str) -> None:
        """
        Export a TextGrid file for every sound file in the dataset

        Parameters
        ----------
        output_directory: str
            Directory to save to
        """
        begin = time.time()
        self.textgrid_output = output_directory
        if self.backup_output_directory is not None and os.path.exists(
            self.backup_output_directory
        ):
            shutil.rmtree(self.backup_output_directory, ignore_errors=True)
        self.convert_ali_to_textgrids()
        self.logger.debug(f"Exported TextGrids in a total of {time.time() - begin} seconds")

        Export a TextGrid file for every sound file in the dataset

        Parameters
        ----------
        output_directory: str
            Directory to save to
        
Export a TextGrid file for every sound file in the dataset
Parameters

str
Directory to save to
Export a TextGrid file for every sound file in the dataset Parameters str Directory to save to
def export_files(self, output_directory: str) -> None:
        begin = time.time()
        self.textgrid_output = output_directory
        if self.backup_output_directory is not None and os.path.exists(
            self.backup_output_directory
        ):
            shutil.rmtree(self.backup_output_directory, ignore_errors=True)
        self.convert_ali_to_textgrids()
        self.logger.debug(f"Exported TextGrids in a total of {time.time() - begin} seconds")
def export_files ( self , output_directory : str ) -> None : begin = time . time ( ) self . textgrid_output = output_directory if self . backup_output_directory is not None and os . path . exists ( self . backup_output_directory ) : shutil . rmtree ( self . backup_output_directory , ignore_errors = True ) self . convert_ali_to_textgrids ( ) self . logger . debug ( f"Exported TextGrids in a total of {time.time() - begin} seconds" )
Export a TextGrid file for every sound file in the dataset
Parameters
Export a TextGrid file for every sound file in the dataset Parameters
"""
        Export a TextGrid file for every sound file in the dataset

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