- Create
regular_expressions.py
under thesrc/
directory and copy the contents. - Complete the
turn_1b()
method such that it prompts to ask the kind of user's smartphone if it is not provided duringTurn 0
. Once the information is retrieved, it should continue toturn_1a()
as follows:S: are you using a smartphone? U: yes S: what kind of smartphone do you have? U: samsung galaxy S: how long have you been using galaxy? ...
- Complete the
turn_3a()
method such that it properly estimates how old user's iPhone is given any version provided by the user. Hint: useres.d_iphone_v
defined in the main space.
- Commit and push
src/regular_expression.py
to your GitHub repository. - Submit
regular_expression.py
to https://canvas.emory.edu/courses/71182/assignments/294356
-
Create
state_machine.py
under thesrc/
directory and copy the contents from the class source. -
Task 1
Set up the appropriate transitions such that the DialogueFlow can recognize
snake
,lizard
,turtle
, andalligator
asreptile
, similar to how it recognizesmammal
andbird
already.(System) Enter an animal: (User) snake (System) snake is a reptile, enter another animal: ...
-
Task 2
Set up the appropriate transitions using an ONTOLOGY reference such that the DialogueFlow can recognize
frog
andsalamander
asamphibian
.You must fill in the
ont_dict
variable with theamphibian
ontology and use this ontology in the Natex expression you create for this case.(System) Enter an animal: (User) frog (System) frog is an amphibian, enter another animal: ...
-
Task 3
Modify each of the user transitions from
State.PROMPT
(including any you added for Tasks 1 and 2) such that the transition matches as long as the user says at least one of the specified words.In other words, if the user says more than just the specified words, the transition should still match. (This isn't currently true, test and see for yourself!)
Here is an example:
(System) Enter an animal: (User) what about frog (System) frog is a reptile, enter another animal: (User) hmm cat i guess (System) cat is a mammal, enter another animal: (User) a parrot (System) parrot is a bird, enter another animal: ...
- Commit and push
src/state_machine.py
to your GitHub repository. - Submit
state_machine.py
to https://canvas.emory.edu/courses/71182/assignments/294365
- TBA
Write a letter of intent that includes the followings:
- The title of your project.
- The name, discipline, and email address of each team member.
- An abstract describing your project in 400 words.
- Use the
loi.tex
template to generate a PDF file calledloi.pdf
. - Submit
loi.pdf
to https://canvas.emory.edu/courses/71182/assignments/294160 - Only one submission is required per team.
TBA
- Select three proposals other than yours that you find most interesting. Proposals must be indicated by the titles.
- Give a brief explanation of why you choose those proposals.
- The explanation should be 50 - 100 words per proposal.
- Submit your explanations to https://canvas.emory.edu/courses/71182/assignments/294380
- TBA
- TBA
- TBA
- Select three projects other than yours that you find most interesting. Projects must be indicated by the titles.
- Give a brief explanation of why you choose those projects.
- The explanation should be 50 - 100 words per project.
- Submit your explanations to https://canvas.emory.edu/courses/71182/assignments/294380