IParagraph Interface Reference

Inheritance diagram for IParagraph:
Collaboration diagram for IParagraph:

List of all members.


Detailed Description

An IParagraph is an ISubSequence which represents a paragraph in a text.

Author:
sschwieb

Public Types

enum  ParagraphType {
  UNKNOWN, GENERAL_TEXT, HEADER, LIST,
  COMMENT
}

Public Methods

String getMetaInfo ()
ParagraphType getParagraphType ()
String getLabel ()
void setId (long id)

Package Functions

long getId ()

Member Enumeration Documentation

Enumerator:
UNKNOWN 
GENERAL_TEXT 
HEADER 
LIST 
COMMENT 

Method Details

long getId ( ) [package, inherited]
String getLabel ( ) [inherited]

Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.

Implemented in LabeledAnnotation, TerminalNode< T >, TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, Timex, Tweet, and TwitterEntity.

String getMetaInfo ( )

Implemented in Paragraph.

ParagraphType getParagraphType ( )

Implemented in Paragraph.