it.unitn.disi.smatch.preprocessors
Class DefaultPreprocessor

java.lang.Object
  extended by it.unitn.disi.smatch.preprocessors.DefaultPreprocessor
All Implemented Interfaces:
IPreprocessor

public class DefaultPreprocessor
extends java.lang.Object
implements IPreprocessor

This class performs all the operations related to linguistic preprocessing. It also contains some heuristics to perform sense disambiguation. Corresponds to Step 1 and 2 in the semantic matching algorithm

Author:
Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com

Constructor Summary
DefaultPreprocessor()
           
 
Method Summary
 IContext preprocess(IContext context)
          This method perfoms all preprocessing procedures as follows: - linguistic analysis (each lemma is associated with the set of senses taken from the oracle).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPreprocessor

public DefaultPreprocessor()
Method Detail

preprocess

public IContext preprocess(IContext context)
This method perfoms all preprocessing procedures as follows: - linguistic analysis (each lemma is associated with the set of senses taken from the oracle). - sense filtering (elimination of irrelevant to context structure senses)

Specified by:
preprocess in interface IPreprocessor
Parameters:
context - context to be prepocessed
Returns:
preprocessed context


© 2010 Knowdive @ DISI