Merge pull request #2582 from mozilla/intermediate-decode-docs

Remove outdated mention of DS_IntermediateDecode being expensive to call
This commit is contained in:
Reuben Morais 2019-12-05 14:44:51 +00:00 committed by GitHub
commit 0427c1572a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 14 deletions

View File

@ -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()}.
*

View File

@ -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()

View File

@ -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();

View File

@ -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().
*

View File

@ -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`.
*

View File

@ -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