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

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

public class Synonym
extends java.lang.Object
implements IStringBasedElementLevelSemanticMatcher

implementsSynonym 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
Synonym()
           
 
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

Synonym

public Synonym()
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