edu.stanford.nlp.parser.lexparser
Class Edge
java.lang.Object
edu.stanford.nlp.parser.lexparser.Edge
- All Implemented Interfaces:
- Scored
public class Edge
- extends Object
Class for parse edges.
- Author:
- Dan Klein
Constructor Summary |
Edge()
|
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
Edge
public Edge()
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