File: Level2MongeElkan.java

package info (click to toggle)
libsecondstring-java 0.1~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 764 kB
  • sloc: java: 9,592; xml: 114; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.wcohen.ss;

import java.util.*;
import com.wcohen.ss.api.*;
import com.wcohen.ss.tokens.*;

/**
 * Monge & Elkan's "level 2" recursive field matching algorithm.
 */

public class Level2MongeElkan extends Level2
{
	private static final StringDistance MY_MONGE_ELKAN = new MongeElkan();

	public Level2MongeElkan() { super( SimpleTokenizer.DEFAULT_TOKENIZER, MY_MONGE_ELKAN) ; }
	public String toString() { return "[Level2MongeElkan]"; }
	
	static public void main(String[] argv) {
		doMain(new Level2MongeElkan(), argv);
	}
}