Skip to content

oneokorganization/superscript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Gitter chat

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.

Also make sure you check out and install the SuperScript Web Editor

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.

Alternate Authoring

For a simplified web authoring workflow, check out the Web Editor

Further Reading

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

The MIT License (MIT)

Copyright © 2014-2015 Rob Ellis

About

A dialogue engine for creating chat bots

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.4%
  • Scheme 3.6%