compromise
Advanced tools
Comparing version 13.7.0 to 13.8.0
@@ -11,5 +11,30 @@ compromise uses semver, and pushes to npm frequently | ||
<!-- #### [Unreleased] --> | ||
<!-- #### [Unreleased] | ||
--> | ||
#### 13.7.0 | ||
#### 13.8.0 [Dec 2020] | ||
- **[change]** improved support for fractions in numbers-plugin #793 | ||
- **[change]** remove zero-width characters in normalized output #759 | ||
- **[change]** improved Person tagging with particles #794 | ||
- **[change]** improved i18n Person names | ||
- **[change]** tagger+tokenization fixes | ||
- **[change]** remove empty results from .out('array') #795 | ||
- **[change]** `.tokenize()` runs any postProcess() scripts from plugins | ||
- **[change]** improved support for lowercase acronyms | ||
- **[change]** - support years like '97 | ||
- **[change]** - change tokenizer for '20-aug' | ||
- **[change]** - update deps of all plugins | ||
- **[fix]** - NumberRange tagging issue #795 | ||
- **[fix]** - improved support for ordinal number ranges | ||
- **[fix]** - improved regex support in match-syntax | ||
- **[fix]** - improved support for ~soft~ match syntax #797 | ||
- **[fix]** - better handling of `{0,n}` match syntax | ||
- **[new]** - new plugin `strict-match` | ||
- **[new]** - set NounPhrase, VerbPhrase tags in nlp-sentences plugin | ||
- **[new]** - `.phrases()` method in nlp-sentences plugin | ||
- **[new]** - support `.apppend(doc)` and `.prepend(doc)` | ||
- **[new]** - `values.normalize()` method | ||
#### 13.7.0 [Oct 2020] | ||
- **[change]** many misc tagging fixes | ||
@@ -24,3 +49,3 @@ - 'if' is now a #Preposition | ||
#### 13.6.0 | ||
#### 13.6.0 [Oct 2020] | ||
@@ -34,7 +59,7 @@ - **[new]** first-attempt at `verbs().subject()` method | ||
#### 13.5.0 | ||
#### 13.5.0 [Sep 2020] | ||
- **[new]** add `.parseMatch()` method for pre-parsing match statements | ||
#### 13.4.0 | ||
#### 13.4.0 [Sep 2020] | ||
@@ -49,3 +74,3 @@ - **[change]** stop including adverbs and some auxiliaries in `.conjugate()` results | ||
#### 13.3.2 | ||
#### 13.3.2 [Aug 2020] | ||
@@ -57,3 +82,3 @@ - fix for offset issue #771 | ||
#### 13.3.1 | ||
#### 13.3.1 [June 2020] | ||
@@ -64,3 +89,3 @@ -support unicode spaces for #759 | ||
#### 13.3.0 | ||
#### 13.3.0 [June 2020] | ||
@@ -72,3 +97,3 @@ - bugfixes (conjugation and tagging) 752, 737, 725, 751, 743 748, 755, 758, 706, 761 | ||
#### 13.2.0 | ||
#### 13.2.0 [May 2020] | ||
@@ -105,3 +130,3 @@ - deprecate `.money()` and favour overloaded method in compromise-numbers plugin | ||
### 13.0.0 | ||
### 13.0.0 [Feb 2020] | ||
@@ -119,4 +144,4 @@ _major changes to `.export()` and `[capture] group` match-syntax._ | ||
- fix nlp.clone() - hasn't worked properly, since v12. (@Drache93) | ||
- fix issues with greedy capture [*] and [.+] -(@Drache93) 💛 | ||
- **[fix]** - nlp.clone() - hasn't worked properly, since v12. (@Drache93) | ||
- **[fix]** - issues with greedy capture [*] and [.+] -(@Drache93) 💛 | ||
- add whitespace properties (pre+post) to default json output (suppress with `.json({ whitespace: false })`) | ||
@@ -130,17 +155,10 @@ - `.lookup({ key: val })` with an object now returns an object back ({val: Doc}) | ||
- allow null results in `.map()` function | ||
new things: | ||
- add new named-match syntax, with .groups() method (@Drache93) | ||
- add `nlp.fromJSON()` method | ||
- add a new `compromise-tokenize.js` build, without the tagger, or data included. | ||
#### 12.4.0 | ||
- adds proper `nlp.clone()` support (thanks @Drache93!) | ||
- better typescript support | ||
- allow longer acronyms | ||
- fix offset length issue | ||
- **[fix]** - offset length issue | ||
- **[new]** - add new named-match syntax, with .groups() method (@Drache93) | ||
- **[new]** - add `nlp.fromJSON()` method | ||
- **[new]** - add a new `compromise-tokenize.js` build, without the tagger, or data included. | ||
#### 12.3.0 | ||
#### 12.3.0 [Jan 2020] | ||
@@ -160,3 +178,3 @@ - prefer `@titleCase` instead of `#TitleCase` tag | ||
##### 12.2.1 | ||
##### 12.2.1 [Dec 2019] | ||
@@ -173,3 +191,3 @@ - fix 'aint' contraction | ||
#### 12.2.0 | ||
#### 12.2.0 [Dec 2019] | ||
@@ -183,3 +201,3 @@ - improved splitting in .nouns() | ||
#### 12.1.0 | ||
#### 12.1.0 [Nov 2019] | ||
@@ -192,3 +210,3 @@ - add 'sideEffect:false' flag to build | ||
### 12.0.0 :postal_horn: | ||
### 12.0.0 :postal_horn: [Nov 2019] | ||
@@ -195,0 +213,0 @@ - see **[Release Notes](https://github.com/spencermountain/compromise/wiki/v12-Release-Notes)** |
@@ -5,3 +5,3 @@ { | ||
"description": "modest natural language processing", | ||
"version": "13.7.0", | ||
"version": "13.8.0", | ||
"main": "./builds/compromise.js", | ||
@@ -60,13 +60,13 @@ "unpkg": "./builds/compromise.min.js", | ||
"devDependencies": { | ||
"@babel/core": "7.12.3", | ||
"@babel/preset-env": "7.12.1", | ||
"@babel/core": "7.12.9", | ||
"@babel/preset-env": "7.12.7", | ||
"@rollup/plugin-alias": "3.1.1", | ||
"@rollup/plugin-commonjs": "16.0.0", | ||
"@rollup/plugin-commonjs": "17.0.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"@rollup/plugin-node-resolve": "10.0.0", | ||
"amble": "1.1.0", | ||
"codecov": "3.8.0", | ||
"@rollup/plugin-node-resolve": "11.0.0", | ||
"amble": "1.2.0", | ||
"codecov": "3.8.1", | ||
"efrt": "2.2.2", | ||
"nyc": "^15.1.0", | ||
"rollup": "2.32.1", | ||
"rollup": "2.34.0", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -73,0 +73,0 @@ "rollup-plugin-filesize-check": "0.0.1", |
@@ -532,2 +532,3 @@ <div align="center"> | ||
- **[.numbers().json()](https://observablehq.com/@spencermountain/compromise-values)** - overloaded output with number metadata | ||
- **[.numbers().get()](https://observablehq.com/@spencermountain/compromise-values)** - retrieve the parsed number(s) | ||
- **[.numbers().units()](https://observablehq.com/@spencermountain/compromise-values)** - grab 'kilos' from `25 kilos'` | ||
@@ -552,2 +553,7 @@ - **[.numbers().fractions()](https://observablehq.com/@spencermountain/compromise-values)** - things like `1/3rd` | ||
- **[.money()](https://observablehq.com/@spencermountain/compromise-values)** - things like `'$2.50'` | ||
- **[.money().get()](https://observablehq.com/@spencermountain/compromise-values)** - retrieve the parsed amount(s) of money | ||
- **[.money().json()](https://observablehq.com/@spencermountain/compromise-values)** - currency + number info | ||
- **[.money().currency()](https://observablehq.com/@spencermountain/compromise-values)** - which currency the money is in | ||
- **[.fractions()](https://observablehq.com/@spencermountain/compromise-values)** - like '2/3rds' | ||
- **[.percentages()](https://observablehq.com/@spencermountain/compromise-values)** - like '2.5%' | ||
@@ -637,2 +643,8 @@ ##### Export | ||
##### Strict-match | ||
`npm install compromise-strict` | ||
- **[.strictMatch()](https://observablehq.com/@spencermountain/compromise-strict)** - perform a compromise match using a formal parser | ||
##### Syllables | ||
@@ -639,0 +651,0 @@ |
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 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
1151757
25808
831