it.unitn.disi.smatch.matchers.element.string
Class EditDistance

java.lang.Object
  extended by it.unitn.disi.smatch.matchers.element.string.EditDistance
All Implemented Interfaces:
IStringBasedElementLevelSemanticMatcher

public class EditDistance
extends java.lang.Object
implements IStringBasedElementLevelSemanticMatcher

implements Edit Distance matcher see Element Level Semantic matchers paper for more details

Author:
Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com

Constructor Summary
EditDistance()
           
 
Method Summary
 char match(java.lang.String str1, java.lang.String str2)
          Returns a relation between source and target strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditDistance

public EditDistance()
Method Detail

match

public char match(java.lang.String str1,
                  java.lang.String str2)
Description copied from interface: IStringBasedElementLevelSemanticMatcher
Returns a relation between source and target strings.

Specified by:
match in interface IStringBasedElementLevelSemanticMatcher
Parameters:
str1 - source string
str2 - target string
Returns:
a relation between source and target


© 2010 Knowdive @ DISI