예제 #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);