edu.columbia.surge
Interface NP

All Known Implementing Classes:
NPH

public abstract interface NP
extends FD

The NP category for a FD. Methods are provided to set the head and the lex of the noun phrase. Users should only set either the head or the lexical entry for each noun phrase, it does not make sense to set both of them at the same time.

See Also:
NPFactory

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 void setHead(FD head)
          A method to set the head of the NP
 void setLex(java.lang.String lex)
          A method to set the lex of the NP
 
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

setHead

public void setHead(FD head)
A method to set the head of the NP
Parameters:
head - a FD representation of the head

setLex

public void setLex(java.lang.String lex)
A method to set the lex of the NP
Parameters:
lex -