Package edu.upf.taln.dri.lib.model.ext
Interface CandidateTermOcc
-
- All Known Implementing Classes:
CandidateTermOccImpl
public interface CandidateTermOcc
Interface to access a candidate term mined from the document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asString(boolean compactOutput)
String representation of the objectInteger
getId()
Document-wide unambiguous candidate term occurrence IdString
getMatchedPattern()
The actual POS pattern that characterizes the candidate term occurrenceString
getRegexPattern()
The POS pattern regular expression used to spot this candidate term occurrenceInteger
getSentenceIdWithTerm()
Get the id of the sentence that includes the candidate term occurrenceString
getText()
The candidate term occurrence text
-
-
-
Method Detail
-
getId
Integer getId()
Document-wide unambiguous candidate term occurrence Id- Returns:
- document-wide unambiguous term Id
-
getText
String getText()
The candidate term occurrence text- Returns:
- term text
-
getSentenceIdWithTerm
Integer getSentenceIdWithTerm()
Get the id of the sentence that includes the candidate term occurrence- Returns:
-
getRegexPattern
String getRegexPattern()
The POS pattern regular expression used to spot this candidate term occurrence- Returns:
-
getMatchedPattern
String getMatchedPattern()
The actual POS pattern that characterizes the candidate term occurrence- Returns:
-
asString
String asString(boolean compactOutput)
String representation of the object- Returns:
-
-