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

java.lang.Object
  extended by it.unitn.disi.smatch.components.Configurable
      extended by it.unitn.disi.smatch.matchers.element.string.Prefix
All Implemented Interfaces:
IConfigurable, IStringBasedElementLevelSemanticMatcher

public class Prefix
extends Configurable
implements IStringBasedElementLevelSemanticMatcher

Implements Prefix matcher. See Element Level Semantic matchers paper for more details.

Author:
Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk,

Field Summary
 
Fields inherited from class it.unitn.disi.smatch.components.Configurable
GLOBAL_PREFIX, globalComponents, properties
 
Constructor Summary
Prefix()
           
 
Method Summary
 char match(java.lang.String str1, java.lang.String str2)
          Computes the relation with prefix matcher.
 void reportUsage()
           
 
Methods inherited from class it.unitn.disi.smatch.components.Configurable
configureComponent, getComponentProperties, getProperties, loadProperties, makeComponentPrefix, setProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.unitn.disi.smatch.components.IConfigurable
getProperties, setProperties, setProperties
 

Constructor Detail

Prefix

public Prefix()
Method Detail

match

public char match(java.lang.String str1,
                  java.lang.String str2)
Computes the relation with prefix matcher.

Specified by:
match in interface IStringBasedElementLevelSemanticMatcher
Parameters:
str1 - the source string
str2 - the target string
Returns:
synonym, more general, less general or IDK relation

reportUsage

public void reportUsage()


© 2010-2011 Knowdive @ DISI