public class FatFeaturedScoringMatching extends FeaturedScoringMatching
FeaturedResultSet
by applying a list of features. The input from a parent matching class is a FatResultSet
.
Feature names have a particular format:
Matching
class becomes a feature.See also: "About Learning Models with Multiple Query Dependent Features. Craig Macdonald, Rodrygo L.T. Santos, Iadh Ounis and Ben He. Transactions on Information Systems. 31(3). 2013. [PDF]
dsmNames, dsms, filterOW, filterProx, filterTerm, filterUW, index, logger, qiFeatureNames, qiFeatures, sampleFeature, scoringMatchingImpl, wModelNames, wModels
parent
Constructor and Description |
---|
FatFeaturedScoringMatching(Index _index,
Matching _parent) |
FatFeaturedScoringMatching(Index _index,
Matching _parent,
String[] _featureNames) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet res) |
ResultSet |
match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
applyDSMs, getInfo, getModelNames, getTagPredictate, loadFeatures, setCollectionStatistics
public FatFeaturedScoringMatching(Index _index, Matching _parent, String[] _featureNames) throws Exception
Exception
public ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, ResultSet res) throws IOException
doMatch
in class FilterMatching
IOException
public ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
Matching
match
in interface Matching
match
in class FilterMatching
queryNumber
- - some ID of the queryqueryTerms
- - query terms to matchIOException
- if a problem occurs during matchingTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow