compromise
Advanced tools
Comparing version 12.2.0 to 12.2.1
@@ -26,6 +26,18 @@ compromise uses semver, and pushes to npm frequently | ||
- add `concat` param to `.pre()` and `.post()` | ||
- allow ellipses at start of term *"....so"* in `@hasEllipses` | ||
- allow ellipses at start of term _"....so"_ in `@hasEllipses` | ||
- fix matches with optional-end `foo?$` match syntax | ||
- add typescript types for subsets | ||
##### 12.2.1 | ||
- fix 'aint' contraction | ||
- make Doc.world writable | ||
- update deps | ||
- more tests | ||
- fix shared period with acronym at end of sentence | ||
- fix some mis-classification of contraction | ||
- fix over-active emoji regex | ||
- tag 'cookin', 'hootin' as `Gerund` | ||
- support unicode single-quote symbols in contractions | ||
### v11 | ||
@@ -32,0 +44,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "natural language processing in the browser", | ||
"version": "12.2.0", | ||
"version": "12.2.1", | ||
"main": "./builds/compromise.js", | ||
@@ -52,7 +52,7 @@ "unpkg": "./builds/compromise.min.js", | ||
"devDependencies": { | ||
"@babel/core": "7.7.4", | ||
"@babel/preset-env": "7.7.4", | ||
"@babel/core": "7.7.5", | ||
"@babel/preset-env": "7.7.5", | ||
"amble": "0.0.7", | ||
"efrt": "2.2.1", | ||
"rollup": "1.27.5", | ||
"rollup": "1.27.8", | ||
"rollup-plugin-babel": "4.3.3", | ||
@@ -59,0 +59,0 @@ "rollup-plugin-commonjs": "10.1.0", |
@@ -432,2 +432,3 @@ <div align="center"> | ||
- **[.phoneNumbers()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'(939) 555-0113'` | ||
- **[.money()](https://observablehq.com/@spencermountain/compromise-values)** - things like `'$2.50'` | ||
- **[.hashTags()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'#nlp'` | ||
@@ -524,3 +525,2 @@ - **[.emails()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'hi@compromise.cool'` | ||
- **[.numbers().units()](https://observablehq.com/@spencermountain/compromise-values)** - grab 'kilos' from `25 kilos'` | ||
- **[.numbers().money()](https://observablehq.com/@spencermountain/compromise-values)** - things like `'$2.50'` | ||
- **[.numbers().fractions()](https://observablehq.com/@spencermountain/compromise-values)** - things like `1/3rd` | ||
@@ -527,0 +527,0 @@ - **[.numbers().toText()](https://observablehq.com/@spencermountain/compromise-values)** - convert number to `five` or `fifth` |
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
1619837
21279