Class BaselineAnnotator

    • Constructor Detail

      • BaselineAnnotator

        public BaselineAnnotator​(String beginTag,
                                 String interTag,
                                 String otherTag)
    • Method Detail

      • getCueWords

        public static Set<String> getCueWords​(String abnerTaggedSentence,
                                              String beginTag,
                                              String intermediateTag,
                                              String otherTag)
        Gets the set of cue word phrases in the given sentence. The given sentence is tagged according to Abner's specifications
        Parameters:
        abnerTaggedSentence - sentence tagged by abner's specification.
        beginTag - the tag to mark the beginning of the cue
        intermediateTag - the tag to mark intermediate portions
        otherTag - the other tag
        Returns:
        the set of cue words or phrases in the given sentence