gov.llnl.ontology.wordnet.wsd
Class ExtendedLeskWordSenseDisambiguation

java.lang.Object
  extended by gov.llnl.ontology.wordnet.wsd.SlidingWindowDisambiguation
      extended by gov.llnl.ontology.wordnet.wsd.LeskWordSenseDisambiguation
          extended by gov.llnl.ontology.wordnet.wsd.ExtendedLeskWordSenseDisambiguation
All Implemented Interfaces:
WordSenseDisambiguation

public class ExtendedLeskWordSenseDisambiguation
extends LeskWordSenseDisambiguation

A WordSenseDisambiguation implementation using the ExtendedLeskSimilarity measure.

This class is thread safe.

Author:
Keith Stevens
See Also:
LeskWordSenseDisambiguation

Field Summary
 
Fields inherited from class gov.llnl.ontology.wordnet.wsd.LeskWordSenseDisambiguation
reader, sim
 
Constructor Summary
ExtendedLeskWordSenseDisambiguation()
           
 
Method Summary
 void setup(OntologyReader reader)
          Initializes the WordSenseDisambiguation algorithm with the given OntologyReader.
 String toString()
          Returns "eld", the acronyms for this WordSenseDisambiguation algorithm.
 
Methods inherited from class gov.llnl.ontology.wordnet.wsd.LeskWordSenseDisambiguation
processContext
 
Methods inherited from class gov.llnl.ontology.wordnet.wsd.SlidingWindowDisambiguation
disambiguate, disambiguate, getSynsets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedLeskWordSenseDisambiguation

public ExtendedLeskWordSenseDisambiguation()
Method Detail

setup

public void setup(OntologyReader reader)
Initializes the WordSenseDisambiguation algorithm with the given OntologyReader. Any other configuration values should be set via the global system properties object.

Specified by:
setup in interface WordSenseDisambiguation
Overrides:
setup in class LeskWordSenseDisambiguation

toString

public String toString()
Returns "eld", the acronyms for this WordSenseDisambiguation algorithm.

Overrides:
toString in class LeskWordSenseDisambiguation


Copyright © 2010-2011. All Rights Reserved.