Class Word
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LETTERS
public static java.lang.String LETTERS
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)
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)