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.
For extra credit (5 points) 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.)
9 years ago
5
- Exploring Ancient Mysteries paper
- save the earth
- Flexible Workforce
- A cube has a volume of greater than 125 cm cubed. What are the possible lengths of the side of...
- Finance and portfolio project
- Social Performance of Organizations
- ANT 101 Week 1 DQ 2 Studying Culture
- SCI 220 WileyPLUS® Week 1 Quiz
- Cyber part two and three
- mm