edu.udo.cs.miningmart.schemamatching
Class StringEqualityMatcher

java.lang.Object
  extended byedu.udo.cs.miningmart.schemamatching.MmSchemaMatcher
      extended byedu.udo.cs.miningmart.schemamatching.StringBasedSchemaMatcher
          extended byedu.udo.cs.miningmart.schemamatching.StringEqualityMatcher

public class StringEqualityMatcher
extends StringBasedSchemaMatcher

A simple matcher based on String equality ignoring case. Serves to test the environment.

Version:
$Id: StringEqualityMatcher.java,v 1.5 2006/04/11 14:10:17 euler Exp $
Author:
Timm Euler

Constructor Summary
StringEqualityMatcher()
           
 
Method Summary
 double getStringSimilarity(java.lang.String str1, java.lang.String str2)
          Returns the double value that this matcher considers as the similarity between the two given Strings.
 
Methods inherited from class edu.udo.cs.miningmart.schemamatching.StringBasedSchemaMatcher
getDirectSimilarity, getDirectSimilarity, getSimilarityInvolvingConcepts
 
Methods inherited from class edu.udo.cs.miningmart.schemamatching.MmSchemaMatcher
getSimilarity, getSimilarityMatrix, getThresholdForComparingAttributes, getThresholdForComparingConcepts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEqualityMatcher

public StringEqualityMatcher()
Method Detail

getStringSimilarity

public double getStringSimilarity(java.lang.String str1,
                                  java.lang.String str2)
Description copied from class: StringBasedSchemaMatcher
Returns the double value that this matcher considers as the similarity between the two given Strings.

Specified by:
getStringSimilarity in class StringBasedSchemaMatcher
Parameters:
str1 - One String
str2 - Another String
Returns:
a similarity value
See Also:
StringBasedSchemaMatcher.getStringSimilarity(String, String)


Copyright © 2001-2005