TEISegment.java 480 Bytes
package ipipan.clarin.tei.api.entities;

/**
 * A segment (eg. form ann_segmentation.xml NKJP file)
 *
 * @author mlenart
 */
public interface TEISegment extends TEIEntity {

	TEIParagraph getParagraph();

	void setParagraph(TEIParagraph paragraph);

	int getOffset();

	void setOffset(int offset);

	int getLength();

	String getOrth();

	boolean hasNps();

	int getChoiceNum();

	void setChoiceNum(int choiceNum);

	boolean isRejected();

	void setRejected(boolean rejected);
}