Computers and Technology
Computers and Technology, 30.06.2021 04:10, yasarhan2

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:00, delawdermia27
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
image
Computers and Technology, 23.06.2019 06:30, scoutbuffy2512
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
image
Computers and Technology, 23.06.2019 21:00, shyshy1791
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, lovecats12
To move an excel worksheet tab, simply right-click on it drag and drop it double-click on it delete it
Answers: 1
Do you know the correct answer?
Create with PYTHON Create an Eliza like program. For a description of what Eliza is, look here

Questions in other subjects:

Konu
Mathematics, 11.01.2021 20:20
Konu
Mathematics, 11.01.2021 20:20
Konu
Mathematics, 11.01.2021 20:20