Class QueryExpansionModelFactory
- java.lang.Object
-
- org.terrier.matching.models.queryexpansion.QueryExpansionModelFactory
-
public class QueryExpansionModelFactory extends java.lang.Object
A factory method for handling the initialisation of expansion models.- Author:
- Rodrygo Santos
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAMESPACE
The default namespace for expansion models.
-
Constructor Summary
Constructors Constructor Description QueryExpansionModelFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryExpansionModel
newInstance(java.lang.String name)
Returns the requested weighting model.
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
The default namespace for expansion models.- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static QueryExpansionModel newInstance(java.lang.String name)
Returns the requested weighting model.- Parameters:
name
- The name of the weighting model to instantiate.
-
-