compromise
Advanced tools
Comparing version 13.3.2 to 13.4.0
@@ -13,4 +13,12 @@ compromise uses semver, and pushes to npm frequently | ||
-move (some) contractions into tokenizer? | ||
#### 13.4.0 | ||
- **[change]** stop including adverbs and some auxiliaries in `.conjugate()` results | ||
- **[change]** .append() and .prepend() on an empty doc now creates a new doc | ||
- **[new]** add `verbs().toParticiple()` method (add to observables/verb) | ||
- **[new]** add `sentences().toParticiple()` method (add to observables/verb) | ||
- **[fix]** some verb-tagging issues | ||
- **[fix]** contractions issue in `.clone()` | ||
- **[fix]** try harder to retain modal-verbs in conjugation - 'i should drive' no-longer becomes 'i will drive' | ||
#### 13.3.2 | ||
@@ -17,0 +25,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "modest natural language processing", | ||
"version": "13.3.2", | ||
"version": "13.4.0", | ||
"main": "./builds/compromise.js", | ||
@@ -58,15 +58,15 @@ "unpkg": "./builds/compromise.min.js", | ||
"devDependencies": { | ||
"@babel/core": "7.11.1", | ||
"@babel/preset-env": "7.11.0", | ||
"amble": "1.1.0", | ||
"efrt": "2.2.2", | ||
"shelljs": "0.8.4", | ||
"@babel/core": "7.11.6", | ||
"@babel/preset-env": "7.11.5", | ||
"rollup": "2.26.11", | ||
"@rollup/plugin-alias": "3.1.1", | ||
"@rollup/plugin-commonjs": "14.0.0", | ||
"@rollup/plugin-commonjs": "15.0.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"@rollup/plugin-node-resolve": "8.4.0", | ||
"amble": "1.1.0", | ||
"efrt": "2.2.2", | ||
"rollup": "2.23.0", | ||
"@rollup/plugin-node-resolve": "9.0.0", | ||
"rollup-plugin-babel": "4.4.0", | ||
"rollup-plugin-filesize-check": "0.0.1", | ||
"rollup-plugin-terser": "6.1.0", | ||
"shelljs": "0.8.4", | ||
"rollup-plugin-terser": "7.0.2", | ||
"tap-dancer": "0.2.0", | ||
@@ -73,0 +73,0 @@ "tape": "5.0.1" |
@@ -485,2 +485,3 @@ <div align="center"> | ||
- **[.verbs().toGerund()](https://observablehq.com/@spencermountain/verbs)** - `'walks' → 'walking'` | ||
- **[.verbs().toParticiple()](https://observablehq.com/@spencermountain/verbs)** - `'drive' → 'driven'` - otherwise simple-past ('walked') | ||
- **[.verbs().toNegative()](https://observablehq.com/@spencermountain/verbs)** - `'went' → 'did not go'` | ||
@@ -487,0 +488,0 @@ - **[.verbs().toPositive()](https://observablehq.com/@spencermountain/verbs)** - `"didn't study" → 'studied'` |
@@ -427,2 +427,4 @@ export as namespace nlp | ||
toGerund(): ExtendedDocument<Ext, W, Ph> | ||
/** 'drive' → 'driven' if it exists, otherwise past-tense */ | ||
toParticiple(): ExtendedDocument<Ext, W, Ph> | ||
/** return verbs with 'not' */ | ||
@@ -429,0 +431,0 @@ isNegative(): ExtendedDocument<Ext, W, Ph> |
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
1092714
24671
818