#NEWLINE# def __init__( self , input_stream , tier_label_map = None ) : #NEWLINE# #INDENT# "Class's constructor.\n\n        Parameters\n        ----------\n        :param input_stream: str or IOBase\n            Path of the ODIN source file.\n        :param tier_label_map: the tier mapping for the file\n\n        " #NEWLINE# self . _author_detection = [ '\\w* \\d+[: ]+\\d+' , '\\w+[; ]+\\w+ \\d+[: ]+\\d+' ] #NEWLINE# self . _translation_delims = [ "'" , '`' ] #NEWLINE# self . _current_ids = dict ( ) #NEWLINE# self . _init_current_ids ( ) #NEWLINE# self . _tier_block = dict ( ) #NEWLINE# self . _init_tier_block ( ) #NEWLINE# if ( tier_label_map is None ) : #NEWLINE# #INDENT# self . _tier_labels = tier_mapping ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _tier_labels = tier_label_map #NEWLINE# #UNINDENT# self . _annotations_for_parent = collections . defaultdict ( list ) #NEWLINE# self . metadata = dict ( ) #NEWLINE# self . _record_tag = 'source' #NEWLINE# self . _full_lang = None #NEWLINE# self . _tier_hierarchy = None #NEWLINE# self . parse ( tier_label_map )