uk.ac.gla.dcs.renaissance
Class DocumentObservables

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.DocumentObservables

public class DocumentObservables
extends Object

This class computes document representation

Author:
B. Piwowarski

Nested Class Summary
static class DocumentObservables.Normalisation
           
 
Field Summary
 int compactInterval
           
 double compactThreshold
           
 CompactDocumentStorage storage
           
 
Constructor Summary
DocumentObservables()
           
 
Method Summary
 void dispose()
          Dispose the resources allocated for this object
protected  void finalize()
           
 Subspace getDocumentRepresentation(int docid)
          Get the representation of a document; cache the result if necessary
 PureINExtractor getPureINExtractor()
           
 void init(IndexConfiguration index)
          Initialise the object
 void setPureINExtractor(PureINExtractor pureINExtractor)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compactInterval

public int compactInterval

compactThreshold

public double compactThreshold

storage

public CompactDocumentStorage storage
Constructor Detail

DocumentObservables

public DocumentObservables()
Method Detail

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.