it.unitn.disi.smatch.matchers.structure.tree
Class BaselineTreeMatcher
java.lang.Object
it.unitn.disi.smatch.matchers.structure.tree.DefaultTreeMatcher
it.unitn.disi.smatch.matchers.structure.tree.BaselineTreeMatcher
- All Implemented Interfaces:
- ITreeMatcher
public class BaselineTreeMatcher
- extends DefaultTreeMatcher
- implements ITreeMatcher
Created by IntelliJ IDEA.
User: Nickh
Date: 03.03.2005
Time: 15:30:58
To change this template use File | Settings | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaselineTreeMatcher
public BaselineTreeMatcher()
treeMatch
public IMatchMatrix treeMatch(IContext sourceContext,
IContext targetContext,
IMatchMatrix ClabMatrix)
- Description copied from interface:
ITreeMatcher
- Matches two contexts.
- Specified by:
treeMatch
in interface ITreeMatcher
- Overrides:
treeMatch
in class DefaultTreeMatcher
- Parameters:
sourceContext
- source contexttargetContext
- target contextClabMatrix
- a matrix of relations between ACoLs of contexts
- Returns:
- a matrix of relations between contexts
removeDublicates
protected java.util.Vector removeDublicates(java.util.Vector tmp)
getRelationString
protected char getRelationString(boolean isContains,
boolean isContained,
boolean isOpposite)
getLemmasForReasoning
public java.util.Vector<java.lang.String> getLemmasForReasoning(INode node)
© 2010 Knowdive @ DISI