Project

sooth

0.0
Low commit activity in last 3 years
No release in over a year
Sooth is a simple stochastic predictive model.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 11.1
~> 2.4
~> 0.21
~> 0.9
~> 6.4
~> 3.11
 Project Readme

Gem Version Codeship Status for jasonhutchens/sooth

Sooth

Sooth is a minimal stochastic predictive model. It is used by MegaHAL, a learning chatterbot, and by Typing Simulator, a program that pretends to type text files like a human being.

Getting Started

The basic philisophy is to keep things simple. Sooth can make predictions about events that occur within some context.

A context is just a number; it's up to you to make it significant. It might represent a word, or an array of words, or something else entirely. Sooth doesn't care. Likewise, an event is a number, but doesn't need to represent the same kind of thing as a context. It's perfectly fine for a context to be an array of words and an event to be a single word, which is what MegaHAL does. Or a context could be an array of characters and an event could be a time in milliseconds, which is what TypingSimulator does. Or they could be something else entirely...

Look at the API docs to get up to speed, and at the specs for example usage.

Copyright

Copyright (c) 2018 Jason Hutchens. See UNLICENSE for further details.