Comparing version 0.0.6 to 1.0.0
{ | ||
"name": "sbd", | ||
"version": "0.0.6", | ||
"version": "1.0.0", | ||
"description": "Split text into sentences with Sentence Boundary Detection (SBD).", | ||
@@ -5,0 +5,0 @@ "main": "lib/tokenizer.js", |
@@ -41,2 +41,25 @@ Sentence Boundary Detection (SBD) | ||
// ] | ||
// Sometimes newlines are important. Newlines can be treated as sentence endings | ||
file.txt | ||
""" | ||
Title of project: Hello World | ||
Author: Kenny | ||
May, 2012 | ||
Lorem ipsum dolor sit amet. Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco (laboris nisi?) ut aliquip ex ea commodo consequat. | ||
""" | ||
var sentences = tokenizer.sentences(textFromFile, true); | ||
// [ | ||
// 'Title of project: Hello World', | ||
// 'Author: Kenny', | ||
// 'May, 2012', | ||
// 'Lorem ipsum dolor sit amet.', | ||
// 'Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', | ||
// 'Ut enim ad minim veniam, quis nostrud exercitation ullamco (laboris nisi?) ut aliquip ex ea commodo consequat.' | ||
// ] | ||
``` | ||
@@ -43,0 +66,0 @@ |
@@ -45,2 +45,2 @@ /*jshint node:true, laxcomma:true */ | ||
}); | ||
}); | ||
}); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
22125
0
70
0
444