A C D E F G H I J L M N P R S T U V W X Y

A

ACCENTUATED_PRAEFIXES - Static variable in class Global
 
ACCENTUATED_SUFFIXES - Static variable in class Global
 
AFFRICATES - Static variable in class Global
 
ANAPAEST - Static variable in class Global
 
Accentuator - class Accentuator.
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.
Accentuator() - Constructor for class Accentuator
Create a new instance of Accentuator.
accentuate(YaspWord) - Method in class Accentuator
Process the accentuation of a given YaspWord instance and write the result to that YaspWord.
accentuationToString() - Method in class YaspPoem
 
accentuationToString() - Method in class YaspStanza
 
accentuationToString() - Method in class YaspVerse
 
accentuationToString() - Method in class YaspWord
 
addItem(YaspWord) - Method in class Lexicon
Adds an item to the lexicon.
addToAlliterationList(int[]) - Method in class Figure
Add an alliteration in the poem to the alliteration list.
addToAnaphorList(int[]) - Method in class Figure
Add an occurrence of an anaphor in the current poem to the anaphora list.
addToEpipherList(int[]) - Method in class Figure
Add an occurrence of an epipher in the current poem to the epipher list.
addToRepetitionList(int[]) - Method in class Figure
Add a repetition in the poem to the repetition list.

C

CHECKED_VOWELS - Static variable in class Global
 
characters(char[], int, int) - Method in class LexiconParser
Handler-Method characters.
clone() - Method in class YaspWord
 

D

DAKTYLUS - Static variable in class Global
 
detectFigures(YaspPoem) - Method in class Figure
Detect figures on the given instance of YaspPoem.
detectMeasure(YaspPoem) - Method in class MeasureDetective
Processes the Measure of a given YaspPoem and writes it to YaspVerse.
detectRhymes(YaspPoem) - Method in class RhymeDetective
Detect the rhyme scheme of the YaspPoem and set it to the poem.

E

END_OF_POEM - Static variable in class YaspToken
 
endElement(String, String, String) - Method in class LexiconParser
Handler-Method endElement

F

FILE_SEPARATOR - Static variable in class Global
 
FRICATIVES - Static variable in class Global
 
Figure - class Figure.
A Figure object contains rhetorical figures about a YaspPoem.
Figure(YaspPoem) - Constructor for class Figure
Create an instance of Figure.
Figure() - Constructor for class Figure
Create an instance of Figure.
FigureProcessor - class FigureProcessor.
A FigureProcessor object determines rhetorical figures in a YaspPoem.
FigureProcessor(Figure) - Constructor for class FigureProcessor
Create an new instance of FigureProcessor.
figuresToString() - Method in class YaspPoem
 
figuresToString() - Method in class YaspStanza
 
figuresToString() - Method in class YaspVerse
 
figuresToString() - Method in class YaspWord
 

G

G2PRuleReadProcessor - class G2PRuleReadProcessor.
A G2PRuleReadProcessor reads in an XML representation of a tree, representing grapheme-2-phoneme translation rules.
G2PRuleReadProcessor() - Constructor for class G2PRuleReadProcessor
Create an instance of G2PRuleReadProcessor.
G2PRuleReader - class G2PRuleReader.
A G2PRuleReader reads in an XML representation of a tree that contains grapheme-2-phoneme translation rules.
G2PRuleReader() - Constructor for class G2PRuleReader
 
Global - class Global.
A class with (useful) global variables.
Global() - Constructor for class Global
 
getAccentuation() - Method in class YaspWord
Return a String representating the accentuation of this YaspWord.
getAlikeVowels(String) - Static method in class Global
 
getAllitCode() - Method in class Figure
Get the current alliteration code.
getAlliterationCode() - Method in class YaspWord
Return an int representating the alliteration code of this YaspWord.
getAlliterationList() - Method in class Figure
Return the list of alliterations in poem.
getAnaphCode() - Method in class Figure
Get the current anaphora code.
getAnaphorCode() - Method in class YaspWord
Return an int representating the anaphor code of this YaspWord.
getAnaphorList() - Method in class Figure
Return the list of anaphora in the poem this instance processes.
getEpiphCode() - Method in class Figure
Get the current epipher code.
getEpipherCode() - Method in class YaspWord
Return an int representating the epipher code of this YaspWord.
getEpipherList() - Method in class Figure
Return the list of epiphers in this poem.
getGraphemes() - Method in class YaspWord
Get the graphemic representation of this YaspWord.
getItem(String) - Method in class Lexicon
Looks for a given string as a graphemic representation in the lexicon, returning the item as a YaspWord.
getLenisFortisComplement(String) - Static method in class Global
Given a lenis consonant, return the equivalent fortis consonant and vice versa.
getMeasure() - Method in class YaspVerse
 
getNewAllitCode() - Method in class Figure
Get the current alliteration code increased by 1.
getNewAnaphCode() - Method in class Figure
 
getNewEpiphCode() - Method in class Figure
 
getNewRepCode() - Method in class Figure
 
getPatternHash() - Method in class Hyphenator
Get patterns of this Hyphenator instance.
getPhonemes() - Method in class YaspWord
Get the phonetic representation of this YaspWord.
getRepCode() - Method in class Figure
Get the current repetition code.
getRepetitionCode() - Method in class YaspWord
Return an int representating the repetition code of this YaspWord.
getRepetitionList() - Method in class Figure
Return the list of repetitions in poem.
getRhymeId() - Method in class YaspVerse
 
getRhymeScheme() - Method in class YaspPoem
 
getStanzaNumber() - Method in class Figure
Return the number of stanzas in the poem this instance processes.
getSyllables() - Method in class YaspWord
Get syllables of this YaspWord.
getType() - Method in class YaspToken
Return the type of this YaspToken.
getValueHash() - Method in class G2PRuleReadProcessor
 
getVerbose() - Static method in class YaspApplication
 
getVowels() - Method in class Hyphenator
Return the String of German vowels that this instance uses.
getWord() - Method in class YaspToken
Return the value of this YaspToken.
getYaspPoem() - Method in class Figure
Get the YaspPoem this Figure instance processes.
getYaspPoem() - Method in class YaspPoemProcessor
Process a given YaspToken source and make it a YaspPoem.

H

Hyphenator - class Hyphenator.
A Hyphenator object hyphenates a given word based on a Tex Pattern file.
Hyphenator() - Constructor for class Hyphenator
Create an instance of Hyphenator.
hasMoreTokens() - Method in class PoemTokenizer
Helper method hasMoreTokens checks if the current position in the private tokenList is not at the end
hyphenate(String) - Method in class Hyphenator
 
hyphenate(YaspWord) - Method in class Hyphenator
The heart of the algorithm.

I

isTitle() - Method in class YaspStanza
 
isWord() - Method in class YaspToken
Return whether this YaspToken is a word.

J

JAMBUS - Static variable in class Global
 

L

LINE_SEPARATOR - Static variable in class Global
 
Lexicon - class Lexicon.
Our lexicon (mainly for cases in which hyphenation etc. is difficult, for example).
Lexicon() - Constructor for class Lexicon
Create an instance of Lexicon.
LexiconParser - class LexiconParser.
A LexiconParser parses an XML lexicon.
LexiconParser() - Constructor for class LexiconParser
 
lenisFortis - Static variable in class Global
 
lexiconFile - Static variable in class Global
Path to lexicon file.

M

MeasureDetective - class MeasureDetective.
 
MeasureDetective() - Constructor for class MeasureDetective
Create a new instance of MeasureDetective.
main(String[]) - Static method in class Accentuator
 
main(String[]) - Static method in class PoemGui
 
main(String[]) - Static method in class YaspApplication
 
makeNodes(BufferedReader) - Method in class G2PRuleReader
Read in XML file and create a decision tree for each grapheme.
makePoem(String) - Method in class YaspApplication
Take a filename and process a YaspPoem

N

NULL_SYMBOL - Static variable in class Global
 
NUMBER_OF_MEASURE_SCHEMES - Static variable in class Global
 
nextToken() - Method in class PoemTokenizer
Helper method nextToken delivers next token of the private tokenList, if this.hasMoreTokens() returns true

P

PATH_SEPARATOR - Static variable in class Global
 
PLOSIVES - Static variable in class Global
 
Phonemator - class Phonemator.
A Phonemator generates a phonetic representation of a German word based on the graphemic representation.
Phonemator() - Constructor for class Phonemator
Create an instance of Phonemator.
PoemGui - class PoemGui.
A graphical user interface for our Yasp tool.
PoemGui() - Constructor for class PoemGui
Create an instance of PoemGui.
PoemTokenizer - class PoemTokenizer.
Class representing a PoemTokenizer.
PoemTokenizer() - Constructor for class PoemTokenizer
Create an instance of PoemTokenizer.
phonemate(YaspWord) - Method in class Phonemator
Can only be called on a hyphenated YaspWord.
phonsToString() - Method in class YaspPoem
 
phonsToString() - Method in class YaspStanza
 
phonsToString() - Method in class YaspVerse
 
phonsToString() - Method in class YaspWord
 
printLexicon() - Method in class Lexicon
Print all the entries of the lexicon.
printTitle() - Method in class YaspStanza
Print the title of the poem.
printVerboseMsg(String, boolean) - Static method in class YaspApplication
 
processYaspPoem(YaspPoem) - Method in class YaspPoemProcessor
Process a YaspPoem.

R

RhymeDetective - class RhymeDetective.
A RhymeDetective detects the rhyme of a YaspPoem.
RhymeDetective() - Constructor for class RhymeDetective
Create an instance of RhymeDetective.
readTree(BufferedReader) - Method in class G2PRuleReadProcessor
Read in tree from XML file.
rulesFile - Static variable in class Global
Path to rule file.
run() - Method in class Figure
Process the current poem, finding all rhetorical figures contained in it.
run() - Method in class FigureProcessor
Search for rhetorical figures in the given YaspPoem.

S

SCHWA_VOWELS - Static variable in class Global
 
SONORANTS - Static variable in class Global
 
STANZA_SEPARATOR - Static variable in class YaspToken
 
STRESSED - Static variable in class Global
 
setAccentuation(ArrayList) - Method in class YaspWord
Set the the accentuation of this YaspWord.
setAlliterationCode(int) - Method in class YaspWord
Set the the alliteration code of this YaspWord.
setAlliterationList(ArrayList) - Method in class Figure
 
setAnaphorCode(int) - Method in class YaspWord
Set the the anaphor code of this YaspWord.
setAnaphorList(ArrayList) - Method in class Figure
 
setAuftakt(boolean) - Method in class YaspVerse
 
setEpipherCode(int) - Method in class YaspWord
Set the the epipher code of this YaspWord.
setEpipherList(ArrayList) - Method in class Figure
 
setGraphemes(String) - Method in class YaspWord
Set the the graphemic representation of this YaspWord.
setLexicon(Lexicon) - Method in class LexiconParser
Adds the YaspWords to a given Lexicon it receives after parsing the xml-Lexicon-file at "lexiconPath".
setMeasure(int) - Method in class YaspVerse
set the measure of this YaspVerse
setPatternHash(HashMap) - Method in class Hyphenator
Set patterns that are necessary for hyphenation.
setPhonemes(ArrayList) - Method in class YaspWord
Set the the phonetic representation of this YaspWord.
setPoemSource(FileReader) - Method in class PoemTokenizer
Separate words from meta information such as stanza and verse.
setRepetitionCode(int) - Method in class YaspWord
Set the the repetition code of this YaspWord.
setRepetitionList(ArrayList) - Method in class Figure
 
setRhymeId(String) - Method in class YaspVerse
 
setRhymeScheme(String) - Method in class YaspPoem
 
setSource(FileReader) - Method in class YaspPoemProcessor
Set the source file for processing.
setStanzaNumber(int) - Method in class Figure
 
setSyllables(ArrayList) - Method in class YaspWord
Set the syllables of this YaspWord.
setTitle(boolean) - Method in class YaspStanza
Set true if stanza has title.
setType(char) - Method in class YaspToken
Set the type of this YaspToken.
setVerbose(boolean) - Static method in class YaspApplication
Set verbose / non-verbose mode.
setWord(String) - Method in class YaspToken
Set the value of this YaspToken.
setYaspPoem(YaspPoem) - Method in class Figure
Set the YaspPoem this Figure instance is supposed to process.
setYaspWord(String) - Method in class YaspWordProcessor
Checks the lexicon for a given word.
startElement(String, String, String, Attributes) - Method in class LexiconParser
Handler-Method startElement
syllsToString() - Method in class YaspPoem
 
syllsToString() - Method in class YaspStanza
 
syllsToString() - Method in class YaspVerse
 
syllsToString() - Method in class YaspWord
 

T

TENSE_VOWELS - Static variable in class Global
 
TROCHAEUS - Static variable in class Global
 
texFile - Static variable in class Global
Path to Tex file.
toPhoneticSyllableList() - Method in class YaspVerse
 
toRhymeString() - Method in class YaspPoem
 
toRhymeString() - Method in class YaspVerse
 
toString() - Method in class YaspPoem
 
toString() - Method in class YaspStanza
 
toString() - Method in class YaspToken
 
toString() - Method in class YaspVerse
 
toString() - Method in class YaspWord
 
toVerseList(boolean) - Method in class YaspPoem
 
toXML(YaspPoem) - Method in class XMLOutput
Make some funny xml-code out of a given YaspPoem.
toXMLFile(String) - Method in class XMLOutput
Take the xml output of this.toXML() and write it to a file.
translate(G2PRuleReadProcessor, String, int) - Method in class G2PRuleReadProcessor
Translate a grapheme into a phoneme.
translateString(HashMap, String) - Method in class G2PRuleReader
Translate a string (!)

U

UNACCENTUATED_PRAEFIXES - Static variable in class Global
 
UNDEF - Static variable in class YaspToken
 
UNDEF_STRESS - Static variable in class Global
 
UNSTRESSED - Static variable in class Global
 

V

VERSE_SEPARATOR - Static variable in class YaspToken
 
VOWEL_GRAPHS - Static variable in class Global
 

W

WORD - Static variable in class YaspToken
 
walk(G2PRuleReadProcessor) - Method in class G2PRuleReadProcessor
Print out the decision tree.
windowActivated(WindowEvent) - Method in class PoemGui
 
windowClosed(WindowEvent) - Method in class PoemGui
 
windowClosing(WindowEvent) - Method in class PoemGui
 
windowDeactivated(WindowEvent) - Method in class PoemGui
 
windowDeiconified(WindowEvent) - Method in class PoemGui
 
windowIconified(WindowEvent) - Method in class PoemGui
 
windowOpened(WindowEvent) - Method in class PoemGui
 

X

XMLOutput - class XMLOutput.
 
XMLOutput() - Constructor for class XMLOutput
Create an instance of XMLOutput.

Y

YaspApplication - class YaspApplication.
Our main function.
YaspApplication() - Constructor for class YaspApplication
Create an instance of YaspApplication.
YaspPoem - class YaspPoem.
Class representing a poem.
YaspPoem() - Constructor for class YaspPoem
Create an instance of YaspPoem.
YaspPoemProcessor - class YaspPoemProcessor.
Processes a YaspPoem. i.e. attach measure and rhyme scheme.
YaspPoemProcessor() - Constructor for class YaspPoemProcessor
Create an instance of YaspPoemProcessor.
YaspStanza - class YaspStanza.
Class representing a stanza.
YaspStanza() - Constructor for class YaspStanza
Create an instance of YaspStanza.
YaspToken - class YaspToken.
Class representing a token.
YaspToken() - Constructor for class YaspToken
Create an instance of YaspToken.
YaspToken(char) - Constructor for class YaspToken
Create an instance of YaspToken.
YaspToken(String) - Constructor for class YaspToken
Create an instance of YaspToken.
YaspVerse - class YaspVerse.
Class representing a verse.
YaspVerse() - Constructor for class YaspVerse
Create an instance of YaspVerse.
YaspWord - class YaspWord.
Class representing a word.
YaspWord() - Constructor for class YaspWord
Create an instance of YaspWord.
YaspWord(String) - Constructor for class YaspWord
Create an instance of YaspWord.
YaspWordProcessor - class YaspWordProcessor.
Processes the words of its word source.
YaspWordProcessor() - Constructor for class YaspWordProcessor
Create an instance of YaspWordProcessor.
yaspHome - Static variable in class Global
YASP home directory

A C D E F G H I J L M N P R S T U V W X Y