package morphology.parser; /** * Abstract class (interface) for encapsulation of stem features. * * Project: NGSLT --> NLP --> Words --> Assignment #1 * @author Normunds Grūzītis, Gunta Nešpore, Baiba Saulīte * @version February-March 2006 */ public abstract class StemFeature { /** * Gets part-of-speech of the stem. * @return POS code (e.g., 'N', 'V', 'ADJ'). */ public abstract String getPOS(); /** * Gets inflectional paradigm of the stem. * @return code of the paradigm (e.g., 'D1', 'D2', 'CON1'). */ public abstract String getParadigm(); }