@ondewo/s2t-client-typescript 5.4.0 → 5.5.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 -136
- package/api/ondewo/s2t/speech-to-text_pb.js +448 -1159
- 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 {
|
|
@@ -779,16 +794,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
779
794
|
getType(): string;
|
|
780
795
|
setType(value: string): AcousticModels;
|
|
781
796
|
|
|
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
797
|
getWav2vec(): Wav2Vec | undefined;
|
|
793
798
|
setWav2vec(value?: Wav2Vec): AcousticModels;
|
|
794
799
|
hasWav2vec(): boolean;
|
|
@@ -820,8 +825,6 @@ export class AcousticModels extends jspb.Message {
|
|
|
820
825
|
export namespace AcousticModels {
|
|
821
826
|
export type AsObject = {
|
|
822
827
|
type: string,
|
|
823
|
-
quartznet?: Quartznet.AsObject,
|
|
824
|
-
quartznetTriton?: QuartznetTriton.AsObject,
|
|
825
828
|
wav2vec?: Wav2Vec.AsObject,
|
|
826
829
|
wav2vecTriton?: Wav2VecTriton.AsObject,
|
|
827
830
|
whisper?: Whisper.AsObject,
|
|
@@ -839,6 +842,9 @@ export class Whisper extends jspb.Message {
|
|
|
839
842
|
getLanguage(): string;
|
|
840
843
|
setLanguage(value: string): Whisper;
|
|
841
844
|
|
|
845
|
+
getTask(): string;
|
|
846
|
+
setTask(value: string): Whisper;
|
|
847
|
+
|
|
842
848
|
serializeBinary(): Uint8Array;
|
|
843
849
|
toObject(includeInstance?: boolean): Whisper.AsObject;
|
|
844
850
|
static toObject(includeInstance: boolean, msg: Whisper): Whisper.AsObject;
|
|
@@ -852,6 +858,7 @@ export namespace Whisper {
|
|
|
852
858
|
modelPath: string,
|
|
853
859
|
useGpu: boolean,
|
|
854
860
|
language: string,
|
|
861
|
+
task: string,
|
|
855
862
|
}
|
|
856
863
|
}
|
|
857
864
|
|
|
@@ -868,6 +875,18 @@ export class WhisperTriton extends jspb.Message {
|
|
|
868
875
|
getCheckStatusTimeout(): number;
|
|
869
876
|
setCheckStatusTimeout(value: number): WhisperTriton;
|
|
870
877
|
|
|
878
|
+
getLanguage(): string;
|
|
879
|
+
setLanguage(value: string): WhisperTriton;
|
|
880
|
+
|
|
881
|
+
getTask(): string;
|
|
882
|
+
setTask(value: string): WhisperTriton;
|
|
883
|
+
|
|
884
|
+
getTritonServerHost(): string;
|
|
885
|
+
setTritonServerHost(value: string): WhisperTriton;
|
|
886
|
+
|
|
887
|
+
getTritonServerPort(): number;
|
|
888
|
+
setTritonServerPort(value: number): WhisperTriton;
|
|
889
|
+
|
|
871
890
|
serializeBinary(): Uint8Array;
|
|
872
891
|
toObject(includeInstance?: boolean): WhisperTriton.AsObject;
|
|
873
892
|
static toObject(includeInstance: boolean, msg: WhisperTriton): WhisperTriton.AsObject;
|
|
@@ -882,6 +901,10 @@ export namespace WhisperTriton {
|
|
|
882
901
|
tritonModelName: string,
|
|
883
902
|
tritonModelVersion: string,
|
|
884
903
|
checkStatusTimeout: number,
|
|
904
|
+
language: string,
|
|
905
|
+
task: string,
|
|
906
|
+
tritonServerHost: string,
|
|
907
|
+
tritonServerPort: number,
|
|
885
908
|
}
|
|
886
909
|
}
|
|
887
910
|
|
|
@@ -920,6 +943,12 @@ export class Wav2VecTriton extends jspb.Message {
|
|
|
920
943
|
getCheckStatusTimeout(): number;
|
|
921
944
|
setCheckStatusTimeout(value: number): Wav2VecTriton;
|
|
922
945
|
|
|
946
|
+
getTritonServerHost(): string;
|
|
947
|
+
setTritonServerHost(value: string): Wav2VecTriton;
|
|
948
|
+
|
|
949
|
+
getTritonServerPort(): number;
|
|
950
|
+
setTritonServerPort(value: number): Wav2VecTriton;
|
|
951
|
+
|
|
923
952
|
serializeBinary(): Uint8Array;
|
|
924
953
|
toObject(includeInstance?: boolean): Wav2VecTriton.AsObject;
|
|
925
954
|
static toObject(includeInstance: boolean, msg: Wav2VecTriton): Wav2VecTriton.AsObject;
|
|
@@ -934,44 +963,8 @@ export namespace Wav2VecTriton {
|
|
|
934
963
|
tritonModelName: string,
|
|
935
964
|
tritonModelVersion: string,
|
|
936
965
|
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,
|
|
966
|
+
tritonServerHost: string,
|
|
967
|
+
tritonServerPort: number,
|
|
975
968
|
}
|
|
976
969
|
}
|
|
977
970
|
|
|
@@ -1015,32 +1008,6 @@ export namespace CkptFile {
|
|
|
1015
1008
|
}
|
|
1016
1009
|
}
|
|
1017
1010
|
|
|
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
1011
|
export class LanguageModels extends jspb.Message {
|
|
1045
1012
|
getPath(): string;
|
|
1046
1013
|
setPath(value: string): LanguageModels;
|
|
@@ -1161,11 +1128,6 @@ export class VoiceActivityDetection extends jspb.Message {
|
|
|
1161
1128
|
hasPyannote(): boolean;
|
|
1162
1129
|
clearPyannote(): VoiceActivityDetection;
|
|
1163
1130
|
|
|
1164
|
-
getMatchbox(): Matchbox | undefined;
|
|
1165
|
-
setMatchbox(value?: Matchbox): VoiceActivityDetection;
|
|
1166
|
-
hasMatchbox(): boolean;
|
|
1167
|
-
clearMatchbox(): VoiceActivityDetection;
|
|
1168
|
-
|
|
1169
1131
|
serializeBinary(): Uint8Array;
|
|
1170
1132
|
toObject(includeInstance?: boolean): VoiceActivityDetection.AsObject;
|
|
1171
1133
|
static toObject(includeInstance: boolean, msg: VoiceActivityDetection): VoiceActivityDetection.AsObject;
|
|
@@ -1179,33 +1141,27 @@ export namespace VoiceActivityDetection {
|
|
|
1179
1141
|
active: string,
|
|
1180
1142
|
samplingRate: number,
|
|
1181
1143
|
pyannote?: Pyannote.AsObject,
|
|
1182
|
-
matchbox?: Matchbox.AsObject,
|
|
1183
1144
|
}
|
|
1184
1145
|
}
|
|
1185
1146
|
|
|
1186
1147
|
export class Pyannote extends jspb.Message {
|
|
1187
|
-
|
|
1188
|
-
|
|
1148
|
+
getModelName(): string;
|
|
1149
|
+
setModelName(value: string): Pyannote;
|
|
1189
1150
|
|
|
1190
1151
|
getMinAudioSize(): number;
|
|
1191
1152
|
setMinAudioSize(value: number): Pyannote;
|
|
1192
1153
|
|
|
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
1154
|
getMinDurationOff(): number;
|
|
1203
1155
|
setMinDurationOff(value: number): Pyannote;
|
|
1204
1156
|
|
|
1205
1157
|
getMinDurationOn(): number;
|
|
1206
1158
|
setMinDurationOn(value: number): Pyannote;
|
|
1207
1159
|
|
|
1208
|
-
|
|
1160
|
+
getTritonServerHost(): string;
|
|
1161
|
+
setTritonServerHost(value: string): Pyannote;
|
|
1162
|
+
|
|
1163
|
+
getTritonServerPort(): number;
|
|
1164
|
+
setTritonServerPort(value: number): Pyannote;
|
|
1209
1165
|
|
|
1210
1166
|
serializeBinary(): Uint8Array;
|
|
1211
1167
|
toObject(includeInstance?: boolean): Pyannote.AsObject;
|
|
@@ -1217,44 +1173,12 @@ export class Pyannote extends jspb.Message {
|
|
|
1217
1173
|
|
|
1218
1174
|
export namespace Pyannote {
|
|
1219
1175
|
export type AsObject = {
|
|
1220
|
-
|
|
1176
|
+
modelName: string,
|
|
1221
1177
|
minAudioSize: number,
|
|
1222
|
-
offset: number,
|
|
1223
|
-
onset: number,
|
|
1224
|
-
logScale: boolean,
|
|
1225
1178
|
minDurationOff: number,
|
|
1226
1179
|
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,
|
|
1180
|
+
tritonServerHost: string,
|
|
1181
|
+
tritonServerPort: number,
|
|
1258
1182
|
}
|
|
1259
1183
|
}
|
|
1260
1184
|
|