// data for elizabot.js
// entries prestructured as layed out in Weizenbaum's description 
// [cf: Communications of the ACM, Vol. 9, #1 (January 1966): p 36-45.]

var elizaInitials = [
"Aw, nigga what the fuck is wrong wit you?",
"Who the fuck is this? (pagin me at 5:46 in the mornin crack a dawnin now I'm yawnin, wipe the cold out my eye see who's this pagin me and why..)",
"Oh god damn. Nigga do you know what time it is? Aw shit, what the fuck's goin' on? You alright?",
];

var elizaFinals = [
"I'm sick of niggas lyin', I'm sick of bitches hawkin', matter of fact, I'm sick of talkin'.",
"It ain't over [flatline] Live your life"
];

var elizaQuits = [
"bye",
"goodbye",
"done",
"exit",
"quit"
];

var elizaPres = [
"dont", "don't",
"cant", "can't",
"wont", "won't",
"recollect", "remember",
"recall", "remember",
"dreamt", "dreamed",
"dreams", "dream",
"maybe", "perhaps",
"certainly", "yes",
"gat", "gun",
"gats", "gun",
"roscoe", "gun",
"tech", "gun",
"techs", "gun",
"nine", "gun",
"were", "was",
"you're", "you are",
"i'm", "i am",
"same", "alike",
"identical", "alike",
"equivalent", "alike"
];

var elizaPosts = [
"am", "are",
"your", "my",
"me", "you",
"myself", "yourself",
"yourself", "myself",
"i", "you",
"you", "I",
"my", "your",
"i'm", "you are"
];

var elizaSynons = {
"be": ["am", "is", "are", "was", "it's"],
"belief": ["feel", "think", "believe", "wish"],
"cannot": ["can't"],
"desire": ["want", "need"],
"everyone": ["everybody", "nobody", "noone"],
"family": ["mother", "mom", "father", "dad", "sister", "brother", "wife", "children", "child"],
"happy": ["elated", "glad", "better"],
"sad": ["unhappy", "depressed", "sick"]
};

var elizaKeywords = [

/*
  Array of
  ["<key>", <rank>, [
    ["<decomp>", [
      "<reasmb>",
      "<reasmb>",
      "<reasmb>"
    ]],
    ["<decomp>", [
      "<reasmb>",
      "<reasmb>",
      "<reasmb>"
    ]]
  ]]
*/

["xnone", 0, [
 ["*", [
   "Nigga, is you creeping or speaking?",
   "So go get your man bitch he can get robbed too Tell him Biggie took it, what the fuck he gonna do?",
   "Whats my name?"
  ]]
]],
["sorry", 0, [
 ["*", [
     "You still apoligizin, analyzin, my size and your size and realizin, a fist fight would be asinine",
	 "The thrill is gone, the black Frank White is here to excite",
	 "Apoligies in order, to T'Yanna",
	 "I was just tryin' to make some money to feed my daughters, and all the niggaz in the struggle, you know what I'm sayin'?",
	 "There's gonna be alot of slow singin and flower bringin if my burgular alarm starts ringin whatcha think all the guns is for?"
  ]]
]],
["apologise", 0, [
 ["*", [
     "goto sorry"
  ]]
]],
["remember", 5, [
 ["* i remember *", [
	 "When I met (2) I admit my first thoughts was to trick (2) look so good huh, I suck on (2) daddy's dick (yeah)",
	 "So, what's it gonna be? (2) or me?",
	 "Buck shots out the sun roof of Lexus Coupe's Leave no witnesses, what you think (2) is?",
     "Remember that (2) I left the club with man?"
  ]],
 ["* do you remember *", [
						  
	 "Tell your friends, to get with my friends (your friends) And we can be friends Shit we can do this every weekend (that's right) Aight? Is that aight with you?",
"If you got a gun up in your waist please don't shoot up the place.",
"I'm through - can (2) sing the song for me, boo?",
"all the niggaz in the struggle, you know what I'm sayin'?",
/*
     "Why do you think I should recall (2) now ?",
     "What about (2) ?",
     "goto what",
     "You mentioned (2) ?"*/
   "You can be the shit, flash the fattest five / Have the biggest dick, but when your (2) get hit / You ain't worth spit, just a memory"

  ]],
 ["* you remember *", [
		"It's all good",
"Baby on the way mad bills to pay / That's why you drink Tanqueray / So you can reminisce and wish / You wasn't living so devilish s-shit",
     "I remember I was just like you / Smoking blunts with my crew",
     /*"What about (2) should I remember ?",*/
     "goto you"
  ]]
]],
["forget", 5, [
 ["* i forget *", [
	 "Forget the (2) we just go to the crib and watch a movie in the jacuzzi smoke l's while you do me",
"Don't forget the (2), I punish em, I'm done with them Son, I'm surprised you run with them I think they got cum in them, cause they, nothin but dicks",
"Don't forget the vinyl, take girls break spinals / Biggie be Richie like Lionel, shit",
"Had me scared, had me scared, I was shook Daddy - but I forget I had my (2) on me. Always. You know how we do."
  ]],
 ["* did you forget *", [
     "Why you punch me in my face, stay in ya place.",
     "To my hustlin niggaz Niggaz on the corner I aint forget you niggaz",
	 "I can't recall his name, wasn't he that (2) that nearly lost half his brain over two grams of cocaine?",
     "goto what",
	"Don't forget the vinyl, take (2) break spinals Biggie be Richie like Lionel, shit",
	"you got the (2) Biggie tell me what you wanna do..."
  ]]
]],
["if", 3, [
 ["* if *", [
     "As i lay down laws like alan coppet Stop it - if you think (2) gonna make a profit",
	 "Now you rest eternally, sleepy, you burn when you creep me",
	 "If I wasnt in the (2) game I'd probably have a key knee deep in the crack game",
	 "Big up, big up, it's a stick up, stick up and I'm shooting niggas quick if you hiccup"

/*
     "What do you know about (2) ?",
     "Really, if (2) ?",
     "What would you do if (2) ?",
     "But what are the chances that (2) ?",
     "What does this speculation lead to ?"*/
  ]]
]],
["dreamed", 4, [
 ["* i dreamed *", [
     "if he start to scream 'bam! bam!,' have a nice dream about (2)",
     "goto dream"
  ]]
]],
["dream", 3, [
 ["*", [
	 "Tremendous cream, fuck a dollar and a dream (whaat) Still tote gats strapped with infrared beams"
  ]]
]],
["perhaps", 0, [
 ["*", [
		/*
     "You don't seem quite certain.",
     "Why the uncertain tone ?",
     "Can't you be more positive ?",
     "You aren't sure ?",
	 "How likely, would you estimate ?"*/
     "Uh, and if you don't know, now you know, nigga"     
  ]]
]],
["name", 15, [
 ["*", [
     "(2) What's my name?"
  ]]
]],
["deutsch", 0, [
 ["*", [
     "goto xforeign",
     "I told you before, I don't understand German."
  ]]
]],
["francais", 0, [
 ["*", [
     "goto xforeign",
     "I told you before, I don't understand French."
  ]]
]],
["italiano", 0, [
 ["*", [
     "goto xforeign",
     "I told you before, I don't understand Italian."
  ]]
]],
["espanol", 0, [
 ["*", [
     "goto xforeign",
     "I told you before, I don't understand Spanish."
  ]]
]],
["xforeign", 0, [
 ["*", [
     "I speak only English."
  ]]
]],
["yo", 0, [
 ["*", [
     "Who rock grooves and make moves with all the mommies?",
     "Uh-ha, it's all good baby bay-bee, uh"
  ]]
]],
["gun", 50, [
 ["*", [
     "If you got a gun up in your waist please don't shoot up the place Cause I see some ladies tonight who should be havin my baby",
     "In the streets without a gat? Nah, nigga you're slippin' If I'm pimpin on The F with weed on my breath",
   "Gats I pull it, bastards duckin when Big be buckin Chickenheads be cluckin in my bathroom fuckin.",
   "(I got more glocks and techs than you) I make it hot (Nigga won't even stand next to you)"

  ]]
]],
["am", 0, [
 ["* am i *", [
	 "Here I am (2), I'll be damned if this ain't some shit / Come to spread the butter lyrics over hominy grit",
/*
"Do you believe you are (2) ?",
     "Would you want to be (2) ?",
     "Do you wish I would tell you you are (2) ?",
     "What would it mean if you were (2) ?",*/
	 "Me bein, (2), the man that I am",
     "goto what"
  ]],
 ["* i am *", [
     "goto i"
  ]],
 ["*", [
     /*"Why do you say 'am' ?",*/
     "I just don't understand, why you so mad.",
	 "I ain't mad at you (we ain't mad at you)"
  ]]
]],
["are", 0, [
 ["* are you *", [
	 "Watch my back? WORD? / I'm gonna get Biggie, I'm gonna kill Biggie",
	"Biggie Smalls, huh...yeah",
	"...my (2) Biggie got an itchy one grip / One in the chamber, 32 in the clip",
			  /*
     "Why are you interested in whether I am (2) or not ?",
     "Would you prefer if I weren't (2) ?",
     "Perhaps I am (2) in your fantasies.",
     "Do you sometimes think I am (2) ?",
     
     "Would it matter to you ?",
     "What if I were (2) ?"*/
	 
	 "goto what"
  ]],
 ["* you are *", [
     "goto you"
  ]],
 ["* are *", [
		"Niggaz sayin, 'Biggie off the street, it's a miracle'",
		"The (2) launcher, Biggie stomped ya / High as a motherfuckin helicopter",
		"Girls pee pee when they see me / Navajos creep me in they tee pee"

/*
     "Did you think they might not be (2) ?",
     "Would you like it if they were not (2) ?",
     "What if they were not (2) ?",
     "Are they always (2) ?",
     "Possibly they are (2).",
     "Are you positive they are (2) ?"*/
  ]]
]],
["your", 0, [
 ["* your *", [
			   /*
     "Why are you concerned over my (2) ?",
     "What about your own (2) ?",
     "Are you worried about someone else's (2) ?",
     "Really, my (2) ?",
     "What makes you think of my (2) ?",
     "Do you want my (2) ?"*/
	 "Don't see my ones, don't see my guns - get it / Now tell ya friends poppa hit it then split it",
	 "Biggie Smalls is the illest / Your (2) is played out, like Arnold wondered 'What you talkin bout Willis?'"


  ]]
]],
["was", 2, [
 ["* was i *", [
	"You ringin bells with (2) from chanel / Baby benz, traded in your hyundai excel",
	"She was a (2) by nature, and you was just faker / than the average symps, found a badder pimp",
	"goto what"
/*
     "What if you were (2) ?",
     "Do you think you were (2) ?",
     "Were you (2) ?",
     "What would it mean if you were (2) ?",
     "What does ' (2) ' suggest to you ?",*/
     
  ]],
 ["* i was *", [
	"So you can reminisce and wish / You wasn't living so devilish s-shit",
	"But (2) was my bitch, the one who'd never snitch (uhh) / Love me when I'm broke or when I'm filthy fuckin rich"
/*
     "Were you really ?",
     "Why do you tell me you were (2) now ?",
     "Perhaps I already know you were (2)."*/
  ]],
 ["* was you *", [
	"Uh-huh, I was a shame, my crew was lame",
	"It's on, even when I was wrong I got my point across / They depicted me the boss, of course",
	"After realizin, to master enterprisin / I ain't have ta be in school by ten, I was in / Began to encounter, wit my counter-parts / On how ta burn the block apart, break it down into section / Drugs by the selection"


				  /*
     "Would you like to believe I was (2) ?",
     "What suggests that I was (2) ?",
     "What do you think ?",
     "Perhaps I was (2).",
     "What if I had been (2) ?"*/
	 
  ]]
]],
["i", 0, [
 ["* i @desire *", [
	"Say what you want, but I still figured / She left you cause you couldn't be, like them real niggaz",
	"All y'all motherfuckers come with me if you want to",
	"Because the streets is a short stop / Either youre slingin crack rock or you got a wicked jumpshot",
	"they heard about the pounds / you got down in Georgetown / now they heard you got half of Virginia locked down"

/*
     "What would it mean to you if you got (3) ?",
     "Why do you want (3) ?",
     "Suppose you got (3) soon.",
     "What if you never got (3) ?",
     "What would getting (3) mean to you ?",
     "What does wanting (3) have to do with this discussion ?"
	 */
  ]],
 ["* i am* @sad *", [
					 "Slugs hit you chest tap the spine / Flat-line / Heard through the grapevine, you got fucked foe times / Damn that three to nine, fucked you up for real doe / Slink steal slow / As you remorse we feel no",
/*
     "I am sorry to hear that you are (3).",
     "Do you think coming here will help you not to be (3) ?",
     "I'm sure it's not pleasant to be (3).",
     "Can you explain what made you (3) ?"
	 */
  ]],
 ["* i am* @happy *", [
	"Niggaz is never (3) til there's blood up in your mouth",
	"Take their spots, take their keys, make my faculty / live happily, ever after in laughter / Hah, never seen Cristal pour faster"

	/*
     "How have I helped you to be (3) ?",
     "Has your treatment made you (3) ?",
     "What makes you (3) just now ?",
     "Can you explain why you are suddenly (3) ?"
	 */
  ]],
 ["* i @hate *", [
     "You see, there are two kind of people in the world today We have, the playaz, and we have, the playa haters Please dont hate (2)",
	 "Hug from fake friends Make ends they hate (2), be broke girls won't date (2) That's why I relate to, choke your ass 'til your face blue"
  ]],
 

 ["* i was *", [
     "goto was"
  ]],
 ["* i @belief i *", [
	"You dont believe in harlem world nigga double up",
	"I got these kids in ranges, believe them niggaz brainless / All they tote is stainless, you just remain as / Calm as possible",
	"Yo man, y'all niggas ain't gonna believe what the fuck happened to me."
/*
     "Do you really think so ?",
     "But you are not sure you (3).",
     "Do you really doubt you (3) ?"*/
  ]],
 ["* i* @belief *you *", [
     "goto you"
  ]],
 ["* i am *", [
     "he went from ashy to classy. Ha, I like (2)",
     "i like (2), yeah Uh, yeah, 94'  ?"
	 /*
	 "Is it because you are (2) that you came to me ?",
     "How long have you been (2) ?",
     "Do you know anyone else who is (2) ?",
	 */
	 
  ]],
 ["* i @cannot *", [
	 "Rappers can't (3) need sleepin Big keep creepin",
     "I can't believe (3)'s on my fuckin' mind / I want to leave, I swear to God I feel like death is fuckin' callin' me",
/*
	 "How do you know that you can't (3) ?",
     "Have you tried ?",
     "Perhaps you could (3) now.",
     "Do you really want to be able to (3) ?",
     "What if you could (3) ?"
	 */
	 "You couldn't book me Dano, see Luciano put the burners / to all y'all, what nigga bring it I'm callin y'all"

  ]],
 ["* i don't *", [
	"Makes sense don't it? Now make dollars",
	/*
     "Don't you really (2) ?",
     "Why don't you (2) ?",
     "Do you wish to be able to (2) ?",
     "Does that trouble you ?"
	 */
  ]],
 ["* i feel *", [
     "Birthdays was the worst days Now we sip champagne when we thirst-ay",
	 "I know how it feels to wake up (2)-ed up",
	 "Shit is real, and (2) how I feel / I rob and steal because that money got that whip appeal"
/*
	 "Tell me more about such feelings.",
     "Do you often feel (2) ?",
     "Do you enjoy feeling (2) ?",
     "Of what does feeling (2) remind you ?"*/
  ]],
 ["* i * you *", [
				  /*
     "Perhaps in your fantasies we (2) each other.",
     "Do you wish to (2) me ?",
     "You seem to need to (2) me.",
     "Do you (2) anyone else ?",*/
	 "I dont give a fuck about you or your weak crew / What you gonna do when Big Poppa comes for you"

  ]],
 ["*", [
     "Should I quit? Shit no!"
	 /*
	 "You say (1) ?",
     "Can you elaborate on that ?",
     "Do you say (1) for some special reason ?",
     "That's quite interesting."
	 */
  ]]
]],
["you", 0, [
 ["* you remind me of *", [
     "goto alike"
  ]],
 ["* you are *", [
	"Here I am, I'll be damned if this ain't some shit / Come to spread the butter lyrics over hominy grit",
/*
     "What makes you think I am (2) ?",
     "Does it please you to believe I am (2) ?",
     "Do you sometimes wish you were (2) ?",*/
	 "Me bein, the man that I am Took it to her condo, pronto Half indian, called her Tonto",
	 "A nigga never been as broke as me, I like that When I was young I had two pair of Lees",
	 "It's on, even when I was wrong I got my point across They depicted me the boss, of course"

	 
  ]],
 ["* you* me *", [
				  /*
     "Why do you think I (2) you ?",
     "You like to think I (2) you -- don't you ?",
     "What makes you think I (2) you ?",
     "Really, I (2) you ?",
     "Do you wish to believe I (2) you ?",*/
     "Laugh now cry later, / I rhyme greater than the average player hater, and spectators / Buy my CD twice",
	 "I flow looser than Luther / Once you get loose the BIG is a born trooper / Like ice cream I'll scoop ya",
	 "Word to mother / I'm above ya / And I love ya cause you a sweet bitch / A crazy crab that might make my dick itch"
  ]],
 ["* you *", [
     "So I guess you know the story, the rap-side, crack-side / How I (2), smacked bitches on the backside",
	 "My music is when I get loose and stay dip / And unlock my booster",
	 "I'm not conceited my friends tell you this",
     "Even my mother realized I helped you bitch BIG up Your mother said I just heard BIG"
  ]]
]],
["yes", 0, [
 ["*", [
     "Aight.",
	 "Yeah."
	 /*
     "You are sure.",
     "I see.",
     "I understand."*/
  ]]
]],
["no", 0, [
 ["* no one *", [
	/*			 
     "Are you sure, no one (2) ?",
     "Surely someone (2) .",*/
     "I'm ready to die and nobody can save me / Fuck the world, fuck my moms and my girl",
	 "Nobody gotta know / That I killed yo ass in the mist, kid",
	 "See it's all about the cheddar, nobody do it better / Going back to Cali, strictly for the weather",
     "You're Nobody (Til Somebody Kills You)"
  ]],
 ["*", [
     
	 "Uh, damn right I like the life I live 'Cause I went from negative to positive",
     "Why not, they fit twelve up in the bedroom / Imagine what they stash is like, make you a classic like my first LP, beef with me is unhealthy",
	 "Left the club tipsy, say no mo'",
	 "Ain't no tellin where this felon is headin, just in case / Keep a shell at the tip of ya melon, clear da space / Ya brain was a terrible thing ta waste"  
  ]]
]],
["my", 2, [
 ["$ * my *", [
		"tell your friends jump in the GS3, I got the chronic by the tree",		
		/*
     "Does that have anything to do with the fact that your (2) ?",
     "Lets discuss further why your (2).",
     "Earlier you said your (2).",
     "But your (2)."*/
	 "And to my niggas livin' street life / Learn to treat life to the best, put stress to rest / Still tote your vest man, niggas be trippin' / In the streets without a (2)? Nah, nigga you're slippin'"

  ]],
 ["* my* @family *", [
     "Keep your family and business completely seperated Money and blood dont mix like two dicks and no bitch",
     "See your family / And that baby's lookin just like you / Why'd you go away I've been missin (4) lately",
     "Your (3) ?",
	 "Back in the days, our parents used to take care of us / Look at em now, they even fuckin scared of us / Callin the city for help because they cant maintain / Damn, shit done changed" 
	 ]],
 ["* my *", [
			 "Plus your sister look better than you / Give head better than you, pussy get wetter than you / So break the fuck out like a rash / I'm glad I ain't spend no cash to hit your nasty ass",
/*
     "Your (2) ?",
     "Why do you say your (2) ?",
     "Does that suggest anything else which belongs to you ?",
     "Is it important to you that your (2) ?"*/
	 "Your (2) is played out like Kwame, and them fuckin polka dots / Who rock the spot? Biggie!"

  ]]
]],
["can", 0, [
 ["* can you *", [
				  /*
     "You believe I can (2) don't you ?",
     "goto what",
     "You want me to be able to (2).",
     "Perhaps you would like to be able to (2) yourself."*/
	 "Get it? Biggie / Also known as the bon appetit / Rappers can't sleep need sleepin Big keep creepin / Bullets heat-seekin, casualties need treatin / Dumb rappers need teachin."

  ]],
 ["* can i *", [
	"You can't control that god damn (2)? (What?)",
	"I'm not runnin, nigga I bust my gun in Hold on I hear somebody comin...",	
     "goto what"
  ]]
]],
["what", 0, [
 ["*", [
     "Uhh, what, what?",
	 "Niggas in my faction don't like asking questions Strictly gun testing, coke measuring"
	 /*
     "Does that question interest you ?",
     "What is it you really want to know ?",
     "Are such questions much on your mind ?",
     "What answer would please you most ?",
     "What do you think ?",
     "What comes to mind when you ask that ?",
     "Have you asked such questions before ?",
     "Have you asked anyone else ?"
	 */
  ]]
]],
["who", 0, [
 ["who *", [
	"Where the true players at?",
     "goto what"
  ]]
]],
["when", 0, [
 ["when *", [
     "goto what"
  ]]
]],
["where", 0, [
 ["where *", [
	"Where the true players at?",
	"Where you at? flippin jobs, playin car notes?",
     "goto what"
  ]]
]],
["how", 0, [
 ["how *", [
     "goto what"
  ]]
]],
["because", 0, [
 ["*", [
     "Fuck it, its flame-able, my hunger is unexplainable Strike the match, just what I expected",
	 "Nigga, you ain't got to explain shit I've been robbing motherfuckers since the slave ships"
  ]]
]],
["why", 0, [
 ["* why don't you *", [
						/*
     "Do you believe I don't (2) ?",
     "Perhaps I will (2) in good time.",
     "Should you (2) yourself ?",
     "You want me to (2) ?",*/
	 "Nigga don't ask why, just respect it",
     "goto what"
  ]],
 ["* why can't i *", [
					  /*
     "Do you think you should be able to (2) ?",
     "Do you want to be able to (2) ?",
     "Do you believe this will help you to (2) ?",
     "Have you any idea why you can't (2) ?",*/
	 "Nigga don't ask why, just respect it",
     "goto what"
  ]],
 ["*", [
     "goto what"
  ]]
]],
["everyone", 2, [
 ["* @everyone *", [
					/*
     "Really, (2) ?",
     "Surely not (2).",
     "Can you think of anyone in particular ?",
     "Who, for example?",
     "Are you thinking of a very special person ?",
     "Who, may I ask ?",
     "Someone special perhaps ?",
     "You have a particular person in mind, don't you ?",
     "Who do you think you're talking about ?"*/
	 "all the people that lived above the buildings that I was hustlin' in front of that called the police on me", 
	 "How's everybody doin tonite?",
	 "So everybody in the house, give a warm, round of applause for The Notorious B.I.G"

  ]]
]],
["everybody", 2, [
 ["*", [
     "goto everyone"
  ]]
]],
["nobody", 2, [
 ["*", [
     "goto everyone"
  ]]
]],
["noone", 2, [
 ["*", [
     "goto everyone"
  ]]
]],
["always", 1, [
 ["*", [
		/*
     "Can you think of a specific example ?",
     "When ?",
     "What incident are you thinking of ?",
     "Really, always ?"*/
	 "Bitches always say what the hell does that mean?"
  ]]
]],
["alike", 10, [
 ["*", [
		/*
     "In what way ?",
     "What resemblence do you see ?",
     "What does that similarity suggest to you ?",
     "What other connections do you see ?",
     "What do you suppose that resemblence means ?",
     "What is the connection, do you suppose ?",
     "Could there really be some connection ?",
     "How ?"
	 */
	 "As I open my eyes and realizin' I changed / Not the same deranged child stuck up in the game."

  ]]
]],
["like", 10, [
 ["* @be *like *", [
     "goto alike"
  ]]
]],
["different", 0, [
 ["*", [
		/*
     "How is it different ?",
     "What differences do you see ?",
     "What does that difference suggest to you ?",
     "What other distinctions do you see ?",
     "What do you suppose that disparity means ?",
     "Could there be some connection, do you suppose ?",
     "How ?"*/
	 "I'm blowin' up like you thought I would / Call the crib, same number same hood"
  ]]
]]

];

// regexp/replacement pairs to be performed as final cleanings
// here: cleanings for multiple bots talking to each other
var elizaPostTransforms = [
	/ old old/g, " old",
	/\bthey were( not)? me\b/g, "it was$1 me",
	/\bthey are( not)? me\b/g, "it is$1 me",
	/Are they( always)? me\b/, "it is$1 me",
	/\bthat your( own)? (\w+)( now)? \?/, "that you have your$1 $2 ?",
	/\bI to have (\w+)/, "I have $1",
	/Earlier you said your( own)? (\w+)( now)?\./, "Earlier you talked about your $2."
];

// eof