uk.ac.gla.dcs.renaissance.iqir
Class LSIRepresentation

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.iqir.LSIRepresentation

public class LSIRepresentation
extends Object

This class represents a LSI representation that can be loaded from disc, truncated,


Constructor Summary
LSIRepresentation(File file)
          Constructs a LSI representation from file
 
Method Summary
 void prune(int newRank)
          Prune
 void write(File outputFile)
          Write to file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSIRepresentation

public LSIRepresentation(File file)
                  throws IOException
Constructs a LSI representation from file

Throws:
IOException
Method Detail

write

public void write(File outputFile)
           throws IOException
Write to file

Parameters:
outputFile -
Throws:
IOException

prune

public void prune(int newRank)
Prune

Parameters:
newRank - the newRank
removeInvalid - Removes invalid terms


Copyright © 2011. All Rights Reserved.