|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wcohen.ss.AbstractStringDistance com.wcohen.ss.AbstractTokenizedStringDistance com.wcohen.ss.AbstractStatisticalTokenDistance com.wcohen.ss.TFIDF com.wcohen.ss.SoftTFIDF com.wcohen.ss.JaroWinklerTFIDF
public class JaroWinklerTFIDF
Soft TFIDF-based distance metric, extended to use "soft" token-matching with the JaroWinkler distance metric.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.wcohen.ss.TFIDF |
---|
TFIDF.UnitVector |
Field Summary |
---|
Fields inherited from class com.wcohen.ss.AbstractStatisticalTokenDistance |
---|
collectionSize, documentFrequency, totalTokenCount |
Fields inherited from class com.wcohen.ss.AbstractTokenizedStringDistance |
---|
tokenizer |
Constructor Summary | |
---|---|
JaroWinklerTFIDF()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
|
java.lang.String |
toString()
|
Methods inherited from class com.wcohen.ss.SoftTFIDF |
---|
explainScore, getTokenMatchThreshold, score, setTokenMatchThreshold, setTokenMatchThreshold |
Methods inherited from class com.wcohen.ss.TFIDF |
---|
asUnitVector, getCollectionSize, getDocumentFrequency, getTokens, getWeight, prepare, setCollectionSize, setDocumentFrequency |
Methods inherited from class com.wcohen.ss.AbstractStatisticalTokenDistance |
---|
checkTrainingHasHappened, train |
Methods inherited from class com.wcohen.ss.AbstractTokenizedStringDistance |
---|
asBagOfTokens, prepare, setStringWrapperPool |
Methods inherited from class com.wcohen.ss.AbstractStringDistance |
---|
addExample, doMain, explainScore, getDistance, hasNextQuery, nextQuery, prepare, score, setDistanceInstancePool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JaroWinklerTFIDF()
Method Detail |
---|
public java.lang.String toString()
toString
in class SoftTFIDF
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |