compromise
Advanced tools
Comparing version 10.1.0 to 10.2.0
@@ -20,2 +20,6 @@ `compromise` uses semver, with occasional releases to npm and bower. | ||
- less-greedy date tagging & ambiguous month fixes | ||
* 10.2.0 | ||
- .trim() method, | ||
- adjective tagging fixes | ||
- some new .out() methods | ||
@@ -22,0 +26,0 @@ ### v9 |
@@ -27,3 +27,3 @@ 'use strict'; | ||
out: { | ||
desc: 'render parsed data as an output. supports `text`, `normal`, `array`, `html`, `grid`, `color`, `debug`', | ||
desc: 'render parsed data as an output. supports `text`, `normal`, `array`, `html`, `grid`, `color`, `debug`, `csv`', | ||
returns: 'Text', | ||
@@ -113,2 +113,7 @@ example: 'nlp(\'you might say there\u2019s a little Uter in all of us\').match(\'#Adjective uter\').out(\'html\')\n//<span><span class="nl-Adjective">little</span> <span class="nl-Person nl-FirstName">Uter</span></span>' | ||
example: 'nlp(\'natural-language processing\').dehyphenate().out()\n//natural language processing' | ||
}, | ||
trim: { | ||
desc: 'remove leading and trailing whitespace from each match', | ||
returns: 'Text', | ||
example: 'nlp(\' Lenny and Carl \').people().trim().out()\n//[\'Lenny\', \'Carl\']' | ||
} | ||
@@ -115,0 +120,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "natural language processing in the browser", | ||
"version": "10.1.0", | ||
"version": "10.2.0", | ||
"main": "./builds/compromise.js", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
1193572
27420