コード例 #1
0
    def end_utt(self, out_cepvector):
        """
        end_utt(FrontEnd self, mfcc_t * out_cepvector) -> int32



        Finish processing an utterance.

        This function also collects any remaining samples and calculates a
        final cepstral vector. If there are overflow samples remaining, it
        will pad with zeros to make a complete frame.

        Parameters:
        -----------

        fe:  Front-end object.

        out_cepvector:  Buffer to hold a residual cepstral vector, or NULL if
        you wish to ignore it. Must be large enough

        out_nframes:  Number of frames of residual cepstra created (either 0
        or 1).

        0 for success, <0 for error (see enum fe_error_e) 
        """
        return _sphinxbase.FrontEnd_end_utt(self, out_cepvector)
コード例 #2
0
 def end_utt(self, *args):
     """end_utt(FrontEnd self, mfcc_t * out_cepvector) -> int32"""
     return _sphinxbase.FrontEnd_end_utt(self, *args)