edu.stanford.nlp.parser.lexparser
Class Item

java.lang.Object
  extended by 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

Field Summary
 Edge backEdge
           
 int end
           
 int head
           
 double iScore
           
 double oScore
           
 int start
           
 int state
           
 int tag
           
 
Constructor Summary
Item(boolean exhaustiveTest)
           
Item(Item item)
           
 
Method Summary
 boolean isEdge()
           
 boolean isPostHook()
           
 boolean isPreHook()
           
 double score()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Item

public Item(boolean exhaustiveTest)

Item

public Item(Item item)
Method Detail

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