public class TFWakewordKeywordASR extends Object implements PipelineProfile
KeywordRecognizer
will act
as the ASR component, only transcribing utterances contained in its
vocabulary. Properties related to signal processing are
tuned for the "Spokestack" wakeword.
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.
Wakeword detection requires configuration to locate the models used for classification; these properties must be set separately from this profile:
The keyword detector also requires configuration:
keyword-classes
is not supplied.
keyword-metadata-path
is not supplied.
WakewordTrigger
,
KeywordRecognizer
Constructor and Description |
---|
TFWakewordKeywordASR() |
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)
PipelineProfile
apply
in interface PipelineProfile
builder
- The builder to which the profile should be applied.Copyright © 2021. All rights reserved.