UglyToad / PragmaticSegmenterNet

Port of PragmaticSegmenter for sentence boundary detection
Other
33 stars 12 forks source link

Fails with a punctuation character #1

Closed Telavian closed 5 years ago

Telavian commented 5 years ago

Trying to segment the single character '.' is failing.

EliotJones commented 5 years ago

Well that's embarrassing! Thanks, I'll take a look this evening.

EliotJones commented 5 years ago

I've pushed a version which I think should fix this issue as well as prevent the underlying bug recurring for longer sequences of text. Please take a look at version 1.0.1 and see if it resolves your problem: https://www.nuget.org/packages/PragmaticSegmenterNet/1.0.1

Thanks again for letting me know about this.

Telavian commented 5 years ago

Thanks. It works great.