from .aligner import AlignerParser
from polyglotdb.io.parsers.speaker import FilenameSpeakerParser
[docs]
class MausParser(AlignerParser):
"""
Parser for TextGrids generated by the Web-MAUS aligner.
"""
name = 'Maus'
word_label = 'ort'
phone_label = 'mau'
def __init__(self, annotation_tiers, hierarchy, make_transcription=True,
stop_check=None, call_back=None):
super(MausParser, self).__init__(annotation_tiers, hierarchy,
make_transcription, stop_check, call_back)
self.speaker_parser = FilenameSpeakerParser(0)