de.aitools.ir.fingerprinting
Class LocalitySensitiveHashingModel

java.lang.Object
  extended by de.aitools.ir.retrievalmodels.retrievalmodel.AbstractRetrievalModel<java.lang.String,Set<java.math.BigInteger>>
      extended by de.aitools.ir.fingerprinting.LocalitySensitiveHashingModel
All Implemented Interfaces:
RetrievalModel<java.lang.String,Set<java.math.BigInteger>>, java.io.Serializable

public class LocalitySensitiveHashingModel
extends AbstractRetrievalModel<java.lang.String,Set<java.math.BigInteger>>

Version:
aitools 3.0 Paper
Author:
martin.trenkmann@uni-weimar.de
See Also:
Serialized Form

Constructor Summary
LocalitySensitiveHashingModel(java.util.Locale locale)
           
LocalitySensitiveHashingModel(java.util.Locale locale, boolean stemWords, boolean filterStopwords)
           
 
Method Summary
 boolean isTrained()
           
 Set<java.math.BigInteger> represent(java.lang.String text)
           
 void train(java.lang.Iterable<java.lang.String> it, boolean forceTraining)
           
 
Methods inherited from class de.aitools.ir.retrievalmodels.retrievalmodel.AbstractRetrievalModel
relevance, relevance, train
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalitySensitiveHashingModel

public LocalitySensitiveHashingModel(java.util.Locale locale)

LocalitySensitiveHashingModel

public LocalitySensitiveHashingModel(java.util.Locale locale,
                                     boolean stemWords,
                                     boolean filterStopwords)
Method Detail

isTrained

public boolean isTrained()

train

public void train(java.lang.Iterable<java.lang.String> it,
                  boolean forceTraining)

represent

public Set<java.math.BigInteger> represent(java.lang.String text)