cic.wsd.disambiguation
Class MFS

java.lang.Object
  extended by cic.wsd.disambiguation.WSDAlgorithm
      extended by cic.wsd.disambiguation.MFS

public class MFS
extends WSDAlgorithm

A simple Most Frequent Sense heuristic.

Author:
Francisco Viveros-Jiménez

Field Summary
 
Fields inherited from class cic.wsd.disambiguation.WSDAlgorithm
params
 
Constructor Summary
MFS()
           
 
Method Summary
 Decision disambiguate(AmbiguousWord target, java.util.ArrayList<AmbiguousWord> window)
          Disambiguates target using the window.
 java.lang.String toString()
          Return the name of the algorithm.
 
Methods inherited from class cic.wsd.disambiguation.WSDAlgorithm
getParams, overlap, overlap, overlap, setParams, solve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MFS

public MFS()
Method Detail

disambiguate

public Decision disambiguate(AmbiguousWord target,
                             java.util.ArrayList<AmbiguousWord> window)
Description copied from class: WSDAlgorithm
Disambiguates target using the window.

Specified by:
disambiguate in class WSDAlgorithm
Parameters:
target - The AmbiguousWord to be disambiguated.
window - The context window that helps disambiguation process.
Returns:
The Decision made by the algorithm.

toString

public java.lang.String toString()
Description copied from class: WSDAlgorithm
Return the name of the algorithm.

Specified by:
toString in class WSDAlgorithm