Enhance the sentence construction line in the analyze


Eliza prgramming

Please add 3 to 4 new sections to the "psychobabble" area of the program. The text following the "r" character is the keyword being searched for in the users input. The lines of text right after the "r" statement are responses that Eliza can update and print back to the user. The "{0}" characters are text (or individuals words) that have been parsed from the users input and put through the "reflections" block of code.

Enhance the sentence construction line in the "analyze" function. You enhancement could include improving the output to retain some type of context (for example - "You already said that", or set flags to catch changes in emotion - If I say "I'm sad" and then type in "I'm happy" the program should "remember" what I said 1 or 2 or 3 statements earlier.)

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Enhance the sentence construction line in the analyze
Reference No:- TGS02176409

Expected delivery within 24 Hours