Skip to content

Commit

Permalink
13.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Aug 7, 2020
1 parent c52c1c3 commit cff5783
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion builds/compromise-tokenize.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions builds/compromise.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* compromise 13.3.1 MIT */
/* compromise 13.3.2 MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -2242,6 +2242,10 @@

if (t === null) {
return [false, null]; //greedy was too short
}

if (reg.min && reg.min > t) {
return [false, null]; //greedy was too short
} // if this was also an end-anchor match, check to see we really
// reached the end

Expand Down Expand Up @@ -3431,7 +3435,7 @@

var fromJSON_1 = fromJSON;

var _version = '13.3.1';
var _version = '13.3.2';

var _data = {
"Comparative": "true¦better",
Expand Down Expand Up @@ -10230,7 +10234,7 @@
m.match('#Determiner #Adjective$').notIf('(#Comparative|#Superlative)').terms(1).tag('Noun', 'the-adj-1'); // Firstname x (dangerous)

m = hasTag(doc, 'FirstName');
m.match('#FirstName (#Noun|@titleCase)').ifNo('^#Possessive').ifNo('#Pronoun').lastTerm().tag('#LastName', 'firstname-noun'); //three trains / one train
m.match('#FirstName (#Noun|@titleCase)').ifNo('^#Possessive').ifNo('#Pronoun').ifNo('@hasComma .').lastTerm().tag('#LastName', 'firstname-noun'); //three trains / one train

m = hasTag(doc, 'Value');
m = m.match('#Value #PresentTense');
Expand Down
2 changes: 1 addition & 1 deletion builds/compromise.min.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions builds/compromise.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* compromise 13.3.1 MIT */
/* compromise 13.3.2 MIT */
function _typeof(obj) {
"@babel/helpers - typeof";

Expand Down Expand Up @@ -2236,6 +2236,10 @@ var tryHere = function tryHere(terms, regs, index, length) {

if (t === null) {
return [false, null]; //greedy was too short
}

if (reg.min && reg.min > t) {
return [false, null]; //greedy was too short
} // if this was also an end-anchor match, check to see we really
// reached the end

Expand Down Expand Up @@ -3425,7 +3429,7 @@ var fromJSON = function fromJSON(json, world) {

var fromJSON_1 = fromJSON;

var _version = '13.3.1';
var _version = '13.3.2';

var _data = {
"Comparative": "true¦better",
Expand Down Expand Up @@ -10224,7 +10228,7 @@ var miscCorrection = function miscCorrection(doc) {
m.match('#Determiner #Adjective$').notIf('(#Comparative|#Superlative)').terms(1).tag('Noun', 'the-adj-1'); // Firstname x (dangerous)

m = hasTag(doc, 'FirstName');
m.match('#FirstName (#Noun|@titleCase)').ifNo('^#Possessive').ifNo('#Pronoun').lastTerm().tag('#LastName', 'firstname-noun'); //three trains / one train
m.match('#FirstName (#Noun|@titleCase)').ifNo('^#Possessive').ifNo('#Pronoun').ifNo('@hasComma .').lastTerm().tag('#LastName', 'firstname-noun'); //three trains / one train

m = hasTag(doc, 'Value');
m = m.match('#Value #PresentTense');
Expand Down
2 changes: 1 addition & 1 deletion src/_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '13.3.1'
module.exports = '13.3.2'

0 comments on commit cff5783

Please sign in to comment.