|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMatchManager
Interface to matching related functionalites.
The following code can be used in order to obtain an instance of IMatchManager interface
IMatchManager mm=it.unitn.disi.smatch.MatchManager.getInstance();
Method Summary | |
---|---|
IContext |
classify(IContext ctxSource)
Performs the second step of the semantic matching algorithm |
IMatchMatrix |
elementLevelMatching(IContext sourceContext,
IContext targetContext)
Performs the third step of semantic matching algorithm |
IMatchMatrix |
filter(java.util.Vector args)
Performs additional filtering step executed after 4th step of semantic matching algorithm |
IContext |
loadContext(java.lang.String fileName)
Uses current Loader in order to load the context from external source into internal datastructucture |
IMapping |
match(IContext sourceContext,
IContext targetContext)
Performs the whole matching process |
IContext |
offline(IContext ctxSource,
java.lang.String ctxsSourceFile)
Performs the first two steps of the semantic matching algorithm and render the results by current IContextRenderer |
IMapping |
online(IContext sourceContext,
IContext targetContext)
Performs the last two steps of the semantic matching algorithm, filtering and render the results by current IMappingRender |
IContext |
preprocess(IContext ctxSource)
Performs the first step of the semantic matching algorithm |
void |
renderContext(IContext ctxSource,
java.lang.String fileName)
Renders context to screen,file or database |
IMapping |
renderMapping(java.util.Vector args)
Renders mappings into appropriate format |
void |
setProperties(java.util.Properties properites)
Set up the matching properties A list of parameters which influence on the matching process workflow name of the class which implements IWordNetMatcher interface WNmatcher = it.unitn.disi.smatch.oracles.wordnet.InMemoryWordNet name of the class which implements ILinguisticOracle interface LinguisticOracle = it.unitn.disi.smatch.oracles.wordnet.WordNet name of the class which implements IClassifier interface Classifier = it.unitn.disi.smatch.classifiers.DefaultClassifier name of the class which implements IPreprocessor interface Preprocessor = it.unitn.disi.smatch.preprocessors.DefaultPreprocessor name of the class which implements IMatcherLibrary interface MatcherLibrary = it.unitn.disi.smatch.matchers.element.MatcherLibrary name of the class which implements ILoader interface Loader = it.unitn.disi.smatch.loaders.CTXMLLoader name of the class which implements IMappingRenderer interface MappingRenderer = it.unitn.disi.smatch.renderers.mapping.DefaultHTMLMappingRenderer name of the class which implements IContextRenderer interface ContextRenderer = it.unitn.disi.smatch.renderers.context.CTXMLContextRenderer name of the class which implements IFilter interface Filter = it.unitn.disi.smatch.filters.DefaultFilter |
IMatchMatrix |
structureLevelMatching(IContext sourceContext,
IContext targetContext,
IMatchMatrix ClabMatrix)
Performs the fourth step of semantic matching algorithm |
Method Detail |
---|
void setProperties(java.util.Properties properites)
properites
- IContext preprocess(IContext ctxSource)
ctxSource
- interface to context to be preprocessed
IContext classify(IContext ctxSource)
ctxSource
- interface to preprocessed context without concept at node formulas
void renderContext(IContext ctxSource, java.lang.String fileName)
ctxSource
- context to be renderedfileName
- string which defines output deviceIMatchMatrix elementLevelMatching(IContext sourceContext, IContext targetContext) throws SMatchException
sourceContext
- targetContext
-
SMatchException
IMatchMatrix structureLevelMatching(IContext sourceContext, IContext targetContext, IMatchMatrix ClabMatrix) throws SMatchException
sourceContext
- targetContext
- ClabMatrix
- interface to matrix of semantic relations between atomic concepts of labels in the contexts
SMatchException
IMatchMatrix filter(java.util.Vector args)
args
- parameters to the filtering process (as in DefaultFilter implementation)IMapping renderMapping(java.util.Vector args)
args
- parameters to the rendering process (as in DefaultHTMLMappingRenderer implementation)IContext offline(IContext ctxSource, java.lang.String ctxsSourceFile)
ctxSource
- interface to context to be preprocessedctxsSourceFile
- a string passed to IContextRenderer implementation
IMapping online(IContext sourceContext, IContext targetContext) throws SMatchException
sourceContext
- interface to preprocessed context to be matchedtargetContext
- interface to preprocessed context to be matched
SMatchException
IMapping match(IContext sourceContext, IContext targetContext) throws SMatchException
sourceContext
- interface to context to be matchedtargetContext
- interface to context to be matched
SMatchException
IContext loadContext(java.lang.String fileName) throws SMatchException
fileName
- a string passed to current Loader
SMatchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |