edu.stanford.nlp.parser.lexparser
Class Test.Constraint

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.Test.Constraint
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Test

public static class Test.Constraint
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

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

start

public int start

end

public int end

state

public java.util.regex.Pattern state
Constructor Detail

Test.Constraint

public Test.Constraint()


Stanford NLP Group