|
||||||||||
| 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.StringBasedSchemaMatcher
edu.udo.cs.miningmart.schemamatching.NgramMatcher
A simple matcher based on a comparison of all possible pairs of n-grams of two strings. The value of n is set in the constructor.
| Constructor Summary | |
NgramMatcher(int n)
Constructor. |
|
| 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 |
public NgramMatcher(int n)
n - the length of an n-gram| Method Detail |
public double getStringSimilarity(java.lang.String str1,
java.lang.String str2)
throws SchemaMatchException
StringBasedSchemaMatcher
getStringSimilarity in class StringBasedSchemaMatcherstr1 - One Stringstr2 - Another String
SchemaMatchExceptionStringBasedSchemaMatcher.getStringSimilarity(String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||