com.wcohen.secondstring
Class JaroWinklerTFIDF

java.lang.Object
  |
  +--com.wcohen.secondstring.AbstractStringDistance
        |
        +--com.wcohen.secondstring.AbstractStatisticalTokenDistance
              |
              +--com.wcohen.secondstring.TFIDF
                    |
                    +--com.wcohen.secondstring.SoftTFIDF
                          |
                          +--com.wcohen.secondstring.JaroWinklerTFIDF
All Implemented Interfaces:
StringDistance

public class JaroWinklerTFIDF
extends SoftTFIDF

Soft TFIDF-based distance metric, extended to use "soft" token-matching with the JaroWinkler distance metric.


Field Summary
 
Fields inherited from class com.wcohen.secondstring.AbstractStatisticalTokenDistance
collectionSize, documentFrequency, tokenizer, totalTokenCount
 
Constructor Summary
JaroWinklerTFIDF()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 java.lang.String toString()
           
 
Methods inherited from class com.wcohen.secondstring.SoftTFIDF
explainScore, getTokenMatchThreshold, score, setTokenMatchThreshold, setTokenMatchThreshold
 
Methods inherited from class com.wcohen.secondstring.TFIDF
prepare
 
Methods inherited from class com.wcohen.secondstring.AbstractStatisticalTokenDistance
accumulateStatistics, getDocumentFrequency
 
Methods inherited from class com.wcohen.secondstring.AbstractStringDistance
doMain, explainScore, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaroWinklerTFIDF

public JaroWinklerTFIDF()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class SoftTFIDF

main

public static void main(java.lang.String[] argv)