textlint-rule / sentence-splitter

Split {Japanese, English} text into sentences.
https://sentence-splitter.netlify.app/
MIT License
117 stars 14 forks source link

feat: add `separatorChars` insteadof `charRegExp` option #5

Closed azu closed 7 years ago

azu commented 7 years ago

charRegExp is deprecated. It will be removed next major update.

split({
  separatorChars: [".", "。", "?", "!", "?", "!"]
});