Skip to content

Commit

Permalink
chunker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Aug 10, 2023
1 parent 6ab54c7 commit 4b47535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions scratch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import nlp from './src/three.js'
nlp.verbose('tagger')
let arr = [

'am i stoked',
'Iran also stands accused of aiding terrorism ',
'give it a shot ',
'Iran also stands accused of aiding terrorism ',
'writer jessamyn west babysat this cousin',
'if we all recycled our stuff',
'the dialog and directing had little to add',
Expand Down
2 changes: 1 addition & 1 deletion src/3-three/chunker/compute/03-matcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const rules = [
// walk ourselves
{ match: '#Verb #Reflexive', chunk: 'Verb' },
// tell him the story
{ match: '#PresentTense [#Pronoun] #Determiner', group: 0, chunk: 'Verb' },
// { match: '#PresentTense [#Pronoun] #Determiner', group: 0, chunk: 'Verb' },
// tries to walk
{ match: '#Verb [to] #Adverb? #Infinitive', group: 0, chunk: 'Verb' },
// upon seeing
Expand Down

0 comments on commit 4b47535

Please sign in to comment.