edu.stanford.nlp.ie.merge
Class WebSearchMerger
java.lang.Object
|
+--edu.stanford.nlp.ie.merge.AbstractInstanceMerger
|
+--edu.stanford.nlp.ie.merge.GenericMerger
|
+--edu.stanford.nlp.ie.merge.WebSearchMerger
- All Implemented Interfaces:
- InstanceMerger, Serializable
- Direct Known Subclasses:
- UnscoredMerger
- public class WebSearchMerger
- extends GenericMerger
Merger that handles the url and search_term fields
- See Also:
- Serialized Form
Method Summary |
protected void |
reconcileIgnoredFields(edu.unika.aifb.kaon.Instance i1,
edu.unika.aifb.kaon.Instance i2,
Confidence c1,
Confidence c2,
edu.unika.aifb.kaon.Instance newInstance,
Confidence newConfidence)
Concats urls together, just keeps one copy of the search term. |
Methods inherited from class edu.stanford.nlp.ie.merge.GenericMerger |
compatibleConcept, concatFields, getBestInstance, getConflictPenalty, getMergedInstances, getMergedRank, getMergePenalty, getRank, getVacuousMergePenalty, ignoreField, merge, mergeInstances, reconcileConflictedField, setConflictPenalty, setMergePenalty, setOneField, setVacuousMergePenalty, sortInstances, suppressConflictPenalty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSearchMerger
public WebSearchMerger()
reconcileIgnoredFields
protected void reconcileIgnoredFields(edu.unika.aifb.kaon.Instance i1,
edu.unika.aifb.kaon.Instance i2,
Confidence c1,
Confidence c2,
edu.unika.aifb.kaon.Instance newInstance,
Confidence newConfidence)
- Concats urls together, just keeps one copy of the search term.
- Overrides:
reconcileIgnoredFields
in class GenericMerger
- Parameters:
i1
- the first instance to mergei2
- the other instance to mergec1
- the confidence object corresponding to i1c2
- the confidence object corresponding to i2newInstance
- the Instance so-far from merging i1 and i2newConfidence
- the Confidence object so-far for newInstance
Stanford NLP Group