compromise
Advanced tools
Comparing version 13.0.0-rc1 to 13.0.0
@@ -19,2 +19,3 @@ compromise uses semver, and pushes to npm frequently | ||
- **[breaking]** `.match('foo [bar]')` no-longer returns 'bar'. (use `.match('foo [bar]', 0)`) | ||
- **[breaking]** capture groups are no longer merged. `.match('[foo] [bar]')` returns two groups accessible with the new `.groups()` function | ||
- **[breaking]** change `.sentences()` method to return only full-sentences of matches (use `.all()` instead) | ||
@@ -26,6 +27,6 @@ | ||
- fix issues with greedy capture [*] and [.+] -(@Drache93) 💛 | ||
- add whitespace properties (pre+post) to default json output (suppress with `.json({whitespace:false})`) | ||
- `.lookup({key:val})` with an object now returns an object back ({val: Doc}) | ||
- add whitespace properties (pre+post) to default json output (suppress with `.json({ whitespace: false })`) | ||
- `.lookup({ key: val })` with an object now returns an object back ({val: Doc}) | ||
- add nlp constructor as a third param to `.extend()` | ||
- support lexicon object param in tokenize - `.tokenize('my word', {word:'tag'})` | ||
- support lexicon object param in tokenize - `.tokenize('my word', { word: 'tag' })` | ||
- clean-up of scripts and tooling | ||
@@ -38,3 +39,3 @@ - improved typescript types | ||
- add new named-match syntax, with .byName() method (@Drache93) | ||
- add new named-match syntax, with .groups() method (@Drache93) | ||
- add `nlp.fromJSON()` method | ||
@@ -41,0 +42,0 @@ - add a new `compromise-tokenize.js` build, without the tagger, or data included. |
@@ -5,3 +5,3 @@ { | ||
"description": "modest natural language processing", | ||
"version": "13.0.0-rc1", | ||
"version": "13.0.0", | ||
"main": "./builds/compromise.js", | ||
@@ -8,0 +8,0 @@ "unpkg": "./builds/compromise.min.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
1
1742822
21807