Package games.stendhal.common.parser
Class WordEntry
java.lang.Object
games.stendhal.common.parser.WordEntry
Word list entry, used to categorise words. Nouns and verbs can be associated with their plural form.
- Author:
- Martin Fuchs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
getType()
getValue()
boolean
boolean
isName()
boolean
boolean
isObject()
boolean
boolean
isPlural()
boolean
boolean
boolean
isVerb()
void
print(PrintWriter pw, String key)
Write word entry to the given print writer.toString()
Return a simple string representation of the Expression.
-
Constructor Details
-
WordEntry
public WordEntry()
-
-
Method Details
-
print
Write word entry to the given print writer.- Parameters:
pw
-key
-
-
getNormalized
-
getType
-
getTypeString
-
getNormalizedWithTypeString
-
getPlurSing
-
isPlural
public boolean isPlural() -
isVerb
public boolean isVerb() -
isObject
public boolean isObject() -
isSubject
public boolean isSubject() -
isName
public boolean isName() -
isNumeral
public boolean isNumeral() -
isDynamic
public boolean isDynamic() -
isPronoun
public boolean isPronoun() -
isObsessional
public boolean isObsessional() -
getValue
-
getId
public int getId() -
toString
Return a simple string representation of the Expression.
-