Skip to content

How to return token ranges when tokenizing text? #328

Description

@anderleich

Hi,

Is there any way to return token ranges in the original text after tokenizing?

For example:

Tokenize: "This is a test"
Ranges: (0,4), (6,7), (9,9), (11,14)

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions