public class VADTriggerKeywordASR extends Object implements PipelineProfile
KeywordRecognizer acts as the ASR
component, only transcribing utterances contained in its vocabulary.
The activation period ends either:
VoiceActivityDetector's
configuration, or
ActivationTimeout
If no valid keyword is detected during the activation period, a timeout event will be dispatched.
The components in this profile process speech entirely on the local device; no cloud components are involved.
The keyword detector requires extra configuration, which must be added to the pipeline build process separately from this profile:
keyword-classes is not supplied.
keyword-metadata-path
is not supplied.
KeywordRecognizer| Constructor and Description |
|---|
VADTriggerKeywordASR() |
| Modifier and Type | Method and Description |
|---|---|
SpeechPipeline.Builder |
apply(SpeechPipeline.Builder builder)
Apply this profile to the pipeline builder.
|
public SpeechPipeline.Builder apply(SpeechPipeline.Builder builder)
PipelineProfileapply in interface PipelineProfilebuilder - The builder to which the profile should be applied.Copyright © 2021. All rights reserved.