Skip to content

Commit

Permalink
Merge pull request #924 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain authored Jun 1, 2022
2 parents 7f25708 + c204290 commit 536c4e8
Show file tree
Hide file tree
Showing 208 changed files with 26,389 additions and 5,591 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
${{ runner.os }}-node-
- run: npm ci
- run: npm i --no-save c8
- run: npm i --no-save codecov
- run: npm i c8 codecov
- run: c8 -r lcov -n 'src/**/*' -n 'plugins/**/*' npm run test && codecov -t 15039ad1-b495-48cd-b4a0-bcf124c9b318
# - run: npm run codecov
4 changes: 2 additions & 2 deletions builds/compromise.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/three/compromise-three.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/three/compromise-three.mjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/two/compromise-two.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/two/compromise-two.mjs

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ While all _Major_ releases should be reviewed, our only two _large_ releases are
-->

#### 14.2.0 [June 2021]
- **[fix]** - speed improvements
- **[fix]** - bug with fast-or possessive matches
- **[fix]** - bug with slow-or end-matches
- **[change]** - no-longer attempt 's contractions in compromise/one
- **[new]** - flag novel tags in world.one.tagSet
- **[new]** - .sweep() and nlp.buildNet() methods
- **[new]** - some typescript support in plugins #918
- **[fix]** - better unicode support with Unicode property escapes
- **[fix]** - problems matching on cached documents
- **[fix]** - typescript fixes
- **[fix]** - suffix tagging issues
- **[fix]** - uncached matches missing in .sweep()
- **[fix]** - non-empty results when pointer is first repaired
- **[fix]** - nouns().toPlural() fix for #921
- **[fix]** - drop deprecated .subst() method internally
- **[new]** - some support for .numbers().units() again #919

#### 14.1.2 [April 2021]
- **[new]** - add .harden() .soften() undocumented methods
- **[fix]** - support pre-parsed matches in .has() .if() and .not()
Expand Down
20 changes: 16 additions & 4 deletions data/lexicon/adjectives/adjectives.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ export default [
'straight forward',
'straightforward',
'boldface',
'bona fide',
'offside',
'inside',
'outside',

'avant garde',
'home made',
'wee',
Expand Down Expand Up @@ -630,5 +627,20 @@ export default [
'independent',
'seated',
'modest',

// -ide
'bona fide',
// -ate
'affectionate',
'alternate',
'celebate',
'corporate',
'illegitimate',
'inconsiderate',
'inordinate',
'proximate',

'renowned',
'beside',
]

1 change: 0 additions & 1 deletion data/lexicon/adjectives/comparables.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default [
'fierce ',
'fierce',
'financial',
'fine',
'foamy',
'formal',
'foul',
Expand Down
2 changes: 1 addition & 1 deletion data/lexicon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const data = [
[prepositions, 'Preposition'],
[comparables, 'Comparable'],

[infinitives, 'Infinitive'],
[infinitives, 'Infinitive'],//3kb
[modals, 'Modal'],
[verbs, 'Verb'],
[participles, 'Participle'],
Expand Down
1 change: 1 addition & 0 deletions data/lexicon/misc/adverbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default [
'instead',
'just about',
'just',
'likewise',
'kinda',
'maybe',
'meanwhile',
Expand Down
1 change: 1 addition & 0 deletions data/lexicon/nouns/organizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export default [
'safeway',
'salesforce',
'samsung',
'seagate',
'sears',
'siemens',
'snp',
Expand Down
58 changes: 35 additions & 23 deletions data/lexicon/nouns/singulars.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export default [
'substrate',
'acetate',
'us state',
'us state',
'estate',
'prostate',

Expand All @@ -122,7 +121,6 @@ export default [
'prostitute',
'plaque',
'cheque',
'cheque',
'communique',
'torque',
'mosque',
Expand All @@ -133,9 +131,7 @@ export default [
'detective',
'disincentive',
'motive',
'executive',
'haze',
'size',
'egg',
'pig',

Expand All @@ -161,31 +157,36 @@ export default [
'death',
'mouth',
'shack',
'luck',
'question mark',

// -al
'decal',
'ordeal',
'accrual',
'acquittal',
'burial',
'capital',
'cathedral',
'cereal',
'corral',
'decal',
'deferral',
'denial',
'material',
'tutorial',
'burial',
'funeral',
'hospital',
'mammal',
'urinal',
'deferral',
'referral',
'corral',
'material',
'metal',
'mineral',
'mural',
'ordeal',
'pedestal',
'petal',
'portal',
'rebuttal',
'recital',
'capital',
'referral',
'subtotal',
'pedestal',
'acquittal',
'rebuttal',
'accrual',
'tutorial',
'urinal',

'record label',
'pencil',
Expand Down Expand Up @@ -218,7 +219,6 @@ export default [
'cousin',
'gelatin',
'tax return',
'gun',
'home run',
'bro',
'burglar',
Expand Down Expand Up @@ -315,7 +315,6 @@ export default [
'columnist',
'soloist',

'bout',
'bout',
'overview',
'tv show',
Expand Down Expand Up @@ -374,7 +373,6 @@ export default [
'biopsy',
'autopsy',
'city',
'honesty',
'guy',
'school',
'bar',
Expand All @@ -384,7 +382,21 @@ export default [
'bride',
'menu',

'owner'
'owner',
'coke',
'conservatory',
'caterpillar',
'collar',
'fetish',

'attic',
'borough',
'adjective',
'initiative',
'narrative',
'perspective',
'incentive',
'parish',
]


14 changes: 12 additions & 2 deletions data/lexicon/nouns/uncountables.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export default [
'impatience',
'importance',
'information',
'itself',
'jazz',
'jewelry',
'justice',
Expand Down Expand Up @@ -142,7 +141,6 @@ export default [
'sand',
'satish',
'scenery',
'series',
'sheep',
'shingles',
'silk',
Expand Down Expand Up @@ -180,6 +178,7 @@ export default [
'wine',
'wood',
'water',
'liver',
'wool',
'kindergarten',
'tyranny',
Expand Down Expand Up @@ -229,4 +228,15 @@ export default [
'presense',
'dope',
'appeal court',

'interstate',
'fate',
'karate',
'senate',
'coral',
'vernacular',

'arithmetic',
'static',
'logic',
]
9 changes: 0 additions & 9 deletions data/lexicon/numbers/cardinals.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ export default [
'seventy',
'eighty',
'ninety',
'hundred',
'thousand',
'million',
'billion',
'trillion',
'quadrillion',
'quintillion',
'sextillion',
'septillion',
// plural-multiples
'thousands',
'millions',
Expand Down
2 changes: 2 additions & 0 deletions data/lexicon/numbers/units.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export default [
'cubic centimeter',
'cubic centimeters',
'cm3',
'litre',
'litres',
'liter',
'liters',
// 'dl',
Expand Down
1 change: 0 additions & 1 deletion data/lexicon/people/femaleNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ export default [
'constanza',
'consuelo',
'cora',
'coral',
'coralie',
'cordelia',
'cori',
Expand Down
1 change: 1 addition & 0 deletions data/lexicon/people/honorifics.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default [
'commander',
'congressman',
'congresswoman',
'constable',
'councillor',
'count',
'doctor',
Expand Down
2 changes: 1 addition & 1 deletion data/lexicon/people/maleNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export default [
'aryan',
'asahi',
'augustus',
'austin',
'avery',
'ayaan',
'aykhan',
Expand Down Expand Up @@ -719,6 +718,7 @@ export default [
'myles',
'myron',
'nahom',
'nate',
'nathan',
'nathanael',
'nathaniel',
Expand Down
2 changes: 2 additions & 0 deletions data/lexicon/switches/adj-gerund.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default [
'exacting',
'exciting',
'existing',
'exploding',
'fading',
'fascinating',
'fetching',
Expand Down Expand Up @@ -133,6 +134,7 @@ export default [
'paying',
'perplexing',
'piercing',
'plunging',
'preceding',
'pressing',
'prevailing',
Expand Down
7 changes: 7 additions & 0 deletions data/lexicon/switches/adj-noun.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default [
'elite',
'excess',
'expert',
'executive',
'fat',
'favorite',
'favourite',
Expand All @@ -42,6 +43,7 @@ export default [
'individual',
'innocent',
'juvenile',
'justice',
'latter',
'liberal',
'light',
Expand All @@ -52,6 +54,8 @@ export default [
'miniature',
'minor',
'mobile',
'moral',
'mortal',
'nagging',
'novel',
'official',
Expand All @@ -70,6 +74,7 @@ export default [
'representative',
'republican',
'routine',
'rubbish',
'secret',
'senior',
'serial',
Expand All @@ -80,6 +85,7 @@ export default [
'square',
'squat',
'standard',
'stable',
'subject',
'subordinate',
'superior',
Expand All @@ -106,4 +112,5 @@ export default [
'communist',
'socialist',
'modernist',

]
Loading

0 comments on commit 536c4e8

Please sign in to comment.