|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.parser.lexparser.Test.Constraint
public static class Test.Constraint
A Constraint represents a restriction on possible parse trees to consider. It says that a parse cannot be postulated that would contradict having a constituent from position start to end, and that any constituent postulated with this span must match the regular expression given by state. Note, however, that it does not strictly guarantee that such a constituent exists in a returned parse.
Field Summary | |
---|---|
int |
end
|
int |
start
|
java.util.regex.Pattern |
state
|
Constructor Summary | |
---|---|
Test.Constraint()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int start
public int end
public java.util.regex.Pattern state
Constructor Detail |
---|
public Test.Constraint()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |