Chat Script Basic User Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 28

Scroll down to view the document on your mobile browser.
ChatScript Basic User Manual©Bruce Wilcox, mailto:gowilcox@gmail.com www.brilligunderstanding.com Re-vision 2/18/2018 cs8.1•Overview•Simple Topics•Simple Patterns•Simple Output•Variables•SummaryOVERVIEWChatScript (CS) is a scripting language designed to accept user text input andgenerate a text response.Chat proceeds in volleys, like tennis. The program inputs one or more sentencesfrom the user and outputs one or more sentences back.In most common usage, what you build is a chatbot, a program that takes inputfrom a human and outputs a response. It converses with you. But I have alsobuilt a chatbot that is dedicated to reading a document. The input, in that case,is the entire document.What, if any, output it generates is up to its program. My program was designedto find the table of contents, each chapter boundary, and where the index at theback was.So, more broadly,ChatScript is a system for manipulating natural lan-guage, not just for building a chatbot.This document is about how to write script. There is a more general discussionabout how to think about authoring a bot in the paper Writing a Chatbot inthe documentation.Input and output sentencesChatScript take one or more input sentences from the user. A sentence in CSnominally means the sequence of words up until some sentence terminal tokenchars. By default these characters end sentences:dot questionmark exclamationpoint semicolon colon hyphen. ? ! ; : -1

Navigation menu