AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Not correct work ~timeword concept
 
 

I want to save input date.
But on output, I see the only year.

Please see an example of the rule:

uTIMEWORD (_~timeword >)
 
printing '_0 

Input:  Jan 1, 1991
Output: printing 1991
Expected: Jan 1, 1991

 

 

 
  [ # 1 ]

first run :prepare Jan 1, 1991 and show what that says.  I presume it is failing to join all the date information together. What version of CS are you running?

 

 
  [ # 2 ]

Bruce Wilcox, thanks for the answer.

Please setr: > :prepare Jan 11991
TokenControl
DO_SUBSTITUTE_SYSTEM DO_NUMBER_MERGE DO_PROPERNAME_MERGE DO_DATE_MERGE DO_SPELLCHECK DO_PARSE


Original User Input
Jan 11991
Tokenized into
Jan  1  ,  1991
Substituted 
(substitutes intoJanuary  1  ,  1991
Actual used input
January_1,_1991(Jan 1 1991)

Xref1:January_1,_1991
1
:January_1,_1991
badparse Tagged POS 1 words
January_1,_1991 (MAINSUBJECT Noun_proper_singular)
  
MainSentenceSubjJanuary_1,_1991  PRESENT


Concepts
:

1January_1,_1991 (raw):  +~noun +~noun_proper_singular +~singular +~normal_noun_bits +~noun_bits +~mainsubject
 
+~sentenceend //  +~modelnumber +January_1,_1991 +~timeword
1January_1,_1991 (canonical):  //   +1991 +~propername

Sequences:
After parse TokenFlagsDO_SUBSTITUTES PRESENT USERINPUT FAULTY_PARSE NOT_SENTENCE 


I have the next version of CS:

ChatScript Release Version 7.2 pid0 32 bit Windows compiled Feb  9 2017 20:06:34 host=local 
 

 
  [ # 3 ]

@Bruce maybe you have some idea?

 

 
  login or register to react