TEISyntacticEntity.java
367 Bytes
package ipipan.clarin.tei.api.entities;
import java.util.List;
/**
* Syntactic entity - eg. syntactic word or syntactic group.
*
* @author mlenart
*/
public interface TEISyntacticEntity extends TEIEntity {
boolean isWord();
boolean isGroup();
TEIWord asWord();
TEIGroup asGroup();
List<TEIMorph> getLeaves();
List<TEIWord> getAllDescendingWords();
}