Socket
Socket
Sign inDemoInstall

compromise

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compromise - npm Package Compare versions

Comparing version 11.0.2 to 11.1.0

docs/to_web.js

10

changelog.md

@@ -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"}]'
}
};

6

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc