Terrier IR Platform
2.2.1

uk.ac.gla.terrier.indexing
Class CreateDocumentInitialWeightIndex

java.lang.Object
  extended by uk.ac.gla.terrier.indexing.CreateDocumentInitialWeightIndex

public class CreateDocumentInitialWeightIndex
extends java.lang.Object

This class creates the initial weight index of all documents in the collection. This is done for language modeling approach.

Version:
$Revision: 1.23 $
Author:
Ben He

Constructor Summary
CreateDocumentInitialWeightIndex(Index i, java.lang.String modelName)
           
CreateDocumentInitialWeightIndex(java.lang.String modelName)
          The default constructor of CreateDocumentInitialWeightIndex.
 
Method Summary
 void createDocumentInitialWeightIndex()
          Create the DocumentInitialWeightIndex.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDocumentInitialWeightIndex

public CreateDocumentInitialWeightIndex(java.lang.String modelName)
The default constructor of CreateDocumentInitialWeightIndex.

Parameters:
modelName - The name of the applied language model.

CreateDocumentInitialWeightIndex

public CreateDocumentInitialWeightIndex(Index i,
                                        java.lang.String modelName)
Method Detail

createDocumentInitialWeightIndex

public void createDocumentInitialWeightIndex()
Create the DocumentInitialWeightIndex. All terms are considered as non-query terms at this stage.


Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow