1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
package com.wcohen.ss;
import java.util.*;
import com.wcohen.ss.api.*;
import com.wcohen.ss.tokens.*;
/**
* "Level 2" recursive field matching algorithm, based on Jaro
* distance.
*/
public class Level2JaroWinkler extends Level2
{
private static final StringDistance MY_JARO_WINKLER = new JaroWinkler();
public Level2JaroWinkler() { super( SimpleTokenizer.DEFAULT_TOKENIZER, MY_JARO_WINKLER) ; }
public String toString() { return "[Level2JaroWinkler]"; }
static public void main(String[] argv) {
doMain(new Level2JaroWinkler(), argv);
}
}
|