|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The proper category. This is usually used when user wants to specify a name of a person. The lexical entry in the proper category is usually the name, which is the proper noun itself. There are methods to set the proper noun and also the plurality of the noun. A factory method is available to construct a Proper object in a more convenient fashion.
ProperFactory
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
void |
setLex(java.lang.String lex)
A method to set the lex/proper noun of the proper category. |
void |
setPlurality(boolean plurality)
A method to set the plurality of the proper noun. |
Methods inherited from interface edu.columbia.surge.FD |
checkPath,
checkPath,
getPath,
getPath,
putPath,
putPath,
putPathOverride,
putPathOverride,
toString,
toXML |
Methods inherited from interface java.util.Map |
clear,
containsKey,
containsValue,
entrySet,
equals,
get,
hashCode,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
Method Detail |
public void setLex(java.lang.String lex)
lex
- the proper nounpublic void setPlurality(boolean plurality)
plurality
- set true to be plural and false to be singular
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |