uk.ac.gla.dcs.renaissance
Class DocumentObservables
java.lang.Object
uk.ac.gla.dcs.renaissance.DocumentObservables
public class DocumentObservables
- extends Object
This class computes document representation
- Author:
- B. Piwowarski
compactInterval
public int compactInterval
compactThreshold
public double compactThreshold
storage
public CompactDocumentStorage storage
DocumentObservables
public DocumentObservables()
init
public void init(IndexConfiguration index)
throws Exception
- Initialise the object
- Throws:
Exception
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
dispose
public void dispose()
- Dispose the resources allocated for this object
getDocumentRepresentation
public Subspace getDocumentRepresentation(int docid)
throws IOException,
com.sleepycat.je.DatabaseException
- Get the representation of a document; cache the result if necessary
- Parameters:
docid
-
- Returns:
-
- Throws:
IOException
com.sleepycat.je.DatabaseException
setPureINExtractor
public void setPureINExtractor(PureINExtractor pureINExtractor)
- Parameters:
pureINExtractor
- the pureINExtractor to set
getPureINExtractor
public PureINExtractor getPureINExtractor()
- Returns:
- the pureINExtractor
Copyright © 2011. All Rights Reserved.