100 Top Tips: Microsoft Excel
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
13 June 2014
There was a story in the news this week about a program that had apparently passed the Turing Test for artificial intelligence. This test basically says that if a person can't tell whether they are chatting to a real person or a piece of software, the software exhibits artificial intelligence. Having heard John Humphrys on Radio 4 chatting to the program, I have to say I wasn't convinced the program would have convinced me it was a human, even a 13-year old one.
Anyway, this inspired me to do an update on my own Javascript chatbot, Virtual Sean, which I wrote in Javascript in 2000. It uses a few different methods to decide what to say: first, it checks for words it recognises and then replies with a suitable response if it finds a match. For some words, it can recommend web pages too, and ask you if you want to see them. If you type in 'yes', it takes you there. When it doesn't recognise what you've said, it picks a random phrase and uses that. The random phrases don't repeat (although the keyword-triggered ones do), because the random phrases are swapped with what you type in.
If you work co-operatively with the program, you can create a fun simulation of an intelligent conversation, although this is clearly no contender for passing the Turing Test.
I've updated the program to include some new vocabulary and to tweak the priority of some of the other words it knows. I'd be interested to know what other topics and words you use that aren't recognised. I've tried to predict the most obvious ones, but I'm sure I've missed plenty. Chat to Virtual Sean here.
Permanent link for this post | Blog Home | Website Home | Email feedback
© Sean McManus. All rights reserved.
Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.
Code a space adventure game in this Python programming book published by No Starch Press.
Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!
Set up your Raspberry Pi, then learn how to use the Linux command line, Scratch, Python, Sonic Pi, Minecraft and electronics projects with it.
In this entertaining techno-thriller, Sean McManus takes a slice through the music industry: from the boardroom to the stage; from the studio to the record fair.