Skip to content

Number at the end of the sentence is not a separator. #41

@Thyrst

Description

@Thyrst

Describe the bug
Sentences that ends with a number are not separated correctly.

Text

The crash involved 158 cars on a big road called Interstate 55. Twenty-five people got hurt in the crash.

Actual Result

  • The crash involved 158 cars on a big road called Interstate 55. Twenty-five people got hurt in the crash.

Expected Result

  • The crash involved 158 cars on a big road called Interstate 55.
  • Twenty-five people got hurt in the crash.

Additional context
I think the number followed by a dot should be a separator if those rules are true:

  • it is followed by a capitalised word
  • the word is not a month name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions