Total Pageviews

RMHS

RMHS

Best Smartphone?

Wednesday, April 2, 2014

"Is Eliza Human?"

Eliza Programming

The lesson on programming Eliza from the Grok Learning website was very interesting.  I learned four main pieces of the program.  They were printing, user input, "if" statements and loops.  Printing is the coding for the words that Eliza will say.  User input is the text that a user may type into the program.  The "if" statements are used to answer questions and statements made by the user.  "If" the user says this particular phrase, then Eliza will answer with this.  The loops are made by Eliza not able to respond to a particular phrase, until a familiar coded phrase is met.  The example in the tutorial was about Eliza's favorite movie.  She would respond the same way to questions about movies, until you mentioned that one particular movie.  I think Eliza is a very simple coding program that is easy to learn from.  She does have basic options to make specific codes such as the "if" statements, but otherwise is very simple. 

No comments:

Post a Comment