public static class MaryLanguageFeatureProcessors.WordFrequency extends Object implements ByteValuedFeatureProcessor
| Modifier and Type | Field and Description |
|---|---|
protected MaryGenericFeatureProcessors.TargetElementNavigator |
navigator |
protected ByteStringTranslator |
values |
protected FSTLookup |
wordFrequencies |
| Constructor and Description |
|---|
WordFrequency(InputStream inStream,
String identifier,
String encoding) |
| 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)
Performs some processing on the given item.
|
protected MaryGenericFeatureProcessors.TargetElementNavigator navigator
protected ByteStringTranslator values
protected FSTLookup wordFrequencies
public WordFrequency(InputStream inStream, String identifier, String encoding)
public String getName()
getName in interface MaryFeatureProcessorpublic String[] getValues()
ByteValuedFeatureProcessorgetValues in interface ByteValuedFeatureProcessorpublic byte process(Target target)
process in interface ByteValuedFeatureProcessortarget - the target to processCopyright © 2000–2022 DFKI GmbH. All rights reserved.