|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.api.PatternBasedRelationshipExtractor<T,D>
public class PatternBasedRelationshipExtractor<T extends Relationship,D extends Document>
Implementation of the relationship extractor that uses patterns to extract information from a document
Constructor Summary | |
---|---|
PatternBasedRelationshipExtractor(java.util.Set<Pattern<T,D>> patterns)
Constructor of the pattern based relationship extractor. |
Method Summary | |
---|---|
java.util.List<Relationship> |
extractTuples(D d)
Implementation of the extract Tuples method that uses all the patterns available to extract tuples from the input document |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternBasedRelationshipExtractor(java.util.Set<Pattern<T,D>> patterns)
patterns
- a set of patterns to extract relationships from tokenized documentsMethod Detail |
---|
public java.util.List<Relationship> extractTuples(D d)
extractTuples
in interface RelationshipExtractor<D extends Document>
d
- a tokenized document from which we will extract information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |