Merge pull request #2582 from mozilla/intermediate-decode-docs
Remove outdated mention of DS_IntermediateDecode being expensive to call
This commit is contained in:
commit
0427c1572a
@ -189,9 +189,6 @@ void DS_FeedAudioContent(StreamingState* aSctx,
|
||||
|
||||
/**
|
||||
* @brief Compute 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.
|
||||
*
|
||||
* @param aSctx A streaming state pointer returned by {@link DS_CreateStream()}.
|
||||
*
|
||||
|
@ -172,8 +172,7 @@ namespace DeepSpeechClient
|
||||
}
|
||||
|
||||
/// <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.
|
||||
/// Computes the intermediate decoding of an ongoing streaming inference.
|
||||
/// </summary>
|
||||
/// <returns>The STT intermediate result. The user is responsible for freeing the string.</returns>
|
||||
public unsafe string IntermediateDecode()
|
||||
|
@ -89,8 +89,7 @@ namespace DeepSpeechClient.Interfaces
|
||||
unsafe void FeedAudioContent(short[] aBuffer, uint aBufferSize);
|
||||
|
||||
/// <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.
|
||||
/// Computes the intermediate decoding of an ongoing streaming inference.
|
||||
/// </summary>
|
||||
/// <returns>The STT intermediate result. The user is responsible for freeing the string.</returns>
|
||||
unsafe string IntermediateDecode();
|
||||
|
@ -114,9 +114,6 @@ public class DeepSpeechModel {
|
||||
|
||||
/**
|
||||
* @brief Compute 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.
|
||||
*
|
||||
* @param ctx A streaming state pointer returned by createStream().
|
||||
*
|
||||
|
@ -124,7 +124,7 @@ Model.prototype.feedAudioContent = function() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Compute 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.
|
||||
* Compute the intermediate decoding of an ongoing streaming inference.
|
||||
*
|
||||
* @param {object} aSctx A streaming state returned by :js:func:`Model.setupStream`.
|
||||
*
|
||||
|
@ -141,9 +141,6 @@ class Model(object):
|
||||
def intermediateDecode(self, *args, **kwargs):
|
||||
"""
|
||||
Compute 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.
|
||||
|
||||
:param aSctx: A streaming state pointer returned by :func:`createStream()`.
|
||||
:type aSctx: object
|
||||
|
Loading…
x
Reference in New Issue
Block a user