You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
// ╔════════════════════════════════════════════════════════════════════════╗
// ║ STATE MANAGEMENT...
-
/// Learns 1-word inputs and returns a recently learned word
class Responder1Word {
private var q =...
-
class Magic8Ball {
private var questions: Responder = Responder()
private var answers: Responder = Responder()
init() {...
-
/// AXTimeContextResponder selects responses based on the current part of day.
class AXTimeContextResponder {
private var morning =...
-
class PercentDripper {
private var dr = DrawRnd()
private var limis: Int = 35
/// Set the base drip activation limit...
-
class EventChatV2 {
private var dic: [String: LimUniqueResponder] = [:]
private var modifiedKeys: Set<String> = []
private...
-
class LimUniqueResponder {
private var responses: [String] = []
private var lim: Int
private var urg: UniqueRandomGenerator...
-
// ╔════════════════════════════════════════════════════════════════════════╗
// ║ OUTPUT MANAGEMENT...
-
/// Simulates a parrot chirp trigger mechanism.
/// This parrot chirps if it's been quiet for a while—unless you told it to hush.
/// It...
-
/// AXFunnelResponder maps string keys to `Responder` objects
/// and allows various forms of safe or fallback retrieval.
class...
-
/// Funnels input strings to a unique response bundle (via UniqueResponder)
class EventChat {
private var dic: [String...
-
class RailBot {
private var ec = EventChatV2(5)
private var context: String = "stand by"
private var elizaWrapper...
-
/// This function wrapper class adds save/load functionality to the ElizaDeducer object.
///
/// Usage:
/// let ed =...
-
class ElizaDeducerInitializer: ElizaDeducer {
override init(_ lim: Int) {
super.init(lim)
initializeBabble2()
}...
-
class ElizaDeducer {
private var babble2: [PhraseMatcher] = []
private var patternIndex: [String: [PhraseMatcher]] = [:]...