org.terrier.matching.models.queryexpansion
Class QueryExpansionModelFactory

java.lang.Object
  extended by 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
static java.lang.String NAMESPACE
          The default namespace for expansion models.
 
Constructor Summary
QueryExpansionModelFactory()
           
 
Method Summary
static QueryExpansionModel newInstance(java.lang.String name)
          Returns the requested weighting model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
The default namespace for expansion models.

See Also:
Constant Field Values
Constructor Detail

QueryExpansionModelFactory

public QueryExpansionModelFactory()
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.


Terrier 3.5. Copyright © 2004-2011 University of Glasgow