public static class MaryGenericFeatureProcessors.TobiEndtone extends Object implements ByteValuedFeatureProcessor
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected MaryGenericFeatureProcessors.TargetElementNavigator |
navigator |
protected ByteStringTranslator |
values |
| Constructor and Description |
|---|
TobiEndtone(String name,
MaryGenericFeatureProcessors.TargetElementNavigator syllableNavigator) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String[] |
getValues()
List the possible values of the feature processor, as clear-text values.
|
byte |
process(Target target)
For the given syllable item, return its tobi end tone, or 0 if there is none.
|
protected String name
protected MaryGenericFeatureProcessors.TargetElementNavigator navigator
protected ByteStringTranslator values
public TobiEndtone(String name, MaryGenericFeatureProcessors.TargetElementNavigator syllableNavigator)
public String getName()
getName in interface MaryFeatureProcessorpublic String[] getValues()
ByteValuedFeatureProcessorgetValues in interface ByteValuedFeatureProcessorpublic byte process(Target target)
process in interface ByteValuedFeatureProcessorCopyright © 2000–2022 DFKI GmbH. All rights reserved.