Class Word

java.lang.Object
  extended by Word

public class Word
extends java.lang.Object


Field Summary
static java.lang.String LETTERS
           
 
Constructor Summary
Word()
           
Word(java.lang.String content)
           
Word(java.lang.String content, int lang)
           
Word(java.lang.String content, java.lang.String pos, java.lang.String verbType, int gender, int number, java.lang.String stem, int lang)
           
 
Method Summary
 int determineGender(java.lang.String[][] dict)
           
 int determineNumber(java.lang.String[][] dict)
           
 java.lang.String determinePOS(java.lang.String[][] dict)
           
 java.lang.String determineStem(java.lang.String[][] dict)
           
 java.lang.String determineVerbType(java.lang.String[][] dict)
           
 void display()
           
 void displayWordsOnly()
           
 java.lang.String getContent()
           
 int getGender()
           
 int getLang()
           
 int getNumber()
           
 java.lang.String getPOS()
           
 java.lang.String getStem()
           
 java.lang.String getVerbType()
           
static int isInDictionary(java.lang.String stem, java.lang.String[][] dict)
           
 void setContent(java.lang.String content)
           
 void setGender(int gender)
           
 void setLang(int lang)
           
 void setNumber(int number)
           
 void setPOS(java.lang.String pos)
           
 void setStem(java.lang.String stem)
           
 void setVerbType(java.lang.String verbType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LETTERS

public static java.lang.String LETTERS
Constructor Detail

Word

public Word()

Word

public Word(java.lang.String content)

Word

public Word(java.lang.String content,
            int lang)

Word

public Word(java.lang.String content,
            java.lang.String pos,
            java.lang.String verbType,
            int gender,
            int number,
            java.lang.String stem,
            int lang)
Method Detail

setContent

public void setContent(java.lang.String content)

setPOS

public void setPOS(java.lang.String pos)

setVerbType

public void setVerbType(java.lang.String verbType)

setGender

public void setGender(int gender)

setNumber

public void setNumber(int number)

setStem

public void setStem(java.lang.String stem)

setLang

public void setLang(int lang)

getContent

public java.lang.String getContent()

getPOS

public java.lang.String getPOS()

getVerbType

public java.lang.String getVerbType()

getGender

public int getGender()

getNumber

public int getNumber()

getStem

public java.lang.String getStem()

getLang

public int getLang()

display

public void display()

displayWordsOnly

public void displayWordsOnly()

determinePOS

public java.lang.String determinePOS(java.lang.String[][] dict)

determineVerbType

public java.lang.String determineVerbType(java.lang.String[][] dict)

determineGender

public int determineGender(java.lang.String[][] dict)

determineNumber

public int determineNumber(java.lang.String[][] dict)

determineStem

public java.lang.String determineStem(java.lang.String[][] dict)

isInDictionary

public static int isInDictionary(java.lang.String stem,
                                 java.lang.String[][] dict)