-
Notifications
You must be signed in to change notification settings - Fork 3
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
Complains about file names in text #2
Comments
It is a bug. const source = new StringSource(node);
// Textlint Node to Plaing Text
const sourceText = source.toString();
// Split Plain text by `.`
const sentences = split(sourceText);
As a result, it split We need to more conventional sentence-splitter for textlint nodes... 📝 Workaround resolution, fill |
Shouldn’t it require non-alphabetic character after |
Yes. You're correct. |
Completely rewrite sentence parser https://github.com/azu/sentence-splitter/releases/tag/3.0.0 fix #2
* fix(rule): fix false-positive result Completely rewrite sentence parser https://github.com/azu/sentence-splitter/releases/tag/3.0.0 fix #2 * chore(npm): remove unused library
I've completely rewrited sentence splitter. And, I've upgraded this rule to use latest sentence-splitter #3 |
Text:
Result:
Not sure it’s a bug or a feature ;-)
The text was updated successfully, but these errors were encountered: