// same as the addParam but only the latest parameter is saved
// used for topics, names, cases where 1 latest parameter is needed
public void addSubject(String category, String value){
if(!(wordToList.containsKey(category))){
RefreshQ temp = new RefreshQ()...
well mister niggaaaa
thinking bout this 4 dimensionally...
when the chatbot switches topic then what?
we need a midway data container.
with a list of topicable keys, and the default "" key
class ChatBot {
var sentences = RefreshQ()
var wordToList = [String: RefreshQ]()
private var regexUtil = RegexUtil()
var allParamRef = [String: String]()
var paramLim = 5
var loggedParams = RefreshQ()
private var conjuration = "is a"
init(logParamLim: Int) {...
class ChatBot {
var sentences = RefreshQ()
var wordToList = [String: RefreshQ]()
private var regexUtil = RegexUtil()
var allParamRef = [String: String]()
var paramLim = 5
var loggedParams = RefreshQ()
private var conjuration = "is a"
init(logParamLim: Int) {...