de.dfki.lt.mary.unitselection.featureprocessors
Class MaryGenericFeatureProcessors.PrevAccent

java.lang.Object
  extended by de.dfki.lt.mary.unitselection.featureprocessors.MaryGenericFeatureProcessors.TobiAccent
      extended by de.dfki.lt.mary.unitselection.featureprocessors.MaryGenericFeatureProcessors.PrevAccent
All Implemented Interfaces:
ByteValuedFeatureProcessor, MaryFeatureProcessor
Enclosing class:
MaryGenericFeatureProcessors

public static class MaryGenericFeatureProcessors.PrevAccent
extends MaryGenericFeatureProcessors.TobiAccent

The previous ToBI accent preceding the current syllable in the current phrase.


Field Summary
protected  MaryGenericFeatureProcessors.TargetItemNavigator firstSyllableNavigator
           
 
Fields inherited from class de.dfki.lt.mary.unitselection.featureprocessors.MaryGenericFeatureProcessors.TobiAccent
name, navigator, values
 
Constructor Summary
MaryGenericFeatureProcessors.PrevAccent()
           
 
Method Summary
 byte process(Target target)
          Search for an accented syllable, and return its tobi accent, or 0 if there is none.
 
Methods inherited from class de.dfki.lt.mary.unitselection.featureprocessors.MaryGenericFeatureProcessors.TobiAccent
getName, getValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstSyllableNavigator

protected MaryGenericFeatureProcessors.TargetItemNavigator firstSyllableNavigator
Constructor Detail

MaryGenericFeatureProcessors.PrevAccent

public MaryGenericFeatureProcessors.PrevAccent()
Method Detail

process

public byte process(Target target)
Search for an accented syllable, and return its tobi accent, or 0 if there is none.

Specified by:
process in interface ByteValuedFeatureProcessor
Overrides:
process in class MaryGenericFeatureProcessors.TobiAccent