AIML TUTORIAL - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

AIML TUTORIAL

Description:

get name='he'/ He, she, it, they, we. Name, location, age, gender, likes. Person category ... How old are you? /li li What's your sign? /li li Are you ... – PowerPoint PPT presentation

Number of Views:231
Avg rating:3.0/5.0
Slides: 22
Provided by: DrRichard90
Category:
Tags: aiml | tutorial

less

Transcript and Presenter's Notes

Title: AIML TUTORIAL


1
AIML TUTORIAL
A. L. I. C. E.
  • Dr. Richard S. Wallace
  • Chairman, ALICE A.I. Foundation, Inc.

2
ALICE A.I. Foundation, Inc.
3
Categories
  • ltcategorygt
  • ltpatterngtWHAT IS ALU
  • lt/patterngt
  • lttemplategtThe Association of Lisp Users organizes
    the International Lisp Conference.
  • lt/templategt
  • lt/categorygt

4
ltsraigt
  • "stimulus-response"
  • "syntactic rewrite
  • "symbolic reduction
  • "simple recursion
  • "synonym resolution."

5
Synonyms
  • ltcategorygt
  • ltpatterngtDO YOU KNOW THE ALUlt/patterngt
  • lttemplategtltsraigtWHAT IS ALUlt/sraigt
  • lt/templategt
  • lt/categorygt
  • ltcategorygt
  • ltpatterngtTELL ME ABOUT THE ALUlt/patterngt
  • lttemplategtltsraigtWHAT IS ALUlt/sraigt
  • lt/templategt
  • lt/categorygt

6
Symbolc Reduction
  • ltcategorygt
  • ltpatterngt
  • DO YOU KNOW WHAT THE IS
  • lt/patterngt
  • lttemplategt
  • ltsraigtWHAT IS ltstar/gtlt/sraigt
  • lt/templategt
  • lt/categorygt

7
Divide and Conquer
  • ltcategorygt
  • ltpatterngtYES lt/patterngt
  • lttemplategt
  • ltsraigtYESlt/sraigt ltsr/gt
  • lt/templategt
  • lt/categorygt
  • Note ltsr/gt ltsraigtltstar/gtlt/sraigt

8
Context - That
  • ltcategorygt
  • ltpatterngtYESlt/patterngt
  • ltthatgtDO YOU LIKE MOVIESlt/thatgt
  • lttemplategt
  • What is your favorite movie?
  • lt/templategt
  • lt/categorygt

9
Context - Topic
  • lttopic name"CARS"gt
  • ltcategorygt
  • ltpatterngtlt/patterngt
  • lttemplategt
  • ltrandomgt
  • ltligtWhat's your favorite car?lt/ligt
  • ltligtWhat kind of car do you drive?lt/ligt
  • ltligtDo you get a lot of parking tickets?lt/ligt
  • ltligtMy favorite car is one with a driver.lt/ligt
  • lt/randomgt
  • lt/templategt
  • lt/categorygt

10
Predicates
  • lttemplategt
  • ltset name"he"gtSamuel Clemenslt/setgt is Mark
    Twain.
  • lt/templategt
  • ltget namehe/gt
  • He, she, it, they, we
  • Name, location, age, gender, likes

11
Person
  • ltcategorygt
  • ltpatterngtMY MOTHER lt/patterngt
  • lttemplategtWho else in your family ltperson/gt?
  • lt/templategtlt/categorygt
  • ltcategorygt
  • ltpatterngtYOU ARE lt/patterngt
  • lttemplategtDoes it please you to believe I am
    ltperson/gt?
  • lt/templategt
  • lt/categorygt
  • Noteltperson/gt ltpersongtltstar/gtlt/persongt

12
(No Transcript)
13
(No Transcript)
14
Graphmaster
  • INPUT ltthatgt THAT lttopicgt TOPIC

15
Graphmaster
16
Grammar and Spelling
  • ltcategorygt
  • ltpatterngtYOUR STUPIDlt/patterngt
  • lttemplategtI may be stupid, but at least I know
    the difference between "your and youre.
  • lt/templategt
  • lt/categorygt

17
Matching
  • Deperiodize St., Dr., Mr., Ms., Fr
  • Sentence segmentation
  • Normalization
  • Reply to each sentence
  • Remember ltthatgt
  • Format reply

18
Targeting
  • Robot I was talking with a client. S/he said,
    How do fish swim? I said, I didnt even know
    they could. What should I have say?
  • Botmaster say Fish get oxygen from the water.
  • ltcategorygt
  • ltpatterngtHOW DO FISH lt/patterngt
  • lttemplategtFish get oxygen from water.lt/templategt
  • lt/categorygt

19
Defaults
  • ltcategorygt
  • ltpatterngt lt/patterngt
  • lttemplategtltrandomgt
  • ltligtHow old are you?lt/ligt
  • ltligtWhat's your sign?lt/ligt
  • ltligtAre you a student?lt/ligt
  • ltligtWhat are you wearing?lt/ligt
  • ltligtWhere are you located?lt/ligt
  • ltligtWhat is your real name?lt/ligt
  • ltligtI like the way you talk.lt/ligt
  • ltligtAre you a man or a woman?lt/ligt
  • ltligtDo you prefer books or TV?lt/ligt
  • ltligtWhat's your favorite movie?lt/ligt

20
Pandorabots
21
Advanced AIML Topics
  • ltconditiongt
  • ltsystemgt ltjavascriptgt
  • ltthinkgt
  • ltbotgt properties
  • Speech and Voice
  • Face Animation
Write a Comment
User Comments (0)
About PowerShow.com