public class HookChart
extends java.lang.Object
Constructor and Description |
---|
HookChart() |
Modifier and Type | Method and Description |
---|---|
void |
addEdge(Edge edge) |
void |
addHook(Hook hook) |
java.util.Collection<Edge> |
getEdges(Hook hook) |
java.util.Collection<Hook> |
getPostHooks(Edge edge) |
java.util.Collection<Hook> |
getPreHooks(Edge edge) |
java.util.Collection<Edge> |
getRealEdgesWithL(int state,
int start) |
java.util.Collection<Edge> |
getRealEdgesWithR(int state,
int end) |
boolean |
isBuiltL(int state,
int start,
int head,
int tag) |
boolean |
isBuiltR(int state,
int end,
int head,
int tag) |
void |
registerEdgeIndexes(Edge edge) |
void |
registerRealEdge(Edge edge) |
public void registerEdgeIndexes(Edge edge)
public void registerRealEdge(Edge edge)
public boolean isBuiltL(int state, int start, int head, int tag)
public boolean isBuiltR(int state, int end, int head, int tag)
public java.util.Collection<Edge> getRealEdgesWithL(int state, int start)
public java.util.Collection<Edge> getRealEdgesWithR(int state, int end)
public void addEdge(Edge edge)
public void addHook(Hook hook)