edu.columbia.cs.cg.prdualrank.model
Class PRDualRankModel<S extends Matchable,E extends Matchable,D extends Document>
java.lang.Object
edu.columbia.cs.ref.model.re.Model
edu.columbia.cs.cg.prdualrank.model.PRDualRankModel<S,E,D>
- All Implemented Interfaces:
- java.io.Serializable
public class PRDualRankModel<S extends Matchable,E extends Matchable,D extends Document>
- extends Model
This class is used for our implementation of:
"Searching Patterns for Relation Extraction over the Web: Rediscovering the Pattern-Relation Duality" . Y. Fang and K. C.-C. Chang. In WSDM, pages 825-834, 2011.
For further information, WSDM 2011 Conference Website .
Description
The model used to make PRDualRank part of the Relationship Extraction Framework.
The model contains all the ranked Search and Extraction Patterns. Also includes additional information (ranking and values) of the tuples extracted during generation
of patterns.
With all of this information we can observe the Pattern - Recall Duality properties.
- Since:
- 2011-10-07
- Version:
- 0.1
- Author:
- Pablo Barrio, Goncalo Simoes
- See Also:
- WSDM 2011 Conference Website ,
Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PRDualRankModel
public PRDualRankModel(java.util.SortedSet<Pattern<S,D>> searchPatterns,
java.util.SortedSet<Pattern<E,D>> extractionPatterns,
java.util.SortedSet<Relationship> searchTuples,
java.util.SortedSet<Relationship> extractionTuples)
- Instantiates a new pR dual rank model.
- Parameters:
searchPatterns
- the search patterns generated during execution.extractionPatterns
- the extraction patterns generated during execution.searchTuples
- the search tuples extracted during the generation of search patterns.extractionTuples
- the extraction tuples extracted during the generation of extraction patterns.
getRelationshipTypes
public java.util.Set<RelationshipType> getRelationshipTypes()
- Specified by:
getRelationshipTypes
in class Model
getStructureConfiguration
public StructureConfiguration getStructureConfiguration()
- Specified by:
getStructureConfiguration
in class Model
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object