Skip to content

Commit

Permalink
Merge pull request #986 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain committed Dec 13, 2022
2 parents ba5a23c + 582a9d3 commit e4b2c8d
Show file tree
Hide file tree
Showing 82 changed files with 914 additions and 513 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -1042,6 +1042,7 @@ nlpEx('This is type safe!').ngrams({ min: 1 })

-   **[en-pos](https://github.com/finnlp/en-pos)** - very clever javascript pos-tagger _by [Alex Corvi](https://github.com/alexcorvi)_
-   **[naturalNode](https://github.com/NaturalNode/natural)** - fancier statistical nlp in javascript
-   **[winkJS](https://winkjs.org/)** - POS-tagger, tokenizer, machine-learning in javascript
-   **[dariusk/pos-js ](https://github.com/dariusk/pos-js)** - fastTag fork in javascript
-   **[compendium-js](https://github.com/Ulflander/compendium-js)** - POS and sentiment analysis in javascript
-   **[nodeBox linguistics](https://www.nodebox.net/code/index.php/Linguistics)** - conjugation, inflection in javascript
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.

14 changes: 10 additions & 4 deletions changelog.md
Expand Up @@ -15,10 +15,16 @@ While all _Major_ releases should be reviewed, our only _large_ releases are **v
- remove confidence numbers
-->

<!-- #### 14.7.3 [Unreleased]
<!-- #### 14.8.1 [Unreleased]
-->

#### 14.8.0
#### 14.8.1 [Dec 2022]
- **[fix]** - tagging fixes
- **[change]** - allow #Plural acronyms
- **[fix]** - allow root matches in fastOr
- **[fix]** - more flexible PhrasalVerb tagging

#### 14.8.0 [Dec 2022]
- **[fix]** - tagging fixes
- **[new]** - add Person .presumedMale(), .presumedFemale() methods
- **[new]** - add Pronoun class, .refersTo()
Expand All @@ -29,12 +35,12 @@ While all _Major_ releases should be reviewed, our only _large_ releases are **v
- **[fix]** - improved Auxiliary verb tagging
- **[update]** - dependencies

#### 14.7.1
#### 14.7.1 [Nov 2022]
- **[fix]** - concat fix
- **[change]** - tagging fixes
- **[change]** - `{word/tag/sense}` sense-match syntax

#### 14.7.0
#### 14.7.0 [Nov 2022]
- **[new]** - match term id
- **[change]** - tag text by default on .concat('')
- **[change]** - allow modifying term prePunctuation
Expand Down
42 changes: 27 additions & 15 deletions data/lexicon/adjectives/adjectives.js
Expand Up @@ -114,7 +114,6 @@ export default [
// -ile
'fragile',
'worthwhile',
'juvenile',
'sterile',
'volatile',
'versatile',
Expand All @@ -141,7 +140,6 @@ export default [
'masculine',
'feminine',
'pristine',
'routine',

'done',
'autoimmune',
Expand Down Expand Up @@ -225,7 +223,6 @@ export default [
'bronze',
'well off',
'far off',
'half',
'aloof',
'soundproof',
'weatherproof',
Expand Down Expand Up @@ -254,6 +251,7 @@ export default [
'mindblowing',
'knowing',
'appetizing',
'appalling',

'smug',
// -ish
Expand Down Expand Up @@ -343,11 +341,9 @@ export default [
// -en
'wooden',
'unforeseen',
'broken',
'barren',
'rotten',
'craven',
'even',
'proven',
'frozen',

Expand Down Expand Up @@ -498,7 +494,7 @@ export default [
'congruent',
'insolvent',

'faint',

'conjoint',
'disjoint',
'in front',
Expand All @@ -509,18 +505,13 @@ export default [
'nondescript',
'exempt',
'abrupt',
'bankrupt',
'corrupt',

'inert',
'overt',
'covert',
'east',
'least',
'abreast',
'steadfast',
'last',
'past',
'best',
'honest',
'populist',
'against',
Expand All @@ -536,14 +527,23 @@ export default [
'faux',
'everyday',
'okay',
'stray',
'underway',
'nearby',
'muddy',
'speedy',
'unwieldy',
'moldy',
'handy',
'cutesy',
'creepy',
'sleepy',
'drowsy',
'folksy',
'handsy',
'fiery',
'flowery',
'cheery',
'chintzy',

// -ly
'kindly',
Expand Down Expand Up @@ -619,15 +619,13 @@ export default [
'antique',
'dependent',
'independent',
'seated',
'modest',

// -ide
'bona fide',
'bonafide',
// -ate
'affectionate',
'alternate',
'celebate',
'corporate',
'illegitimate',
Expand Down Expand Up @@ -658,6 +656,20 @@ export default [
'ingrown',
'agreeable',
'vile',
'mega',
'frilly',
'indulgent',
'undisclosed',
'win win',
'strung out',
'whacked out',
'crystal clear',
'skin deep',
'pent up',
'partisan',
'bipartisan',
'ice cold',
'one on one',
'ongoing',
]

12 changes: 1 addition & 11 deletions data/lexicon/adjectives/comparables.js
Expand Up @@ -22,12 +22,9 @@ export default [
'burly',
'busy',
'cagey',
'calm',
'caring',
'cheap',
'cheesy',
'chilly',
'clear',
'clever',
'cloudy',
'cold',
Expand All @@ -48,7 +45,6 @@ export default [
'dirty',
'divine',
'drunk',
'dull',
'dumb',
'early',
'earthly',
Expand All @@ -58,9 +54,6 @@ export default [
'essential',
'evil',
'extreme',
'fair',
'fake',
'fancy',
'far',
'faulty',
'feeble',
Expand All @@ -69,7 +62,6 @@ export default [
'financial',
'foamy',
'formal',
'foul',
'frail',
'friendly',
'full',
Expand Down Expand Up @@ -273,15 +265,13 @@ export default [
'young',
'zany',

//these ones can also be verbs, for what it's worth
'bright',
'broad',
'coarse',
'dark',
'dead',
'deaf',
'deep',
'fast',
'flat',
'fresh',
'great',
Expand All @@ -296,7 +286,6 @@ export default [
'rough',
'sad',
'sharp',
'short',
'sick',
'smart',
'soft',
Expand All @@ -311,4 +300,5 @@ export default [
'white',
'wide',
'stately',
'nibbly',
]
9 changes: 6 additions & 3 deletions data/lexicon/misc.js
Expand Up @@ -58,12 +58,15 @@ export default {
feet: 'Plural',
'a few': 'Value',
'ones': 'Plural', //those ones
'dickens': 'Plural',
'greens': 'Plural',


//
'come here': 'Imperative',
'go away': 'Imperative',
'hurry up': 'Imperative',
'make sure': 'Imperative',
// 'go away': 'Imperative',
// 'hurry up': 'Imperative',
// 'make sure': 'Imperative',
// 'stand back': 'Imperative'
// 'subpar': 'Adjective'
}
1 change: 1 addition & 0 deletions data/lexicon/misc/adverbs.js
Expand Up @@ -87,5 +87,6 @@ export default [
'well',
'backward',
'hella',
'by no means',

]
20 changes: 10 additions & 10 deletions data/lexicon/misc/conjunctions.js
@@ -1,11 +1,11 @@
export default [
'after',
// 'after',
'although',
'and',
'as',
'as far as',
'as if',
'as long as',
// 'as long as',
'as much as',
'as soon as',
'as though',
Expand All @@ -29,7 +29,6 @@ export default [
'in order that',
'in order to',
'just as',
'lest',
'no matter',
'nor',
'now',
Expand All @@ -43,29 +42,30 @@ export default [
// 'provided',
'provided that',
'since',
'so that',
// 'so that',
'supposing',
'than',
'therefore',
'tho',
'though',
'till',
// 'till',
'to',
// 'unless',
'until',
'versus',
'what',
// 'versus',
// 'what',
// 'when',
'whenever',
// 'where',
'whereas',
// 'whereas',
'where if',
'wherever',
'whether',
'while',
'whilst',
'whoever',
'whose',
// 'whose',
// 'why',
'yet'
'yet',
'either',
]
3 changes: 1 addition & 2 deletions data/lexicon/misc/determiners.js
Expand Up @@ -5,7 +5,6 @@ export default [
'any',
'both',
'each',
'either',
'else',
'every',
'few',
Expand All @@ -25,7 +24,7 @@ export default [
'whatever',
'whichever',
//some other languages (what could go wrong?)
'la',
// 'la',
'le',
'les',
'des',
Expand Down
2 changes: 2 additions & 0 deletions data/lexicon/misc/expressions.js
Expand Up @@ -124,4 +124,6 @@ export default [
'aye',
'cmon',//come on
'excuse me',
'oh well',
'oh hell',
]
3 changes: 3 additions & 0 deletions data/lexicon/misc/prepositions.js
Expand Up @@ -63,6 +63,9 @@ export default [
'with whom',
'within',
'without',
'as a whole',
'in part',
'in effect',
// `'o`,
// `a'`,
// `o'`,
Expand Down

0 comments on commit e4b2c8d

Please sign in to comment.