Example #1
0
    def process_raw(self, *args):
        """
        process_raw(Decoder self, void const * SDATA, bool no_search, bool full_utt) -> int

        Decode raw audio data.

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

        ps:  Decoder.

        no_search:  If non-zero, perform feature extraction but don't do any
        recognition yet. This may be necessary if your processor has trouble
        doing recognition in real-time.

        full_utt:  If non-zero, this block of data is a full utterance worth
        of data. This may allow the recognizer to produce more accurate
        results.

        Number of frames of data searched, or <0 for error. 
        """
        return _pocketsphinx.Decoder_process_raw(self, *args)
Example #2
0
 def process_raw(self, SDATA, no_search, full_utt):
     """process_raw(Decoder self, char const * SDATA, bool no_search, bool full_utt) -> int"""
     return _pocketsphinx.Decoder_process_raw(self, SDATA, no_search,
                                              full_utt)