Skip to content
IM bot, text generation and summary tool
Scheme Rust Standard ML Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
experiments
src
.gitignore
README.md
compile.sh
install-dependencies.sh
test.sh

README.md

Bender

Bender is a IM bot, text generation and summary service, primarily intended to help my other projects.

Getting started

Bender is written in Scheme, using the CHICKEN compiler.

  • Install dependencies(aka, eggs) with ./install-dependencies.sh

  • Compile with ./compile.sh

  • Run the tests with ./test.sh

  • Then ./bender for a local server running on port 1337

Endpoints

/generate?what=<name | description>&max-chars=<integer>

Text generation. Parameters are as follows:

  • what indicates the kind of text to generate. Current options are name, which produces a sentence in the formats <adjective> [, <adjective>] <noun> or [<adjective>] <noun> [who | that] [<adverb>] <verb> [<adjective>] [<noun>] [<other>] using the files of same name in /data; and description, which produces a markov chain generated text using the contents of data/source-text.

  • max-chars is the maximum number of characters to generate.

You can’t perform that action at this time.