Socket
Socket
Sign inDemoInstall

deepspeech-gpu

Package Overview
Dependencies
78
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.2 to 0.9.3

lib/binding/v0.9.3/linux-x64/electron-v10.0/deepspeech.node

18

index.d.ts

@@ -36,3 +36,3 @@ /// <reference types="node" />

*/
declare class Stream {
declare class StreamImpl {
/**

@@ -83,2 +83,8 @@ * @param nativeStream SWIG wrapper for native StreamingState object.

/**
* Exposes the type of Stream without actually exposing the class.
* Because the Stream class should not be instantiated directly,
* but instead be created via :js:func:`Model.createStream`.
*/
export declare type Stream = StreamImpl;
/**
* An object providing an interface to a trained DeepSpeech model.

@@ -181,9 +187,9 @@ */

/**
* Create a new streaming inference state. One can then call :js:func:`Stream.feedAudioContent` and :js:func:`Stream.finishStream` on the returned stream object.
* Create a new streaming inference state. One can then call :js:func:`StreamImpl.feedAudioContent` and :js:func:`StreamImpl.finishStream` on the returned stream object.
*
* @return a :js:func:`Stream` object that represents the streaming state.
* @return a :js:func:`StreamImpl` object that represents the streaming state.
*
* @throws on error
*/
createStream(): Stream;
createStream(): StreamImpl;
}

@@ -200,3 +206,3 @@ /**

*
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata`
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`StreamImpl.finishStreamWithMetadata`
*/

@@ -211,3 +217,3 @@ export declare function FreeMetadata(metadata: Metadata): void;

*/
export declare function FreeStream(stream: Stream): void;
export declare function FreeStream(stream: StreamImpl): void;
/**

@@ -214,0 +220,0 @@ * Returns the version of this library. The returned version is a semantic

@@ -32,3 +32,3 @@ "use strict";

*/
class Stream {
class StreamImpl {
/**

@@ -242,5 +242,5 @@ * @param nativeStream SWIG wrapper for native StreamingState object.

/**
* Create a new streaming inference state. One can then call :js:func:`Stream.feedAudioContent` and :js:func:`Stream.finishStream` on the returned stream object.
* Create a new streaming inference state. One can then call :js:func:`StreamImpl.feedAudioContent` and :js:func:`StreamImpl.finishStream` on the returned stream object.
*
* @return a :js:func:`Stream` object that represents the streaming state.
* @return a :js:func:`StreamImpl` object that represents the streaming state.
*

@@ -254,3 +254,3 @@ * @throws on error

}
return new Stream(ctx);
return new StreamImpl(ctx);
}

@@ -272,3 +272,3 @@ }

*
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata`
* @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`StreamImpl.finishStreamWithMetadata`
*/

@@ -275,0 +275,0 @@ function FreeMetadata(metadata) {

{
"name": "deepspeech-gpu",
"version": "0.9.2",
"version": "0.9.3",
"description": "DeepSpeech NodeJS bindings",

@@ -10,5 +10,5 @@ "main": "./index.js",

},
"author": "Mozilla",
"author": "DeepSpeech authors",
"license": "MPL-2.0",
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.9.2#project-deepspeech",
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.9.3#project-deepspeech",
"files": [

@@ -15,0 +15,0 @@ "README.md",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc