asrtoolkit/data_structures/time_aligned_text.py
def read(self, file_name):
    """ Read a file using class-specific read function """
    self.file_extension = file_name.split(".")[-1]
    self.location = file_name
    data_handler = importlib.import_module("asrtoolkit.data_handlers.{:}".format(self.file_extension))
    self.segments = data_handler.read_file(file_name)
 Read a file using class-specific read function 
Read a file using class-specific read function
Read a file using class - specific read function
def read(self, file_name):
    self.file_extension = file_name.split(".")[-1]
    self.location = file_name
    data_handler = importlib.import_module("asrtoolkit.data_handlers.{:}".format(self.file_extension))
    self.segments = data_handler.read_file(file_name)
def read ( self , file_name ) : self . file_extension = file_name . split ( "." ) [ - 1 ] self . location = file_name data_handler = importlib . import_module ( "asrtoolkit.data_handlers.{:}" . format ( self . file_extension ) ) self . segments = data_handler . read_file ( file_name )
Read a file using class-specific read function
Read a file using class - specific read function
""" Read a file using class-specific read function """
self
file_name