コード例 #1
0
 internal static unsafe extern void DS_DestroyModel(ModelState **aCtx);
コード例 #2
0
 internal static unsafe extern int DS_SetupStream(ModelState **aCtx,
                                                  uint aPreAllocFrames,
                                                  uint aSampleRate, ref StreamingState **retval);
コード例 #3
0
 internal static unsafe extern int DS_EnableDecoderWithLM(ModelState **aCtx,
                                                          string aAlphabetConfigPath,
                                                          string aLMPath,
                                                          string aTriePath,
                                                          float aLMAlpha,
                                                          float aLMBeta);
コード例 #4
0
 internal static unsafe extern IntPtr DS_SpeechToTextWithMetadata(ModelState **aCtx,
                                                                  short[] aBuffer,
                                                                  uint aBufferSize,
                                                                  uint aSampleRate);
コード例 #5
0
 internal static unsafe extern ErrorCodes DS_CreateStream(ModelState **aCtx,
                                                          uint aSampleRate, ref StreamingState **retval);
コード例 #6
0
 internal unsafe static extern int DS_CreateModel(string aModelPath,
                                                  uint aNCep,
                                                  uint aNContext,
                                                  string aAlphabetConfigPath,
                                                  uint aBeamWidth,
                                                  ref ModelState **pint);
コード例 #7
0
 internal static unsafe extern void DS_FreeModel(ModelState **aCtx);
コード例 #8
0
 internal static unsafe extern ErrorCodes DS_EnableDecoderWithLM(ModelState **aCtx,
                                                                 string aLMPath,
                                                                 string aTriePath,
                                                                 float aLMAlpha,
                                                                 float aLMBeta);
コード例 #9
0
 internal unsafe static extern ErrorCodes DS_CreateModel(string aModelPath,
                                                         string aAlphabetConfigPath,
                                                         uint aBeamWidth,
                                                         ref ModelState **pint);
コード例 #10
0
 internal static unsafe extern string DS_SpeechToText(ModelState **aCtx,
                                                      short[] aBuffer,
                                                      uint aBufferSize,
                                                      uint aSampleRate);
コード例 #11
0
 internal static unsafe extern int DS_EnableDecoderWithLM(ModelState **aCtx,
                                                          string aAlphabetConfigPath,
                                                          string aLMPath,
                                                          string aTriePath,
                                                          float aLMWeight,
                                                          float aValidWordCountWeight);