edu.stanford.nlp.parser.lexparser
Class Item
java.lang.Object
edu.stanford.nlp.parser.lexparser.Item
- All Implemented Interfaces:
- Scored
- Direct Known Subclasses:
- Edge, Hook
public abstract class Item
- extends Object
- implements Scored
Abstract class for parse items.
- Author:
- Dan Klein
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public int start
end
public int end
state
public int state
head
public int head
tag
public int tag
backEdge
public Edge backEdge
iScore
public double iScore
oScore
public double oScore
Item
public Item()
Item
public Item(Item item)
score
public double score()
- Specified by:
score
in interface Scored
- Returns:
- The score of this thing.
isEdge
public boolean isEdge()
isPreHook
public boolean isPreHook()
isPostHook
public boolean isPostHook()
Stanford NLP Group