ELIZA [plugin]

Post your work in progress addons and get feedback

Post » Fri May 11, 2018 4:16 pm

ELIZA is an early natural language processing computer program created from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum or in short is an early ChatBot.
https://en.wikipedia.org/wiki/ELIZA

I found a Javascript implementation here : http://www.masswerk.at/elizabot/ and made a plugin for fun. It's maybe possible to alter this ELIZA implementation to make your own ChatBot, more in the link above. I didn't tried it.

It has two actions 'input' and 'reset' and and three expression 'output', getInitial and getFinal. With getInitial you got an Initial message, with getFinal you can force an end message that you also got if you type in one of theis key words: bye, goodbye, done, exit, quit.
There is an example capx in the zip, that should be self explaining. Eliza is a plugin and should be put in the plugin folder (Construct 2\exporters\html5\plugins).

Edit: I implemented getInitial and getFinal and updated the example capx.

https://drive.google.com/uc?export=down ... Xg-uku5htu
Last edited by Asmodean on Sun May 13, 2018 8:41 am, edited 1 time in total.
B
27
S
3
G
1
Posts: 501
Reputation: 2,357

Post » Sat May 12, 2018 7:50 pm

I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!
B
80
S
29
G
191
Posts: 263
Reputation: 101,692

Post » Sun May 13, 2018 8:48 am

totoe wrote:I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!


Thanks. I've done that more as a joke for someone. I thought that maybe someone else have interest in that plugin.
The problem to make an extra xml or json file for the text is the structure of the program.
I has to be practical completely rewritten to use xml, json and for a joke that was to much work for me.
B
27
S
3
G
1
Posts: 501
Reputation: 2,357

Post » Sun May 13, 2018 10:03 am

@Asmodean I really dont think that this plugin is a joke. That was a missing plugin for C2 and its very kind, that you shared it here.
B
80
S
29
G
191
Posts: 263
Reputation: 101,692

Post » Mon May 14, 2018 8:34 am

that is pretty dope, i remember eliza windows version, had so much fun with it, however i just revisited it... and is just bad, i think she trolls me :( . but awesome work though! :D
ImageImageImageImageImageImage
B
87
S
26
G
75
Posts: 1,459
Reputation: 47,942


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest