compromise
Advanced tools
Comparing version 11.0.2 to 11.1.0
@@ -10,2 +10,11 @@ compromise uses semver, and pushes to npm frequently | ||
### v11 | ||
##### 11.1.0 | ||
- add `#Multiple` Values tag, and changes to how invalid numbers like 'sixty fifteen hundred' are understood | ||
- better em-dash/en-dash support | ||
- better conjugate implicit verbs inside contractions - "i'm", "we've" | ||
- nouns().articles() method | ||
- neighborhoods as #Place | ||
- support more complex noun-phrases with JustesonKatz in `.nouns()` | ||
<!-- * include 'the #TitleCase' matches in .topics() --> | ||
##### 11.0.0 | ||
@@ -29,3 +38,2 @@ - support for persistent lexicon/tagset changes | ||
- split-out comma-separated adverbs | ||
<!-- * include 'the #TitleCase' matches in .topics() --> | ||
@@ -32,0 +40,0 @@ ### v10 |
@@ -7,3 +7,3 @@ 'use strict'; | ||
example: 'nlp(\'Lunchlady Doris, have you got any grease?\').nouns().data()\n//[{text:\'Lunchlady Doris\'}, {text:\'grease\'}]', | ||
returns: 'array' | ||
returns: 'Array' | ||
}, | ||
@@ -29,4 +29,9 @@ isPlural: { | ||
example: 'nlp(\'the king\u2019s men\').nouns().toSingular().out()\n//the king\'s man' | ||
}, | ||
articles: { | ||
desc: 'whether this noun deserves \'a\' or \'an\'', | ||
returns: 'Array', | ||
example: 'nlp(\'the hour\').nouns().articles()\n//[{text:"king", article:"a"}]' | ||
} | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"description": "natural language processing in the browser", | ||
"version": "11.0.2", | ||
"version": "11.1.0", | ||
"main": "./builds/compromise.js", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"test": "node ./scripts/test.js", | ||
"testb": "TESTENV=prod node ./scripts/test.js", | ||
"testb": "\"node_modules/.bin/tape\" \"./test/unit/**/*.test.js\"", | ||
"buildTest": "TESTENV=prod node ./scripts/test.js", | ||
@@ -46,3 +46,3 @@ "test:types": "tsc --project test/types", | ||
"codacy-coverage": "^2.0.3", | ||
"compromise-plugin": "0.0.7", | ||
"compromise-plugin": "0.0.8", | ||
"derequire": "^2.0.3", | ||
@@ -49,0 +49,0 @@ "eslint": "^3.1.1", |
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 too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1285164
22
26525