package morphology.parser; /** * Abstract class (interface) for encapsulation of ending features. * * Project: NGSLT --> NLP --> Words --> Assignment #1 * @author Normunds Grūzītis, Gunta Nešpore, Baiba Saulīte * @date February 2006 */ public abstract class EndingFeature { /** * Gets inflectional paradigm of the ending. * @return code of the paradigm (e.g., 'D1', 'D2', 'CON1'). */ public abstract String getParadigm(); /** * Gets person number represented by the ending. * @return number (e.g., 'SG' or 'PL'). */ public abstract String getNumber(); }