org.eml.sir.rel
Class InformationBasedComparator

java.lang.Object
  extended byorg.eml.sir.rel.WordRelatednessComparator
      extended byorg.eml.sir.rel.PathBasedComparator
          extended byorg.eml.sir.rel.InformationBasedComparator
Direct Known Subclasses:
JcnComparator, LinComparator, ResComparator

public abstract class InformationBasedComparator
extends PathBasedComparator

Class providing methods that are required to compute an information content based relatedness value.

Author:
Hendrik Niederlich (EML-R)

Field Summary
 
Fields inherited from class org.eml.sir.rel.WordRelatednessComparator
noResultValue
 
Constructor Summary
InformationBasedComparator()
          Create a new instance of InformationBasedComparator.
InformationBasedComparator(StemmingGermaNetObject gno)
          Create a new instance of InformationBasedComparator.
 
Method Summary
 InformationContentMap getInformationContentMap()
          Return the InformationContentMap of this InformationBasedComparator.
 void setInformationContentMap(InformationContentMap icm)
          Set the InformationContentMap of this InformationBasedComparator.
 
Methods inherited from class org.eml.sir.rel.PathBasedComparator
getLCSs, getMaxDepth, getMinPathLength, getMinPathLength, getPathsToRoot
 
Methods inherited from class org.eml.sir.rel.WordRelatednessComparator
getGermaNetObject, getRelatedness, getRelatedness, getRelatednessTrace, setGermaNetObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformationBasedComparator

public InformationBasedComparator()
Create a new instance of InformationBasedComparator.


InformationBasedComparator

public InformationBasedComparator(StemmingGermaNetObject gno)
Create a new instance of InformationBasedComparator.

Method Detail

getInformationContentMap

public InformationContentMap getInformationContentMap()
Return the InformationContentMap of this InformationBasedComparator.


setInformationContentMap

public void setInformationContentMap(InformationContentMap icm)
Set the InformationContentMap of this InformationBasedComparator. The stemmer of the InformationContentMap will become the stemmer of this InformationBasedComparator and its StemmingGermaNetObject.