Skip to content

Commit f37ee06

Browse files
committed
chore: address the params interface for recognize
1 parent c81b706 commit f37ee06

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

speech-to-text/v1-generated.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3600,10 +3600,6 @@ namespace SpeechToTextV1 {
36003600
grammar_name?: string;
36013601
/** If `true`, the service redacts, or masks, numeric data from final transcripts. The feature redacts any number that has three or more consecutive digits by replacing each digit with an `X` character. It is intended to redact sensitive numeric data, such as credit card numbers. By default, the service performs no redaction. When you enable redaction, the service automatically enables smart formatting, regardless of whether you explicitly disable that feature. To ensure maximum security, the service also disables keyword spotting (ignores the `keywords` and `keywords_threshold` parameters) and returns only a single final transcript (forces the `max_alternatives` parameter to be `1`). **Note:** Applies to US English, Japanese, and Korean transcription only. See [Numeric redaction](https://cloud.ibm.com/docs/services/speech-to-text?topic=speech-to-text-output#redaction). */
36023602
redaction?: boolean;
3603-
/** If `true`, requests processing metrics about the service's transcription of the input audio. The service returns processing metrics at the interval specified by the `processing_metrics_interval` parameter. It also returns processing metrics for transcription events, for example, for final and interim results. By default, the service returns no processing metrics. */
3604-
processing_metrics?: boolean;
3605-
/** Specifies the interval in real wall-clock seconds at which the service is to return processing metrics. The parameter is ignored unless the `processing_metrics` parameter is set to `true`. The parameter accepts a minimum value of 0.1 seconds. The level of precision is not restricted, so you can specify values such as 0.25 and 0.125. The service does not impose a maximum value. If you want to receive processing metrics only for transcription events instead of at periodic intervals, set the value to a large number. If the value is larger than the duration of the audio, the service returns processing metrics only for transcription events. */
3606-
processing_metrics_interval?: number;
36073603
/** If `true`, requests detailed information about the signal characteristics of the input audio. The service returns audio metrics with the final transcription results. By default, the service returns no audio metrics. */
36083604
audio_metrics?: boolean;
36093605
/** The format (MIME type) of the audio. For more information about specifying an audio format, see **Audio formats (content types)** in the method description. */

test/integration/compare_comply.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('compare_comply_integration', () => {
2727
});
2828

2929
describe('elementClassification', () => {
30-
test('classifyElements', done => {
30+
test('classifyElements @slow', done => {
3131
const params = {
3232
file: fs.createReadStream(__dirname + '/../resources/TestTable.pdf'),
3333
filename: 'TestTable.pdf',

0 commit comments

Comments
 (0)