TEIMorph.java
686 Bytes
package ipipan.clarin.tei.api.entities;
import java.util.List;
/**
* A morphem (eg. form ann_morphosyntax.xml NKJP file)
*
* @author mlenart
*/
public interface TEIMorph extends TEIWordChild, TEINamedEntityChild, TEIEntity {
TEISegment getCorrespSegment();
String getOrth();
boolean hasNps();
List<TEILex> getLexems();
List<TEIInterpretation> getAllInterpretations();
TEIInterpretation getChosenInterpretation();
void addInterpretation(TEIInterpretation interp);
void setChosenInterpretation(TEIInterpretation interp);
boolean isChosenInterpretation(TEIInterpretation interp);
String getInterpMsdId(TEIInterpretation interp);
String getChosenInterpMsdId();
}