SuperScript
SuperScript is a dialog system + bot engine for creating human-like conversation chat bots. It exposes an expressive script for crafting dialogue and features text-expansion using wordnet and Information Retrieval and extraction using ConceptNet.
What comes in the box
- Dialog Engine
- Multi-User Platform for easy integration with Group Chat systems
- Message Pipeline with POS Tagging, Sentence Analyses and Question Tagging
- Extensible Plugin Architecture
Install
npm install --global superscript
Documentation
Visit superscriptjs.com for all the details on how to get started playing with SuperScript. Or read the wiki
Example Script - Script Authoring
+ hello human
- Hello Bot
+
matches all input types
?
matches only question input
-
Is the reply sent back to the user.
Optional and Alternates - Script Authoring
+ [hey] hello (nice|mean) human
- Hello Bot
[]
are for optional words, they may or may not appear in the input match
()
are alternate words. One MUST appear.
Capturing results - Script Authoring (wildcards)
+ * should *~2 work *1
- I have no idea.
*
Matches ZERO or more words or tokens
*~n
Matches ZERO to N words or tokens
*n
Matches exactly N number of words or tokens
And More
The above is just a tiny fraction of what the system is capable of doing. Please see the full documentation to learn more.
Additonal Resources
Further Reading
- Introducing SuperScript on Medium
- Creating a Chatbot on Medium
- Custom Slack chatbot tutorial on Medium
- SuperScript the big update on Medium
- Full Documentation
- Follow @rob_ellis
Further Watching
Thanks
SuperScript is based off of a fork of RiveScript with idiom brought in from ChatScript. Without the work of Noah Petherbridge and Bruce Wilcox, this project would not be possible.
License
Copyright © 2014-2015 Rob Ellis