public interface PipelineProfile
SpeechPipeline
more convenient.
Profiles are not authoritative; they act just like calling a series of
methods on a SpeechPipeline.Builder
, and any configuration
properties they set can be overridden by subsequent calls.
Pipeline profiles must not require arguments in their constructors.
Modifier and Type | Method and Description |
---|---|
SpeechPipeline.Builder |
apply(SpeechPipeline.Builder builder)
Apply this profile to the pipeline builder.
|
SpeechPipeline.Builder apply(SpeechPipeline.Builder builder)
builder
- The builder to which the profile should be applied.Copyright © 2020. All rights reserved.