Skip to content

Commit

Permalink
14.14.3rc
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Dec 1, 2024
1 parent 07d8ce0 commit 084ccfb
Show file tree
Hide file tree
Showing 12 changed files with 433 additions and 409 deletions.
2 changes: 1 addition & 1 deletion builds/compromise.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/one/compromise-one.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/one/compromise-one.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/three/compromise-three.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/three/compromise-three.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/two/compromise-two.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/two/compromise-two.mjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ While all _Major_ releases should be reviewed, our only _large_ releases are **v
- **[fix]** - .before() .after()
-->

#### 14.14.3 [Dec 2024]
- **[fix]** - another runtime error in punctuation replace #1150
- **[update]** - dependencies

#### 14.14.2 [Oct 2024]
- **[fix]** - runtime error in punctuation replace #1150

Expand Down
794 changes: 407 additions & 387 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)",
"name": "compromise",
"description": "modest natural language processing",
"version": "14.14.2",
"version": "14.14.3",
"module": "./src/three.js",
"main": "./src/three.js",
"unpkg": "./builds/compromise.js",
Expand Down Expand Up @@ -113,13 +113,13 @@
"suffix-thumb": "5.0.2"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-terser": "0.4.4",
"cross-env": "^7.0.3",
"eslint": "9.12.0",
"eslint-plugin-regexp": "2.6.0",
"eslint": "9.16.0",
"eslint-plugin-regexp": "2.7.0",
"nlp-corpus": "4.4.0",
"rollup": "4.19.1",
"rollup": "4.28.0",
"rollup-plugin-filesize-check": "1.2.0",
"shelljs": "0.8.5",
"tap-dancer": "0.3.4",
Expand All @@ -132,4 +132,4 @@
"_tests/**"
],
"license": "MIT"
}
}
16 changes: 8 additions & 8 deletions scratch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import nlp from './src/three.js'
// nlp('Will is an employee').debug()



const text = '- to the window'

// Throws an error, capturing group at beginning, replacing with an empty string
const doc1 = nlp(text).debug()
doc1.match('[to] the window', 0).replaceWith('by')
doc1.match('[by]', 0).replaceWith('')
doc1.all().debug()
let txt = ''
txt = `i sent the documents up the hill`
txt = `he would up stage his friend`
txt = `he couldn't off gas`
txt = `he got up over the hill`
txt = 'piled up over'
// text = ``
nlp(txt).debug()
2 changes: 1 addition & 1 deletion src/_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '14.14.2'
export default '14.14.3'

0 comments on commit 084ccfb

Please sign in to comment.