Class WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder
- Enclosing interface:
WatsonSpeechToTextEndpointBuilderFactory
public static class WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder
extends Object
The builder of headers' name for the IBM Watson Speech to Text component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe audio file to transcribe.The audio format (e.g., audio/wav, audio/mp3, audio/flac).The language for filtering models.The language model to use for recognition.The name of the model to retrieve.The operation to perform.Whether to identify different speakers.Whether to include timestamps in the transcription.The transcription result text.Whether to include word confidence scores.
-
Constructor Details
-
WatsonSpeechToTextHeaderNameBuilder
public WatsonSpeechToTextHeaderNameBuilder()
-
-
Method Details
-
iBMWatsonSTTOperation
The operation to perform. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTOperation.
-
iBMWatsonSTTAudioFile
The audio file to transcribe. The option is a:java.io.Filetype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTAudioFile.
-
iBMWatsonSTTModel
The language model to use for recognition. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTModel.
-
iBMWatsonSTTContentType
The audio format (e.g., audio/wav, audio/mp3, audio/flac). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTContentType.
-
iBMWatsonSTTTimestamps
Whether to include timestamps in the transcription. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTTimestamps.
-
iBMWatsonSTTWordConfidence
Whether to include word confidence scores. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTWordConfidence.
-
iBMWatsonSTTSpeakerLabels
Whether to identify different speakers. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTSpeakerLabels.
-
iBMWatsonSTTModelName
The name of the model to retrieve. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTModelName.
-
iBMWatsonSTTLanguage
The language for filtering models. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTLanguage.
-
iBMWatsonSTTTranscript
The transcription result text. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonSTTTranscript.
-