Interface TokenizationFilter

    • Method Detail

      • constructLabeledSpans

        LabeledSpans constructLabeledSpans​(LabelAlphabet dict,
                                           java.lang.Object document,
                                           Label backgroundTag,
                                           Tokenization input,
                                           Sequence seq)
        Converts a the sequence of labels into a set of labeled spans. Essentially, this converts the output of sequence labeling into an extraction output.
        Parameters:
        dict -
        document -
        backgroundTag -
        input -
        seq -
        Returns: