public class VADTriggerAndroidASR extends Object implements PipelineProfile
SpeechRecognizer API for ASR.
Using Android's built-in ASR requires that an Android Context object
be attached to the speech pipeline using it. This must be done separately
from profile application, using SpeechPipeline.Builder#setAndroidContext(android.content.Context).
AndroidSpeechRecognizer| Constructor and Description |
|---|
VADTriggerAndroidASR() |
| 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.