Skip to content

Simple Tokenizer not separating punctuation correctly #35

Description

@juanjoDiaz

It seems that punctuation symbols are not correctly separated.

>>> simple_tokenizer('"test": "that"')
['"', 'test', '":', '"', 'that', '"']

I would have expected:
['"', 'test', '"', ':', '"', 'that', '"']

P.S.: I would rather to review my big refactor before applying any other changes to avoid a constant conflict in the PR 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions