Skip to content

Made I'd sub to I_would#7

Merged
ChatScript merged 1 commit intoChatScript:masterfrom
MaffooBristol:i-would-contraction
Nov 12, 2018
Merged

Made I'd sub to I_would#7
ChatScript merged 1 commit intoChatScript:masterfrom
MaffooBristol:i-would-contraction

Conversation

@MaffooBristol
Copy link
Copy Markdown
Contributor

Had some interesting things going on with the word I'd - for example:

Pattern failed to match 1 ~mytopic.1.1:  Not sure I'd do that => a:  ( not sure I would do that ) 
    Adjusted Input: not sure I ' d do that 
    Canonical Input: not sure I 's D do a

Looked in the livedata and it's doing a sub from I'd to I+'d, which I don't quite understand.

Changing this to I+would has the desired effect.

Before:

Original User Input: I'd
Tokenized into: I'd  
Substituted (contractions ) into: I  '  d  
Actual used input: I(I'd) '(I'd) d(I'd) 

Xref: 1:I >2   2:' >6   3:d   
1:I   2:'   3:d   
badparse Tagged POS 3 words: I (Pronoun_possessive)  '/'s (Possessive)  d/D (Adjective_normal)  
  MainSentence:  PRESENT 


Concepts: 

1: I (raw):
       +~internal_concepts
       +~grammar_role
   +~pronoun_possessive
   +~kindergarten
       +~vowels
       +~omnivore
       +~letters
   +I^
 // 
1: I (canonical):  //  

2: ' (raw):
       +~internal_concepts
       +~grammar_role
   +~possessive
   +'
 // 
2: 's (canonical):    +'s
 //  

3: d (raw):
       +~internal_concepts
   +~adjective
       +~grammar_role
   +~adjective_normal
   +~sentenceend
       +~letters
   +d
     +five_hundred~3
 // 
3: D (canonical):    +D^
 //

After:

Original User Input: I'd
Tokenized into: I'd  
Substituted (contractions ) into: I  would  
Actual used input: I(I'd) would(I'd) 

Xref: 1:I   2:would   
1:I   2:would   
badparse Tagged POS 2 words: I (MAINSUBJECT Pronoun_subject)  would/will (Aux_verb_future)  
  MainSentence: Subj: I  FUTURE 


Concepts: 

1: I (raw):
       +~internal_concepts
   +~pronoun
       +~sys
   +~pronoun_subject
   +~kindergarten
   +~mainsubject
   +~noun_phrase
       +~vowels
       +~omnivore
       +~letters
   +I^
 // 
1: I (canonical):  //  

2: would (raw):
       +~internal_concepts
       +~sys
   +~aux_verb
       +~grammar_role
   +~aux_verb_future
   +~kindergarten
   +~sentenceend
       +~auxverblist
   +would
 // 
2: will (canonical):    +will
     +will~4
     +will~5
     +leave~10
 //

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants