Class TokenSample

    • Constructor Detail

      • TokenSample

        public TokenSample​(String text,
                           Span[] tokenSpans)
        Initializes the current instance.
        Parameters:
        text - the text which contains the tokens.
        tokenSpans - the spans which mark the begin and end of the tokens.