com.aliasi.spell
Interface SpellChecker

All Known Implementing Classes:
CompiledSpellChecker

public interface SpellChecker

The SpellChecker interface specifies a single method for first-best spelling correction.

Since:
LingPipe2.0
Version:
2.0
Author:
Bob Carpenter

Method Summary
 String didYouMean(String receivedMsg)
          Returns a first-best hypothesis of the intended message given the received message.
 

Method Detail

didYouMean

String didYouMean(String receivedMsg)
Returns a first-best hypothesis of the intended message given the received message. The returned result will be null if the received message itself is the best hypothesis.

Parameters:
receivedMsg - Input string to correct.
Returns:
The first-best hypotheses of what was meant.