|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.cs.knowitall.rule.constraint.Constraint
edu.washington.cs.knowitall.rule.constraint.CaptureConstraint
edu.washington.cs.knowitall.rule.constraint.AbstractRegexConstraint
edu.washington.cs.knowitall.rule.constraint.RegexConstraint
edu.washington.cs.knowitall.rule.constraint.LemmaConstraint
public class LemmaConstraint
Constrains based on the presence of a lemma.
| Field Summary |
|---|
| Fields inherited from class edu.washington.cs.knowitall.rule.constraint.AbstractRegexConstraint |
|---|
pattern, terms |
| Fields inherited from class edu.washington.cs.knowitall.rule.constraint.Constraint |
|---|
part |
| Constructor Summary | |
|---|---|
LemmaConstraint(org.jdom.Element e)
|
|
LemmaConstraint(ExtractionPart part,
List<String> terms)
|
|
LemmaConstraint(ExtractionPart part,
String term)
|
|
| Method Summary | |
|---|---|
protected int |
flags()
|
protected String |
getString(TokenSequence extraction)
|
String |
string()
|
protected String |
transform(String string)
|
| Methods inherited from class edu.washington.cs.knowitall.rule.constraint.RegexConstraint |
|---|
check, toString, value |
| Methods inherited from class edu.washington.cs.knowitall.rule.constraint.AbstractRegexConstraint |
|---|
equals, generalize, hashCode, size, toXmlElement |
| Methods inherited from class edu.washington.cs.knowitall.rule.constraint.CaptureConstraint |
|---|
value |
| Methods inherited from class edu.washington.cs.knowitall.rule.constraint.Constraint |
|---|
check, create, create, create, fromXmlElement, getConstraintClass, simplify, subsumes, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LemmaConstraint(org.jdom.Element e)
public LemmaConstraint(ExtractionPart part,
String term)
public LemmaConstraint(ExtractionPart part,
List<String> terms)
| Method Detail |
|---|
public String string()
protected String transform(String string)
transform in class RegexConstraintprotected String getString(TokenSequence extraction)
getString in class RegexConstraintprotected int flags()
flags in class RegexConstraint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||