subject
Computers and Technology, 30.06.2021 03:20 dad46

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.
You can use the re and math libraries
• 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.
* Your agent must recognize some relationship labels like "mother", "mom", "father", "dad", "brother", "sister", "friend" and respond appropriately:
*Uses regular expressions for all detections
*• Is able to maintain a dialogue no matter what the user input is, except for “bye”,
which should terminate the dialogue.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:10
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
You know the right answer?
Create an Eliza like program. For a description of what Eliza is, look here You should be able to a...
Questions
question
Mathematics, 10.02.2022 09:30
question
Mathematics, 10.02.2022 09:30
question
Mathematics, 10.02.2022 09:30
question
Mathematics, 10.02.2022 09:30
question
Mathematics, 10.02.2022 09:30
Questions on the website: 13722365