com.sun.labs.minion.knowledge
Interface KnowledgeSource

All Superinterfaces:
com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable
All Known Subinterfaces:
CompositeKnowledgeSource
All Known Implementing Classes:
CombinedKnowledgeSource, KnowledgeMorph, LiteMorph, LiteMorph_de, LiteMorph_en, LiteMorph_es, SequencedKnowledgeSource

public interface KnowledgeSource
extends com.sun.labs.util.props.Configurable

An interface for knowledge sources that know how to provide variations for dictionary terms.


Method Summary
 java.util.Set<java.lang.String> variantsOf(java.lang.String term)
          Get the variants of given word.
 
Methods inherited from interface com.sun.labs.util.props.Configurable
newProperties
 

Method Detail

variantsOf

java.util.Set<java.lang.String> variantsOf(java.lang.String term)
Get the variants of given word.

Returns:
a Set of words that are variations of term.