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.5.3 to 11.6.0

docs/api.json

11

changelog.md

@@ -32,2 +32,13 @@ compromise uses semver, and pushes to npm frequently

- fixes for noun inflection
##### 11.6.0
- improve quotations() method
- add .parentheses() method
- add 'nickname' support to .people()
- 'will be #Adjective' now tagged as Copula
- include adverbs in verb conjugation (more) consistently
- `sentences().toContinuous()` and `verbs().toGerund()`
- some more aliases for jquery-like methods api
- move `getPunctuation`, `setPunctuation` from .sentence to main Text method
- rename internal `endPunctuation` to `getPunctuation`
- more consistent `cardinal/ordinal` tagging for values

@@ -34,0 +45,0 @@ ##### 11.0.0

2

package.json

@@ -5,3 +5,3 @@ {

"description": "natural language processing in the browser",
"version": "11.5.3",
"version": "11.6.0",
"main": "./builds/compromise.js",

@@ -8,0 +8,0 @@ "types": "./compromise.d.ts",

@@ -67,3 +67,3 @@ <div align="center">

<br/>
but it is <a href="https://github.com/spencermountain/compromise/wiki/Speed">small, quick, and good-enough</a> for a bunch of stuff.
but it is <a href="https://beta.observablehq.com/@spencermountain/compromise-performance">small, quick, and good-enough</a> for a bunch of stuff.
</div>

@@ -82,3 +82,3 @@

<div>
&nbsp; &nbsp; &nbsp; &nbsp; one javascript file &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; <a href="https://github.com/spencermountain/compromise/wiki/QuickStart">one javascript file</a> &nbsp; &nbsp; &nbsp; &nbsp;
</div>

@@ -139,3 +139,3 @@ </td>

<div align="center">
<a href="https://nlp-expo.firebaseapp.com/expo/show-all-the-nouns-760733">
<a href="https://beta.observablehq.com/@spencermountain/nlp-compromise">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Part-of-Speech tagging &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

@@ -150,3 +150,3 @@ </a>

<div align="center">
<a href="https://nlp-expo.firebaseapp.com/expo/named-entity-recognition-208197">
<a href="https://beta.observablehq.com/@spencermountain/topics-named-entity-recognition">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Named-entities &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

@@ -173,3 +173,3 @@ </a>

<div align="center">
<a href="https://nlp-expo.firebaseapp.com/expo/custom-pos-tagging-161281">
<a href="https://beta.observablehq.com/@spencermountain/tutorial-1">
&nbsp; &nbsp; &nbsp; &nbsp; Template-matches &nbsp; &nbsp; &nbsp; &nbsp;

@@ -184,3 +184,3 @@ </a>

<div align="center">
<a href="https://nlp-expo.firebaseapp.com/expo/change-sentence-tense-203483">
<a href="https://beta.observablehq.com/@spencermountain/verbs">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Verb conjugation &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

@@ -207,3 +207,3 @@ </a>

<!-- plugins section -->
__**[plugins](https://nlp-compromise.github.io/compromise-plugin/)**__ allow adding vocabulary, fixing errors, and setting context quickly:
__**[plugins](https://beta.observablehq.com/@spencermountain/compromise-plugins)**__ allow adding vocabulary, fixing errors, and setting context quickly:
```js

@@ -233,3 +233,3 @@ var plugin = {

* <a href="https://github.com/spencermountain/compromise/wiki/Nouns"><b>Plural/singular:</b></a> - grab the noun-phrases, make em plural:
* <a href="https://beta.observablehq.com/@spencermountain/nouns"><b>Plural/singular:</b></a> - grab the noun-phrases, make em plural:
```js

@@ -260,3 +260,3 @@ doc = nlp('a bottle of beer on the wall.')

* <a href="https://github.com/spencermountain/compromise/wiki/Verbs"><b>Tense:</b></a> - switch to/from conjugations of any verb
* <a href="https://beta.observablehq.com/@spencermountain/verbs"><b>Tense:</b></a> - switch to/from conjugations of any verb
```js

@@ -283,3 +283,3 @@ let doc = nlp('she sells seashells by the seashore.')

* <a href="https://github.com/spencermountain/compromise/wiki/Usage"><b> Named-entities:</b></a> - get the people, places, organizations:
* <a href="https://beta.observablehq.com/@spencermountain/topics-named-entity-recognition"><b> Named-entities:</b></a> - get the people, places, organizations:
```js

@@ -286,0 +286,0 @@ doc = nlp('the opera about richard nixon visiting china')

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