neurosnap/sentences

Sentences get cut off if semi-colon used

variadico opened this issue · 1 comments

The following sentence gets cut off after the semi-colon.

I am here; you are over there.

I tested that sentence at sentences.erock.io.

All I see is

I am here

To clarify, the issue was actually with the sentences demo where I wasn't properly encoding the text that I sent to the http server, the actual sentences library properly handled semicolons.

Even so, I added a couple unit tests to the sentences library to ensure semicolons are handled properly:

Thank you for your feedback, much appreciated!