Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Token should not be able to have whitespace #24

@schmmd

Description

@schmmd

Unfortunately, BreezeSentencer uses Tokenizer.computeOffsets to compute offsets from the resulting sentences, so simply adding require(string.forall(!_.isWhitespace)) breaks BreezeSentencer.

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