|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.schemamatching.MmSchemaMatcher
edu.udo.cs.miningmart.schemamatching.NameAndTypeBasedSchemaMatcher
edu.udo.cs.miningmart.schemamatching.EditDistanceMatcher
public class EditDistanceMatcher
A simple matcher based on the edit distance between two strings.
| Field Summary |
|---|
| Fields inherited from class edu.udo.cs.miningmart.schemamatching.MmSchemaMatcher |
|---|
THRESHOLD |
| Constructor Summary | |
|---|---|
EditDistanceMatcher()
|
|
| Method Summary | |
|---|---|
int |
getLevenshteinDistance(java.lang.String s,
java.lang.String t)
This method was implemented by Markus Wagner. |
double |
getNameSimilarity(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.NameAndTypeBasedSchemaMatcher |
|---|
getDirectSimilarity, getDirectSimilarity, getSimilarityInvolvingConcepts, getStringSimilarity |
| Methods inherited from class edu.udo.cs.miningmart.schemamatching.MmSchemaMatcher |
|---|
getDatatypeSimilarity, getGlobalSimilarity, getSimilarity, getSimilarity, getSimilarityMatrix, getSimilarityMatrix, getSimilarMatchingsGreedy, objectsAreSimilar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditDistanceMatcher()
| Method Detail |
|---|
public double getNameSimilarity(java.lang.String str1,
java.lang.String str2)
throws SchemaMatchException
MmSchemaMatcher
getNameSimilarity in class MmSchemaMatcherstr1 - One Stringstr2 - Another String
SchemaMatchExceptionMmSchemaMatcher.getNameSimilarity(String, String)
public int getLevenshteinDistance(java.lang.String s,
java.lang.String t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||