edu.columbia.surge
Interface Common

All Known Implementing Classes:
CommonH

public abstract interface Common
extends FD

The Common category for a FD. Methods to set the lex and the head of the common category are provided. There are a lot of variations you can make to the noun such as setting it to be definite, plural... Since there are too many options and they are not common, methods are not provided to set those properties. And setLex() will be the only required/automate method provided here.

See Also:
CommonFactory

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 void setDefinite(boolean definite)
          A method to set whether the common cat should be definite
 void setLex(java.lang.String lex)
          A method to set the head of the common category
 
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 head of the common category
Parameters:
lex - the lexical entry of the common phrase

setDefinite

public void setDefinite(boolean definite)
A method to set whether the common cat should be definite
Parameters:
true - to be definite, false to be non-definite