Skip to content

Add a splitter for splitting on runs of Unicode whitespace #38

Description

@jwodder
  • The splitter should discard leading & trailing whitespace
  • Add another splitter for splitting on ASCII-only whitespace?
    • Name the ASCII one "SpaceSplitter" and the Unicode one "UnicodeSpaceSplitter"
  • Add a read_*() function that splits on whitespace?
  • Add an option for translating to a single space?
  • Don't break on non-breaking spaces?
  • Define "space" by str.isspace()?

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

    c:splittersenhancementNew feature or request thereforunder considerationDev has not yet decided whether or how to implement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions