Interface CandidateTermOcc

  • All Known Implementing Classes:
    CandidateTermOccImpl

    public interface CandidateTermOcc
    Interface to access a candidate term mined from the document.
    • 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: