Skip to content

AnnotatedText: Erroneous processing of texts containing the \n literal sequence #28

Description

@danmysak

The issue can probably best be demonstrated with an example:

from ua_gec import AnnotatedText

text = AnnotatedText(r'\n{=>_}')
print(len(text.get_original_text()))  # output: 1
print(text.get_annotations()[0].start)  # output: 2

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