subject

Create with PYTHON Create an Eliza like program. For a description of what Eliza is, look here
You should be able to ask Eliza about anything and include feelings, relationships
and activities. Eliza should respond sensibly.
You will need to use regular expressions in this class. Please refer to the resources
page to learn about regular expressions.
2 MUST HAVE
Your work must comply with the following:
• Your homework must be done in Python. You can use the re and math libraries
only.
• Your agent must ask for the user’s name and greet that user using her/his name:

• Your agent must recognize the following feelings: sadness, happyness and joy
and its derivates (e. g. sad, happy, joyful, joyfulness, saddened, etc.) within the
user’s input, and respond accordingly. HINT: Try to see the pattern in al these.

• Your agent should also recognize when a person says they are: ok, good and bad
within a user’s response and respond accordingly:
• Your agent must recognize verbs ending in ed and use the verb in its natural form
(infinitive) in the response. As long as it removes the ed part of the verb it will
be able to use the verb in its infinitive. (works 85% of the time):
• Your agent must recognize some relationship labels like "mother", "mom", "father", "dad", "brother", "sister", "friend" and respond appropriately:
• Uses regular expressions for all detections1

• Is able to maintain a dialogue no matter what the user input is, except for “bye”,
which should terminate the dialogue

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Which virus-infecting components are email messages prone to carry? one of the problems associated with the use of email communication is that email messages are prone to carry virus-infecting .
Answers: 3
question
Computers and Technology, 22.06.2019 04:30
There is a simple pattern for determining if a binary number is odd. what is it and why does this pattern occur? how many bits would you need if you wanted to have the ability to count up to 1000? how high could you count in binary if you used all 10 of your fingers as bits? (finger up means 1, finger down means 0)
Answers: 3
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
You know the right answer?
Create with PYTHON Create an Eliza like program. For a description of what Eliza is, look here
Questions
question
Spanish, 01.03.2021 20:40
question
Mathematics, 01.03.2021 20:40
question
Mathematics, 01.03.2021 20:40
question
Mathematics, 01.03.2021 20:40
question
English, 01.03.2021 20:40
question
French, 01.03.2021 20:40
Questions on the website: 13722367