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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:30, jacksonthelma82
Data for which there is temporarily no room in ram is diverted to where on your computer? question 9 options: a) the paging file on the hard drive b) the system file on the hard drive c) the memory file on the hard drive d) the cpu cache
Answers: 2
image
Computers and Technology, 23.06.2019 03:10, kyleereeves2007
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e. g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, abdulbasharee99
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
image
Computers and Technology, 23.06.2019 18:00, fordkenae
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1