Package edu.fiu.jtlex
Class Clause
java.lang.Object
edu.fiu.jtlex.Clause
- Record Components:
id- A unique ID given to parts of speechpredicatePosition- Initial position of the predicate within the clausebegin- Position of first character of clauseend- Position of last character in the clausetext- The clause text
This class represents the clause part of speech in every sentence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBegin()Position of the first character in the clauseintgetEnd()Position of the last character in the clauseintgetId()unique ID given to a clause objectintThe start position of the of the first character in predicategetText()Context of the clause
-
Constructor Details
-
Clause
-
-
Method Details
-
getId
public int getId()Description copied from interface:IClauseunique ID given to a clause object -
getPredicatePosition
public int getPredicatePosition()Description copied from interface:IClauseThe start position of the of the first character in predicate- Specified by:
getPredicatePositionin interfaceIClause- Returns:
- predicatePosition
-
getBegin
public int getBegin()Description copied from interface:IClausePosition of the first character in the clause -
getEnd
public int getEnd()Description copied from interface:IClausePosition of the last character in the clause -
getText
Description copied from interface:IClauseContext of the clause
-