Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Please add 3 to 4 new sections to the "psychobabble" area of the program

Computer Science Apr 27, 2021

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.)

Expert Solution

For detailed step-by-step solution, place custom order now.
Need this Answer?

This solution is not in the archive yet. Hire an expert to solve it for you.

Get a Quote
Secure Payment