sbd
sbd copied to clipboard
Text with < sign fail to get detected, edge case.
Hi, @Tessmore First of all your library is quite helpful, nice work.
I was working with this code and got some unexpected results.
code:
const sbd = require('sbd');
const ans = '<birthday**%^today )'
const ann = sbd.sentences(ans, {sanitize: true});
console.log(ann);
console.log('answer should be: ', 'birthday**%^today')``
So as expected we should have got something like <>birthday**%^today but when I run this I am getting an empty list.
Denoting it lost the next words in parsing.
Any ideas about this?
