Logo

GitLab

Sign in

nkjp / teiapi

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • teiapi
  • ..
  • entities
  • TEISyntacticEntity.java
  • Initial
    ea923f39
    Mateusz Kopeć authored
    2015-07-09 11:07:33 +0200  
    Browse Code »
TEISyntacticEntity.java 367 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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();
}