Class Accentuator

java.lang.Object
  extended byAccentuator

public class Accentuator
extends java.lang.Object

The accentuation rules used in this class are based on the paper by Petra Wagner: "Systematische Ueberpruefung deutscher Wortbetonungsregeln"
First, the word is preprocessed, cutting off the "Schwa"-syllable at the end. Then the last syllable is examined, whether it is "schwer". If so, it gets the accentuation, if not, the first non-"Schwa"-syllable from the right gets the accentuation. (For a definition of "schwere Silbe", see Petra Wagner, p.2)
Thus, there is only one "Hauptakzent", no "Nebenakzent" is recognized (for the time being). So, "Komposita" are somewhat problematic ...


Constructor Summary
Accentuator()
          Create a new instance of Accentuator.
 
Method Summary
 void accentuate(YaspWord word)
          Process the accentuation of a given YaspWord instance and write the result to that YaspWord.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Accentuator

public Accentuator()
Create a new instance of Accentuator.

Method Detail

accentuate

public void accentuate(YaspWord word)
Process the accentuation of a given YaspWord instance and write the result to that YaspWord.


main

public static void main(java.lang.String[] args)