Minor fixes
This commit is contained in:
parent
fa3707d70a
commit
c420d9b293
@ -361,20 +361,6 @@ Metadata* STT_IntermediateDecodeExpensiveWithMetadata(StreamingState* aSctx,
|
||||
* @note This method will free the state pointer (@p aSctx).
|
||||
*/
|
||||
STT_EXPORT
|
||||
char* STT_IntermediateDecodeExpensive(StreamingState* aSctx);
|
||||
|
||||
/**
|
||||
* @brief Compute the intermediate decoding of an ongoing streaming inference,
|
||||
*
|
||||
* @param aSctx A streaming state pointer returned by {@link STT_CreateStream()}.
|
||||
* @param aNumResults The number of candidate transcripts to return.
|
||||
*
|
||||
* @return Metadata struct containing multiple candidate transcripts. Each transcript
|
||||
* has per-token metadata including timing information. The user is
|
||||
* responsible for freeing Metadata by calling {@link STT_FreeMetadata()}.
|
||||
* Returns NULL on error.
|
||||
*/
|
||||
STT_EXPORT
|
||||
char* STT_FinishStream(StreamingState* aSctx);
|
||||
|
||||
/**
|
||||
|
@ -35,7 +35,9 @@ using namespace node;
|
||||
|
||||
%newobject STT_SpeechToText;
|
||||
%newobject STT_IntermediateDecode;
|
||||
%newobject STT_IntermediateDecodeWithMetadata;
|
||||
%newobject STT_IntermediateDecodeExpensive;
|
||||
%newobject STT_IntermediateDecodeExpensiveWithMetadata;
|
||||
%newobject STT_FinishStream;
|
||||
%newobject STT_Version;
|
||||
%newobject STT_ErrorCodeToErrorMessage;
|
||||
|
Loading…
Reference in New Issue
Block a user