/// <summary>
 /// Computes the intermediate decoding of an ongoing streaming inference.
 /// </summary>
 /// <param name="stream">Instance of the stream to decode.</param>
 /// <returns>The STT intermediate result.</returns>
 public unsafe string IntermediateDecode(DeepSpeechStream stream)
 {
     return(NativeImp.DS_IntermediateDecode(stream.GetNativePointer()).PtrToString());
 }
 /// <summary>
 /// Computes the intermediate decoding of an ongoing streaming inference. This is an expensive process as the decoder implementation isn't
 /// currently capable of streaming, so it always starts from the beginning of the audio.
 /// </summary>
 /// <returns>The STT intermediate result. The user is responsible for freeing the string.</returns>
 public unsafe string IntermediateDecode()
 {
     return(NativeImp.DS_IntermediateDecode(_streamingStatePP));
 }