edu.columbia.surge
Interface Proper

All Known Implementing Classes:
ProperH

public abstract interface Proper
extends FD

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.

See Also:
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

setLex

public void setLex(java.lang.String lex)
A method to set the lex/proper noun of the proper category.
Parameters:
lex - the proper noun

setPlurality

public void setPlurality(boolean plurality)
A method to set the plurality of the proper noun.
Parameters:
plurality - set true to be plural and false to be singular