Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Thyrst opened this issue Oct 24, 2023 · 0 comments
Open

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

Thyrst opened this issue Oct 24, 2023 · 0 comments
Labels
Type: Bug Bug or Bug fixes

Comments

@Thyrst
Copy link
Contributor

Thyrst commented Oct 24, 2023

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
@azu azu added the Type: Bug Bug or Bug fixes label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants