Class YaspWord

java.lang.Object
  extended byYaspWord
All Implemented Interfaces:
java.lang.Cloneable

public class YaspWord
extends java.lang.Object
implements java.lang.Cloneable

Class representing a word.


Constructor Summary
YaspWord()
          Create an instance of YaspWord.
YaspWord(java.lang.String graphemes)
          Create an instance of YaspWord.
 
Method Summary
 java.lang.String accentuationToString()
           
 java.lang.Object clone()
           
 java.lang.String figuresToString()
           
 java.util.ArrayList getAccentuation()
          Return a String representating the accentuation of this YaspWord.
 int getAlliterationCode()
          Return an int representating the alliteration code of this YaspWord.
 int getAnaphorCode()
          Return an int representating the anaphor code of this YaspWord.
 int getEpipherCode()
          Return an int representating the epipher code of this YaspWord.
 java.lang.String getGraphemes()
          Get the graphemic representation of this YaspWord.
 java.util.ArrayList getPhonemes()
          Get the phonetic representation of this YaspWord.
 int getRepetitionCode()
          Return an int representating the repetition code of this YaspWord.
 java.util.ArrayList getSyllables()
          Get syllables of this YaspWord.
 java.lang.String phonsToString()
           
 void setAccentuation(java.util.ArrayList accentuation)
          Set the the accentuation of this YaspWord.
 void setAlliterationCode(int c)
          Set the the alliteration code of this YaspWord.
 void setAnaphorCode(int c)
          Set the the anaphor code of this YaspWord.
 void setEpipherCode(int c)
          Set the the epipher code of this YaspWord.
 void setGraphemes(java.lang.String graphemes)
          Set the the graphemic representation of this YaspWord.
 void setPhonemes(java.util.ArrayList phonemes)
          Set the the phonetic representation of this YaspWord.
 void setRepetitionCode(int c)
          Set the the repetition code of this YaspWord.
 void setSyllables(java.util.ArrayList syllables)
          Set the syllables of this YaspWord.
 java.lang.String syllsToString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YaspWord

public YaspWord()
Create an instance of YaspWord.


YaspWord

public YaspWord(java.lang.String graphemes)
Create an instance of YaspWord.

Method Detail

getGraphemes

public java.lang.String getGraphemes()
Get the graphemic representation of this YaspWord.

Returns:
The graphemic representation of this YaspWord.

setGraphemes

public void setGraphemes(java.lang.String graphemes)
Set the the graphemic representation of this YaspWord.

Parameters:
graphemes - Graphemic representation of this YaspWord.

getPhonemes

public java.util.ArrayList getPhonemes()
Get the phonetic representation of this YaspWord.

Returns:
The phonetic representation of this YaspWord.

setPhonemes

public void setPhonemes(java.util.ArrayList phonemes)
Set the the phonetic representation of this YaspWord.

Parameters:
phonemes - Phonetic representation of this YaspWord.

getSyllables

public java.util.ArrayList getSyllables()
Get syllables of this YaspWord.

Returns:
An ArrayList of Strings.

setSyllables

public void setSyllables(java.util.ArrayList syllables)
Set the syllables of this YaspWord.

Parameters:
syllables - An ArrayList of Strings.

getAccentuation

public java.util.ArrayList getAccentuation()
Return a String representating the accentuation of this YaspWord.

Returns:
The accentuation representation of this YaspWord.

setAccentuation

public void setAccentuation(java.util.ArrayList accentuation)
Set the the accentuation of this YaspWord.

Parameters:
accentuation - The accentuation of this YaspWord.

setAlliterationCode

public void setAlliterationCode(int c)
Set the the alliteration code of this YaspWord.

Parameters:
c - The alliteration code of this YaspWord.

getAlliterationCode

public int getAlliterationCode()
Return an int representating the alliteration code of this YaspWord.

Returns:
The alliteration code representation of this YaspWord.

setRepetitionCode

public void setRepetitionCode(int c)
Set the the repetition code of this YaspWord.

Parameters:
c - The repetition code of this YaspWord.

getRepetitionCode

public int getRepetitionCode()
Return an int representating the repetition code of this YaspWord.

Returns:
The repetition code representation of this YaspWord.

setAnaphorCode

public void setAnaphorCode(int c)
Set the the anaphor code of this YaspWord.

Parameters:
c - The anaphor code of this YaspWord.

getAnaphorCode

public int getAnaphorCode()
Return an int representating the anaphor code of this YaspWord.

Returns:
The anaphor code representation of this YaspWord.

setEpipherCode

public void setEpipherCode(int c)
Set the the epipher code of this YaspWord.

Parameters:
c - The epipher code of this YaspWord.

getEpipherCode

public int getEpipherCode()
Return an int representating the epipher code of this YaspWord.

Returns:
The epipher code representation of this YaspWord.

clone

public java.lang.Object clone()

toString

public java.lang.String toString()

figuresToString

public java.lang.String figuresToString()

syllsToString

public java.lang.String syllsToString()

phonsToString

public java.lang.String phonsToString()

accentuationToString

public java.lang.String accentuationToString()