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..

Build Chatscript from script
 
 

Hi, I am currently writing an installation script for my application, which uses chatscript.

So it would be nice if I wouldn’t have to build my chatscript bot manual each time, but do that from my installation script.

Script language could be any, but probably the easiest would be a command line argument to do that, so batch script would be fine

 

 
  [ # 1 ]

If you already have an installation script, you can just add into a call to chatscript with build0=  and another with build1=

 

 
  [ # 2 ]

Bruce,  I need exactly the same functionality.  I tried running ./MacChatScript build0= but gives the below error:

ChatScript Release Version 6.85 64 bit MACH compiled Oct 7 2016 17:26:10 host=0.0.0.0
WordNet: dict=201376 fact=85708 stext=12704280 Nov05’16-18:24:34
Failed to find set ~restrictive_adverbs - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadjmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~pretimeadjmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~restrictive_adverbs - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabledistancenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~distancemodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabledistancenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~distancemodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~negative_adverb_starter - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadjmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadjmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~timeadvmodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabledistancenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~distancemodifier - POS tagger incomplete because build 0 not yet done.
Failed to find set ~modifyabletimenoun - POS tagger incomplete because build 0 not yet done.
Failed to find set ~quotableverbs - POS tagger incomplete because build 0 not yet done.
Failed to find set ~quotableverbs - POS tagger incomplete because build 0 not yet done.
Failed to find set ~negative_adverb_starter - POS tagger incomplete because build 0 not yet done.
  Dictionary building disabled.

Segmentation fault: 11

———-

Is the command line correct or am i missing any parameters?

 

 
  [ # 3 ]

the command requires you name the build to do
./MacChatScript build0=0
./MacChatScript build1=harry

 

 
  login or register to react