edu.stanford.nlp.parser.lexparser
Class Edge

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.Edge
All Implemented Interfaces:
Scored

public class Edge
extends Object

Class for parse edges.

Author:
Dan Klein

Field Summary
 Edge backEdge
           
 edu.stanford.nlp.parser.lexparser.Hook backHook
           
 int end
           
 int head
           
 double iScore
           
 double oScore
           
 int start
           
 int state
           
 int tag
           
 
Constructor Summary
Edge()
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isEdge()
           
 boolean isPostHook()
           
 boolean isPreHook()
           
 double score()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

backHook

public edu.stanford.nlp.parser.lexparser.Hook backHook

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

Edge

public Edge()
Method Detail

isEdge

public boolean isEdge()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

score

public double score()
Specified by:
score in interface Scored
Returns:
The score of this thing.

isPreHook

public boolean isPreHook()

isPostHook

public boolean isPostHook()


Stanford NLP Group