Exemple #1
0
    def __init__(self, model, mapping, logfile=None):
        """
        Create a BasicAlign instance.

        BasicAlign aligns one inter-pausal unit with the same duration
        for each phoneme. Select the shortest in case of variants.

        """
        baseAligner.__init__(self, model, mapping, logfile)
Exemple #2
0
    def __init__(self, model, mapping, logfile=None):
        """
        Create a new hviteAlign instance.

        @param model is the acoustic model file name,
        @param logfile is a file descriptor of a log file (see log.py).

        """
        baseAligner.__init__(self, model, mapping, logfile)