Skip to content

Commit

Permalink
Merge pull request #1025 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain authored Aug 10, 2023
2 parents 38c57ea + 1b4a6fc commit dfd25e7
Show file tree
Hide file tree
Showing 115 changed files with 2,507 additions and 1,516 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
- name: install
run: |
npm ci
# npm i --no-save ts-node typescript
# npm run plugins:ci
npm run plugins:ci
- name: static checks
run: |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ _(these methods are on the main `nlp` object)_
##### Sentences
- **[.sentences()](https://observablehq.com/@spencermountain/compromise-sentences)** - return a sentence class with additional methods
- **[.sentences().json()](https://observablehq.com/@spencermountain/compromise-sentences)** - overloaded output with sentence metadata
- **[.sentences().subjects()](https://observablehq.com/@spencermountain/compromise-sentences)** - return the main noun of each sentence
<!-- - **[.sentences().subjects()](https://observablehq.com/@spencermountain/compromise-sentences)** - return the main noun of each sentence -->
- **[.sentences().toPastTense()](https://observablehq.com/@spencermountain/compromise-sentences)** - `he walks` -> `he walked`
- **[.sentences().toPresentTense()](https://observablehq.com/@spencermountain/compromise-sentences)** - `he walked` -> `he walks`
- **[.sentences().toFutureTense()](https://observablehq.com/@spencermountain/compromise-sentences)** -- `he walks` -> `he will walk`
Expand Down Expand Up @@ -807,7 +807,7 @@ nlp.extend({
| [Case](https://observablehq.com/@spencermountain/compromise-case) | [Contractions](https://observablehq.com/@spencermountain/compromise-contractions) | [Export](https://observablehq.com/@spencermountain/compromise-export) |
| [Filesize](https://observablehq.com/@spencermountain/compromise-filesize) | [Insert](https://observablehq.com/@spencermountain/compromise-insert) | [Hash](https://observablehq.com/@spencermountain/compromise-hash) |
| [Internals](https://observablehq.com/@spencermountain/compromise-internals) | [Json](https://observablehq.com/@spencermountain/compromise-json) | [Html](https://observablehq.com/@spencermountain/compromise-html) |
| [Justification](https://observablehq.com/@spencermountain/compromise-justification) | [Lists](https://observablehq.com/@spencermountain/compromise-lists) | [Keypress](https://observablehq.com/@spencermountain/compromise-keypress) |
| [Justification](https://observablehq.com/@spencermountain/compromise-justification) | [Character Offsets](https://observablehq.com/@spencermountain/compromise-offsets) | [Keypress](https://observablehq.com/@spencermountain/compromise-keypress) |
| [Lexicon](https://observablehq.com/@spencermountain/compromise-lexicon) | [Loops](https://observablehq.com/@spencermountain/compromise-loops) | [Ngrams](https://observablehq.com/@spencermountain/compromise-ngram) |
| [Match-syntax](https://observablehq.com/@spencermountain/compromise-match-syntax) | [Match](https://observablehq.com/@spencermountain/compromise-match) | [Numbers](https://observablehq.com/@spencermountain/compromise-values) |
| [Performance](https://observablehq.com/@spencermountain/compromise-performance) | [Nouns](https://observablehq.com/@spencermountain/nouns) | [Paragraphs](https://observablehq.com/@spencermountain/compromise-paragraphs) |
Expand All @@ -820,7 +820,7 @@ nlp.extend({
| [Whitespace](https://observablehq.com/@spencermountain/compromise-whitespace) | [Verbs](https://observablehq.com/@spencermountain/verbs) | [Typeahead](https://observablehq.com/@spencermountain/compromise/compromise-typeahead) |
| [World data](https://observablehq.com/@spencermountain/compromise-world) | [Normalization](https://observablehq.com/@spencermountain/compromise-normalization) | [Sweep](https://observablehq.com/@spencermountain/compromise-sweep) |
| [Fuzzy-matching](https://observablehq.com/@spencermountain/compromise-fuzzy-matching) | [Typescript](https://observablehq.com/@spencermountain/compromise-typescript) | [Mutation](https://observablehq.com/@spencermountain/compromise-mutation) |
| [Root-forms](https://observablehq.com/@spencermountain/compromise-root) | [Character Offsets](https://observablehq.com/@spencermountain/compromise-offsets) | |
| [Root-forms](https://observablehq.com/@spencermountain/compromise-root) |


<div >
Expand Down
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.

12 changes: 11 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,18 @@ While all _Major_ releases should be reviewed, our only _large_ releases are **v
- remove confidence numbers
-->

<!-- #### 14.8.1 [Unreleased]
<!-- #### 14.10.0 [Unreleased]
-->
#### 14.10.0 [Aug 2023]
- **[fix]** - verb conjugation fixes
- **[fix]** - tagger fixes
- **[change]** - align package.json with ESM module #1023
- **[fix]** - .splitBefore() bugfix
- **[fix]** - typescript+docs fixes #1023
- **[fix]** - subtle changes to .text() and .isFull()
- **[update]** - dependencies

#### 14.9.0 [May 2023]
- **[new]** - .verbs().toPastParticiple() method
Expand Down
25 changes: 19 additions & 6 deletions data/lexicon/adjectives/adjectives.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default [
'nuanced',
'wounded',
'retarded',
'aged',
'naked',
'buck naked',
'fabled',
Expand All @@ -49,6 +48,14 @@ export default [
'beloved',
'hallowed',
'crazed',
'infrared',
'grizzled',
'appalled',
'enamored',
'newlywed',
'famed',
'jaded',
'conceited',

// -id
'plaid',
Expand Down Expand Up @@ -383,7 +390,7 @@ export default [
'abstract',
'intact',
'exact',
'perfect',
// 'perfect',
'imperfect',
'erect',
'indirect',
Expand Down Expand Up @@ -474,7 +481,7 @@ export default [
'apt',
'adept',
'nondescript',
'exempt',
// 'exempt',
'abrupt',

'inert',
Expand Down Expand Up @@ -742,7 +749,7 @@ export default [
'abject',
'adamant',
'agile',
'articulate',
// 'articulate',
'astute',
'austere',
'blithe',
Expand Down Expand Up @@ -795,8 +802,14 @@ export default [
'demure',
'docile',
'watery',

'succinct',

'major',
'minor',
'fast paced',
'chewy',
'drunk',
'greasy',
'pointy',
'testy',
]

1 change: 1 addition & 0 deletions data/lexicon/dates/dates.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default ['today',
'tmrw',
'yesterday',
'weekend',
'weekends',
'week end',
'ago',
'q1',
Expand Down
9 changes: 9 additions & 0 deletions data/lexicon/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,13 @@ export default {
// 'make sure': 'Imperative',
// 'stand back': 'Imperative'
// 'subpar': 'Adjective'

// double-conjugations
'kneeled': 'PastTense',
'leaped': 'PastTense',
'msged': 'PastTense',
'bests': 'PresentTense',

// funny switches
'leaves': 'Plural|Verb'
}
1 change: 1 addition & 0 deletions data/lexicon/misc/adverbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@ export default [
'altogether',
"outright",
'ultimately',
'fucking',
]
3 changes: 2 additions & 1 deletion data/lexicon/misc/expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,6 @@ export default [
'wat',
'omg',
'aka',
'holla'
'holla',
'very well'
]
2 changes: 1 addition & 1 deletion data/lexicon/nouns/possessives.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default [
'its',
'mine',
'my',
'none',
// 'none',
'our',
'ours',
'thy',
Expand Down
5 changes: 5 additions & 0 deletions data/lexicon/nouns/singulars.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,13 @@ export default [
'undertone',
'underestimate',
'underwear',
'word',
'overview',
'yo yo',
'phone call',
'brick',
'cannibal',
'video game',
]


Loading

0 comments on commit dfd25e7

Please sign in to comment.