@ondewo/s2t-client-typescript 5.4.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ondewo/s2t/speech-to-text_pb.d.ts +60 -152
- package/api/ondewo/s2t/speech-to-text_pb.js +822 -1653
- package/package.json +1 -1
- package/public-api.js +1 -1
|
@@ -28,16 +28,21 @@ export class TranscribeRequestConfig extends jspb.Message {
|
|
|
28
28
|
hasPyannote(): boolean;
|
|
29
29
|
clearPyannote(): TranscribeRequestConfig;
|
|
30
30
|
|
|
31
|
-
getMatchbox(): Matchbox | undefined;
|
|
32
|
-
setMatchbox(value?: Matchbox): TranscribeRequestConfig;
|
|
33
|
-
hasMatchbox(): boolean;
|
|
34
|
-
clearMatchbox(): TranscribeRequestConfig;
|
|
35
|
-
|
|
36
31
|
getReturnOptions(): TranscriptionReturnOptions | undefined;
|
|
37
32
|
setReturnOptions(value?: TranscriptionReturnOptions): TranscribeRequestConfig;
|
|
38
33
|
hasReturnOptions(): boolean;
|
|
39
34
|
clearReturnOptions(): TranscribeRequestConfig;
|
|
40
35
|
|
|
36
|
+
getLanguage(): string;
|
|
37
|
+
setLanguage(value: string): TranscribeRequestConfig;
|
|
38
|
+
hasLanguage(): boolean;
|
|
39
|
+
clearLanguage(): TranscribeRequestConfig;
|
|
40
|
+
|
|
41
|
+
getTask(): string;
|
|
42
|
+
setTask(value: string): TranscribeRequestConfig;
|
|
43
|
+
hasTask(): boolean;
|
|
44
|
+
clearTask(): TranscribeRequestConfig;
|
|
45
|
+
|
|
41
46
|
getOneofLanguageModelNameCase(): TranscribeRequestConfig.OneofLanguageModelNameCase;
|
|
42
47
|
|
|
43
48
|
getOneofPostProcessingCase(): TranscribeRequestConfig.OneofPostProcessingCase;
|
|
@@ -64,8 +69,9 @@ export namespace TranscribeRequestConfig {
|
|
|
64
69
|
postProcessing?: PostProcessingOptions.AsObject,
|
|
65
70
|
utteranceDetection?: UtteranceDetectionOptions.AsObject,
|
|
66
71
|
pyannote?: Pyannote.AsObject,
|
|
67
|
-
matchbox?: Matchbox.AsObject,
|
|
68
72
|
returnOptions?: TranscriptionReturnOptions.AsObject,
|
|
73
|
+
language?: string,
|
|
74
|
+
task?: string,
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
export enum OneofLanguageModelNameCase {
|
|
@@ -86,13 +92,22 @@ export namespace TranscribeRequestConfig {
|
|
|
86
92
|
export enum VoiceActivityDetectionCase {
|
|
87
93
|
VOICE_ACTIVITY_DETECTION_NOT_SET = 0,
|
|
88
94
|
PYANNOTE = 6,
|
|
89
|
-
MATCHBOX = 7,
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
export enum OneofReturnOptionsCase {
|
|
93
98
|
ONEOF_RETURN_OPTIONS_NOT_SET = 0,
|
|
94
99
|
RETURN_OPTIONS = 8,
|
|
95
100
|
}
|
|
101
|
+
|
|
102
|
+
export enum LanguageCase {
|
|
103
|
+
_LANGUAGE_NOT_SET = 0,
|
|
104
|
+
LANGUAGE = 9,
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export enum TaskCase {
|
|
108
|
+
_TASK_NOT_SET = 0,
|
|
109
|
+
TASK = 10,
|
|
110
|
+
}
|
|
96
111
|
}
|
|
97
112
|
|
|
98
113
|
export class TranscriptionReturnOptions extends jspb.Message {
|
|
@@ -145,12 +160,6 @@ export class UtteranceDetectionOptions extends jspb.Message {
|
|
|
145
160
|
getTranscribeNotFinal(): boolean;
|
|
146
161
|
setTranscribeNotFinal(value: boolean): UtteranceDetectionOptions;
|
|
147
162
|
|
|
148
|
-
getStartOfUtteranceThreshold(): number;
|
|
149
|
-
setStartOfUtteranceThreshold(value: number): UtteranceDetectionOptions;
|
|
150
|
-
|
|
151
|
-
getEndOfUtteranceThreshold(): number;
|
|
152
|
-
setEndOfUtteranceThreshold(value: number): UtteranceDetectionOptions;
|
|
153
|
-
|
|
154
163
|
getNextChunkTimeout(): number;
|
|
155
164
|
setNextChunkTimeout(value: number): UtteranceDetectionOptions;
|
|
156
165
|
|
|
@@ -167,8 +176,6 @@ export class UtteranceDetectionOptions extends jspb.Message {
|
|
|
167
176
|
export namespace UtteranceDetectionOptions {
|
|
168
177
|
export type AsObject = {
|
|
169
178
|
transcribeNotFinal: boolean,
|
|
170
|
-
startOfUtteranceThreshold: number,
|
|
171
|
-
endOfUtteranceThreshold: number,
|
|
172
179
|
nextChunkTimeout: number,
|
|
173
180
|
}
|
|
174
181
|
|
|
@@ -779,16 +786,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
779
786
|
getType(): string;
|
|
780
787
|
setType(value: string): AcousticModels;
|
|
781
788
|
|
|
782
|
-
getQuartznet(): Quartznet | undefined;
|
|
783
|
-
setQuartznet(value?: Quartznet): AcousticModels;
|
|
784
|
-
hasQuartznet(): boolean;
|
|
785
|
-
clearQuartznet(): AcousticModels;
|
|
786
|
-
|
|
787
|
-
getQuartznetTriton(): QuartznetTriton | undefined;
|
|
788
|
-
setQuartznetTriton(value?: QuartznetTriton): AcousticModels;
|
|
789
|
-
hasQuartznetTriton(): boolean;
|
|
790
|
-
clearQuartznetTriton(): AcousticModels;
|
|
791
|
-
|
|
792
789
|
getWav2vec(): Wav2Vec | undefined;
|
|
793
790
|
setWav2vec(value?: Wav2Vec): AcousticModels;
|
|
794
791
|
hasWav2vec(): boolean;
|
|
@@ -820,8 +817,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
820
817
|
export namespace AcousticModels {
|
|
821
818
|
export type AsObject = {
|
|
822
819
|
type: string,
|
|
823
|
-
quartznet?: Quartznet.AsObject,
|
|
824
|
-
quartznetTriton?: QuartznetTriton.AsObject,
|
|
825
820
|
wav2vec?: Wav2Vec.AsObject,
|
|
826
821
|
wav2vecTriton?: Wav2VecTriton.AsObject,
|
|
827
822
|
whisper?: Whisper.AsObject,
|
|
@@ -839,6 +834,9 @@ export class Whisper extends jspb.Message {
|
|
|
839
834
|
getLanguage(): string;
|
|
840
835
|
setLanguage(value: string): Whisper;
|
|
841
836
|
|
|
837
|
+
getTask(): string;
|
|
838
|
+
setTask(value: string): Whisper;
|
|
839
|
+
|
|
842
840
|
serializeBinary(): Uint8Array;
|
|
843
841
|
toObject(includeInstance?: boolean): Whisper.AsObject;
|
|
844
842
|
static toObject(includeInstance: boolean, msg: Whisper): Whisper.AsObject;
|
|
@@ -852,6 +850,7 @@ export namespace Whisper {
|
|
|
852
850
|
modelPath: string,
|
|
853
851
|
useGpu: boolean,
|
|
854
852
|
language: string,
|
|
853
|
+
task: string,
|
|
855
854
|
}
|
|
856
855
|
}
|
|
857
856
|
|
|
@@ -868,6 +867,18 @@ export class WhisperTriton extends jspb.Message {
|
|
|
868
867
|
getCheckStatusTimeout(): number;
|
|
869
868
|
setCheckStatusTimeout(value: number): WhisperTriton;
|
|
870
869
|
|
|
870
|
+
getLanguage(): string;
|
|
871
|
+
setLanguage(value: string): WhisperTriton;
|
|
872
|
+
|
|
873
|
+
getTask(): string;
|
|
874
|
+
setTask(value: string): WhisperTriton;
|
|
875
|
+
|
|
876
|
+
getTritonServerHost(): string;
|
|
877
|
+
setTritonServerHost(value: string): WhisperTriton;
|
|
878
|
+
|
|
879
|
+
getTritonServerPort(): number;
|
|
880
|
+
setTritonServerPort(value: number): WhisperTriton;
|
|
881
|
+
|
|
871
882
|
serializeBinary(): Uint8Array;
|
|
872
883
|
toObject(includeInstance?: boolean): WhisperTriton.AsObject;
|
|
873
884
|
static toObject(includeInstance: boolean, msg: WhisperTriton): WhisperTriton.AsObject;
|
|
@@ -882,6 +893,10 @@ export namespace WhisperTriton {
|
|
|
882
893
|
tritonModelName: string,
|
|
883
894
|
tritonModelVersion: string,
|
|
884
895
|
checkStatusTimeout: number,
|
|
896
|
+
language: string,
|
|
897
|
+
task: string,
|
|
898
|
+
tritonServerHost: string,
|
|
899
|
+
tritonServerPort: number,
|
|
885
900
|
}
|
|
886
901
|
}
|
|
887
902
|
|
|
@@ -920,6 +935,12 @@ export class Wav2VecTriton extends jspb.Message {
|
|
|
920
935
|
getCheckStatusTimeout(): number;
|
|
921
936
|
setCheckStatusTimeout(value: number): Wav2VecTriton;
|
|
922
937
|
|
|
938
|
+
getTritonServerHost(): string;
|
|
939
|
+
setTritonServerHost(value: string): Wav2VecTriton;
|
|
940
|
+
|
|
941
|
+
getTritonServerPort(): number;
|
|
942
|
+
setTritonServerPort(value: number): Wav2VecTriton;
|
|
943
|
+
|
|
923
944
|
serializeBinary(): Uint8Array;
|
|
924
945
|
toObject(includeInstance?: boolean): Wav2VecTriton.AsObject;
|
|
925
946
|
static toObject(includeInstance: boolean, msg: Wav2VecTriton): Wav2VecTriton.AsObject;
|
|
@@ -934,44 +955,8 @@ export namespace Wav2VecTriton {
|
|
|
934
955
|
tritonModelName: string,
|
|
935
956
|
tritonModelVersion: string,
|
|
936
957
|
checkStatusTimeout: number,
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
export class Quartznet extends jspb.Message {
|
|
941
|
-
getConfigPath(): string;
|
|
942
|
-
setConfigPath(value: string): Quartznet;
|
|
943
|
-
|
|
944
|
-
getLoadType(): string;
|
|
945
|
-
setLoadType(value: string): Quartznet;
|
|
946
|
-
|
|
947
|
-
getPtFiles(): PtFiles | undefined;
|
|
948
|
-
setPtFiles(value?: PtFiles): Quartznet;
|
|
949
|
-
hasPtFiles(): boolean;
|
|
950
|
-
clearPtFiles(): Quartznet;
|
|
951
|
-
|
|
952
|
-
getCkptFile(): CkptFile | undefined;
|
|
953
|
-
setCkptFile(value?: CkptFile): Quartznet;
|
|
954
|
-
hasCkptFile(): boolean;
|
|
955
|
-
clearCkptFile(): Quartznet;
|
|
956
|
-
|
|
957
|
-
getUseGpu(): boolean;
|
|
958
|
-
setUseGpu(value: boolean): Quartznet;
|
|
959
|
-
|
|
960
|
-
serializeBinary(): Uint8Array;
|
|
961
|
-
toObject(includeInstance?: boolean): Quartznet.AsObject;
|
|
962
|
-
static toObject(includeInstance: boolean, msg: Quartznet): Quartznet.AsObject;
|
|
963
|
-
static serializeBinaryToWriter(message: Quartznet, writer: jspb.BinaryWriter): void;
|
|
964
|
-
static deserializeBinary(bytes: Uint8Array): Quartznet;
|
|
965
|
-
static deserializeBinaryFromReader(message: Quartznet, reader: jspb.BinaryReader): Quartznet;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
export namespace Quartznet {
|
|
969
|
-
export type AsObject = {
|
|
970
|
-
configPath: string,
|
|
971
|
-
loadType: string,
|
|
972
|
-
ptFiles?: PtFiles.AsObject,
|
|
973
|
-
ckptFile?: CkptFile.AsObject,
|
|
974
|
-
useGpu: boolean,
|
|
958
|
+
tritonServerHost: string,
|
|
959
|
+
tritonServerPort: number,
|
|
975
960
|
}
|
|
976
961
|
}
|
|
977
962
|
|
|
@@ -1015,32 +1000,6 @@ export namespace CkptFile {
|
|
|
1015
1000
|
}
|
|
1016
1001
|
}
|
|
1017
1002
|
|
|
1018
|
-
export class QuartznetTriton extends jspb.Message {
|
|
1019
|
-
getConfigPath(): string;
|
|
1020
|
-
setConfigPath(value: string): QuartznetTriton;
|
|
1021
|
-
|
|
1022
|
-
getTritonUrl(): string;
|
|
1023
|
-
setTritonUrl(value: string): QuartznetTriton;
|
|
1024
|
-
|
|
1025
|
-
getTritonModel(): string;
|
|
1026
|
-
setTritonModel(value: string): QuartznetTriton;
|
|
1027
|
-
|
|
1028
|
-
serializeBinary(): Uint8Array;
|
|
1029
|
-
toObject(includeInstance?: boolean): QuartznetTriton.AsObject;
|
|
1030
|
-
static toObject(includeInstance: boolean, msg: QuartznetTriton): QuartznetTriton.AsObject;
|
|
1031
|
-
static serializeBinaryToWriter(message: QuartznetTriton, writer: jspb.BinaryWriter): void;
|
|
1032
|
-
static deserializeBinary(bytes: Uint8Array): QuartznetTriton;
|
|
1033
|
-
static deserializeBinaryFromReader(message: QuartznetTriton, reader: jspb.BinaryReader): QuartznetTriton;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
export namespace QuartznetTriton {
|
|
1037
|
-
export type AsObject = {
|
|
1038
|
-
configPath: string,
|
|
1039
|
-
tritonUrl: string,
|
|
1040
|
-
tritonModel: string,
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
1003
|
export class LanguageModels extends jspb.Message {
|
|
1045
1004
|
getPath(): string;
|
|
1046
1005
|
setPath(value: string): LanguageModels;
|
|
@@ -1120,12 +1079,6 @@ export class StreamingSpeechRecognition extends jspb.Message {
|
|
|
1120
1079
|
getMinAudioChunkSize(): number;
|
|
1121
1080
|
setMinAudioChunkSize(value: number): StreamingSpeechRecognition;
|
|
1122
1081
|
|
|
1123
|
-
getStartOfUtteranceThreshold(): number;
|
|
1124
|
-
setStartOfUtteranceThreshold(value: number): StreamingSpeechRecognition;
|
|
1125
|
-
|
|
1126
|
-
getEndOfUtteranceThreshold(): number;
|
|
1127
|
-
setEndOfUtteranceThreshold(value: number): StreamingSpeechRecognition;
|
|
1128
|
-
|
|
1129
1082
|
getNextChunkTimeout(): number;
|
|
1130
1083
|
setNextChunkTimeout(value: number): StreamingSpeechRecognition;
|
|
1131
1084
|
|
|
@@ -1143,8 +1096,6 @@ export namespace StreamingSpeechRecognition {
|
|
|
1143
1096
|
decodingMethod: string,
|
|
1144
1097
|
samplingRate: number,
|
|
1145
1098
|
minAudioChunkSize: number,
|
|
1146
|
-
startOfUtteranceThreshold: number,
|
|
1147
|
-
endOfUtteranceThreshold: number,
|
|
1148
1099
|
nextChunkTimeout: number,
|
|
1149
1100
|
}
|
|
1150
1101
|
}
|
|
@@ -1161,11 +1112,6 @@ export class VoiceActivityDetection extends jspb.Message {
|
|
|
1161
1112
|
hasPyannote(): boolean;
|
|
1162
1113
|
clearPyannote(): VoiceActivityDetection;
|
|
1163
1114
|
|
|
1164
|
-
getMatchbox(): Matchbox | undefined;
|
|
1165
|
-
setMatchbox(value?: Matchbox): VoiceActivityDetection;
|
|
1166
|
-
hasMatchbox(): boolean;
|
|
1167
|
-
clearMatchbox(): VoiceActivityDetection;
|
|
1168
|
-
|
|
1169
1115
|
serializeBinary(): Uint8Array;
|
|
1170
1116
|
toObject(includeInstance?: boolean): VoiceActivityDetection.AsObject;
|
|
1171
1117
|
static toObject(includeInstance: boolean, msg: VoiceActivityDetection): VoiceActivityDetection.AsObject;
|
|
@@ -1179,33 +1125,27 @@ export namespace VoiceActivityDetection {
|
|
|
1179
1125
|
active: string,
|
|
1180
1126
|
samplingRate: number,
|
|
1181
1127
|
pyannote?: Pyannote.AsObject,
|
|
1182
|
-
matchbox?: Matchbox.AsObject,
|
|
1183
1128
|
}
|
|
1184
1129
|
}
|
|
1185
1130
|
|
|
1186
1131
|
export class Pyannote extends jspb.Message {
|
|
1187
|
-
|
|
1188
|
-
|
|
1132
|
+
getModelName(): string;
|
|
1133
|
+
setModelName(value: string): Pyannote;
|
|
1189
1134
|
|
|
1190
1135
|
getMinAudioSize(): number;
|
|
1191
1136
|
setMinAudioSize(value: number): Pyannote;
|
|
1192
1137
|
|
|
1193
|
-
getOffset(): number;
|
|
1194
|
-
setOffset(value: number): Pyannote;
|
|
1195
|
-
|
|
1196
|
-
getOnset(): number;
|
|
1197
|
-
setOnset(value: number): Pyannote;
|
|
1198
|
-
|
|
1199
|
-
getLogScale(): boolean;
|
|
1200
|
-
setLogScale(value: boolean): Pyannote;
|
|
1201
|
-
|
|
1202
1138
|
getMinDurationOff(): number;
|
|
1203
1139
|
setMinDurationOff(value: number): Pyannote;
|
|
1204
1140
|
|
|
1205
1141
|
getMinDurationOn(): number;
|
|
1206
1142
|
setMinDurationOn(value: number): Pyannote;
|
|
1207
1143
|
|
|
1208
|
-
|
|
1144
|
+
getTritonServerHost(): string;
|
|
1145
|
+
setTritonServerHost(value: string): Pyannote;
|
|
1146
|
+
|
|
1147
|
+
getTritonServerPort(): number;
|
|
1148
|
+
setTritonServerPort(value: number): Pyannote;
|
|
1209
1149
|
|
|
1210
1150
|
serializeBinary(): Uint8Array;
|
|
1211
1151
|
toObject(includeInstance?: boolean): Pyannote.AsObject;
|
|
@@ -1217,44 +1157,12 @@ export class Pyannote extends jspb.Message {
|
|
|
1217
1157
|
|
|
1218
1158
|
export namespace Pyannote {
|
|
1219
1159
|
export type AsObject = {
|
|
1220
|
-
|
|
1160
|
+
modelName: string,
|
|
1221
1161
|
minAudioSize: number,
|
|
1222
|
-
offset: number,
|
|
1223
|
-
onset: number,
|
|
1224
|
-
logScale: boolean,
|
|
1225
1162
|
minDurationOff: number,
|
|
1226
1163
|
minDurationOn: number,
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
export enum OneofLogScaleCase {
|
|
1230
|
-
ONEOF_LOG_SCALE_NOT_SET = 0,
|
|
1231
|
-
LOG_SCALE = 5,
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
export class Matchbox extends jspb.Message {
|
|
1236
|
-
getModelConfig(): string;
|
|
1237
|
-
setModelConfig(value: string): Matchbox;
|
|
1238
|
-
|
|
1239
|
-
getEncoderPath(): string;
|
|
1240
|
-
setEncoderPath(value: string): Matchbox;
|
|
1241
|
-
|
|
1242
|
-
getDecoderPath(): string;
|
|
1243
|
-
setDecoderPath(value: string): Matchbox;
|
|
1244
|
-
|
|
1245
|
-
serializeBinary(): Uint8Array;
|
|
1246
|
-
toObject(includeInstance?: boolean): Matchbox.AsObject;
|
|
1247
|
-
static toObject(includeInstance: boolean, msg: Matchbox): Matchbox.AsObject;
|
|
1248
|
-
static serializeBinaryToWriter(message: Matchbox, writer: jspb.BinaryWriter): void;
|
|
1249
|
-
static deserializeBinary(bytes: Uint8Array): Matchbox;
|
|
1250
|
-
static deserializeBinaryFromReader(message: Matchbox, reader: jspb.BinaryReader): Matchbox;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
export namespace Matchbox {
|
|
1254
|
-
export type AsObject = {
|
|
1255
|
-
modelConfig: string,
|
|
1256
|
-
encoderPath: string,
|
|
1257
|
-
decoderPath: string,
|
|
1164
|
+
tritonServerHost: string,
|
|
1165
|
+
tritonServerPort: number,
|
|
1258
1166
|
}
|
|
1259
1167
|
}
|
|
1260
1168
|
|