|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unitn.disi.smatch.components.Configurable
it.unitn.disi.smatch.matchers.element.string.GPrefix
public class GPrefix
Implements GPrefix matcher. Tries to use morphological knowledge (suffixes) to enhance relations returned. It is called GPefix because it matches words with equal prefixes, which differ in suffixes only.
| Field Summary |
|---|
| Fields inherited from class it.unitn.disi.smatch.components.Configurable |
|---|
GLOBAL_PREFIX, globalComponents, properties |
| Constructor Summary | |
|---|---|
GPrefix()
|
|
| Method Summary | |
|---|---|
char |
match(java.lang.String str1,
java.lang.String str2)
Returns a relation between source and target strings. |
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 |
|---|
public GPrefix()
| Method Detail |
|---|
public char match(java.lang.String str1,
java.lang.String str2)
IStringBasedElementLevelSemanticMatcher
match in interface IStringBasedElementLevelSemanticMatcherstr1 - the string of source labelstr2 - the string of target label
public void reportUsage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||