compromise
Advanced tools
Comparing version 13.10.4 to 13.10.5
@@ -13,2 +13,7 @@ compromise uses semver, and pushes to npm frequently | ||
--> | ||
#### 13.10.5 [March 2021] | ||
- **[new]** - support Time-range like '3pm-4pm' | ||
- **[change]** - cleanup some unicode regexes | ||
*plugin-releases*: dates | ||
#### 13.10.4 [March 2021] | ||
@@ -15,0 +20,0 @@ - **[fix]** - match syntax tokenization fix |
@@ -5,3 +5,3 @@ { | ||
"description": "modest natural language processing", | ||
"version": "13.10.4", | ||
"version": "13.10.5", | ||
"main": "./builds/compromise.js", | ||
@@ -76,8 +76,8 @@ "unpkg": "./builds/compromise.min.js", | ||
"devDependencies": { | ||
"@babel/core": "7.13.10", | ||
"@babel/preset-env": "7.13.10", | ||
"@babel/core": "7.13.14", | ||
"@babel/preset-env": "7.13.12", | ||
"@rollup/plugin-alias": "3.1.2", | ||
"@rollup/plugin-commonjs": "17.1.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"@rollup/plugin-node-resolve": "11.2.0", | ||
"@rollup/plugin-node-resolve": "11.2.1", | ||
"amble": "1.3.0", | ||
@@ -87,3 +87,3 @@ "codecov": "3.8.1", | ||
"nyc": "^15.1.0", | ||
"rollup": "2.41.5", | ||
"rollup": "2.44.0", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -90,0 +90,0 @@ "rollup-plugin-filesize-check": "0.0.1", |
@@ -29,5 +29,2 @@ <div align="center"> | ||
</a> | ||
<a href="https://spectrum.chat/nlp-compromise"> | ||
<img src="https://img.shields.io/badge/spectrum-chat-%23b14344" /> | ||
</a> | ||
</div> | ||
@@ -37,9 +34,31 @@ </div> | ||
<!-- spacer --> | ||
<img height="15px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
<img height="85px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
<div align="left"> | ||
<img height="30px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>compromise <a href="https://observablehq.com/@spencermountain/compromise-justification">tries its best</a>. | ||
isn't it weird how we can <i>write text</i>, but not parse it? | ||
<br/> | ||
<ul> | ||
<i>↬<sub>ᔐᖜ</sub>↬-</i> and how we can't get the information <i>back out</i>?⇬ | ||
</ul> | ||
</div> | ||
<img height="55px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
<div align="center"> | ||
it's like we've agreed that | ||
<div> | ||
text is a dead-end. | ||
</div> | ||
<sub>and the knowledge in it</sub> | ||
<br/> | ||
<sub>should not really be used.</sub> | ||
</div> | ||
<!-- spacer --> | ||
<img height="45px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
<div align="left"> | ||
<img height="30px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>compromise <a href="https://observablehq.com/@spencermountain/compromise-justification">tries its best</a> to parse text. | ||
</div> | ||
<div align="left"> | ||
<img height="30px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
@@ -50,3 +69,9 @@ it is | ||
and often <i><a href="https://docs.compromise.cool/compromise-accuracy">good-enough</a></i>. | ||
</div> | ||
<br/> | ||
<img height="30px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> it is not as smart as you'd think. | ||
<br/> | ||
<!-- spacer --> | ||
<!-- <img height="45px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/> | ||
it is though - very open-ended, hackable, and open to engineering. --> | ||
</div> | ||
@@ -102,3 +127,3 @@ <!-- spacer --> | ||
transform nouns to plural and possessive forms: | ||
play between plural, singular and possessive forms: | ||
@@ -141,3 +166,3 @@ ```js | ||
grab the big subjects: | ||
names/places/orgs, tldr: | ||
@@ -171,3 +196,3 @@ ```js | ||
handle implicit words: | ||
handle implicit terms: | ||
@@ -801,3 +826,3 @@ ```js | ||
By default, sentences are the top-level abstraction. | ||
Inter-sentence, or multi-sentence matches aren't supported: | ||
Inter-sentence, or multi-sentence matches aren't supported without <a href="https://github.com/spencermountain/compromise/tree/master/plugins/paragraphs">a plugin</a>: | ||
<code>nlp("that's it. Back to Winnipeg!").has('it back')//false</code> | ||
@@ -804,0 +829,0 @@ |
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
1206448
26617
917