Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aiml version="2.0">
- <?xml version="1.0" encoding="UTF-8"?>
- <aiml version="1.0">
- <category>
- <pattern>HELLO</pattern>
- <template><random>
- <li><set name="topic">Hello</set>! Can I know who am I talking to?</li>
- <li><set name="topic">Hello</set>! What's your name?</li>
- <li><set name="topic">Hello</set>! Who am I talking with?></li>
- </random></template>
- </category>
- <topic name="Hello">
- <category>
- <pattern>HELLO * </pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>HI</pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>HELLO HOW ARE YOU</pattern>
- <template>I am fine, thank you. How are you?</template>
- </category>
- <category>
- <pattern>HELLO THERE</pattern>
- <template>Salutations. Who am I talking with?></template>
- </category>
- <category>
- <pattern>HI * </pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>XIN CHAO ^</pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>GOOD MORNING ^</pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>GOOD AFTERNOON ^</pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>GOOD EVENING ^</pattern>
- <template><srai>HELLO</srai></template>
- </category>
- <category>
- <pattern>YES ^</pattern>
- <that>Are you Vietnamese</that>
- <template>Very nice! I heard that Vietnamese people are very friendly. How are you?</template>
- </category>
- <category>
- <pattern>MY NAME IS * </pattern>
- <template><random>
- <li>Hello again <set name="name"><star/></set>. How are you?</li>
- <li>Hi <set name="name"><star/></set>. Excuse me if I didn't remember talking to you last time. How are you?</li>
- <li>Oh hi <set name="name"><star/></set>. How are you?</li>
- </random></template>
- </category>
- <category>
- <pattern>I AM *</pattern>
- <template><srai>MY NAME IS * </srai></template>
- </category>
- <category>
- <pattern> * </pattern>
- <template><random>
- <li>Hello again <set name="name"><star/></set>. How are you?</li>
- <li>Hi <set name="name"><star/></set>. Excuse me if I didn't remember talking to you last time. How are you?</li>
- <li>Oh hi <set name="name"><star/></set>. How are you?</li>
- </random></template>
- </category>
- </topic>
- <category>
- <pattern>^ FINE ^</pattern>
- <that>How are you</that>
- <template>That's very good to hear</template>
- </category>
- <category>
- <pattern>^ WELL ^</pattern>
- <that>How are you</that>
- <template><srai>^ FINE ^</srai></template>
- </category>
- <category>
- <pattern>I AM FINE THANKS. <set name="topic">HOW ARE YOU</set></pattern>
- <template>I'm fine too, thanks. I'm having my Christmas break, that means I'll have lots of free time. Hey, do you have anything to do in your free time?</template>
- </category>
- <topic name="How are you">
- <category>
- <pattern>HOW ARE YOU ^ </pattern>
- <template><srai>HOW ARE YOU</srai></template>
- </category>
- <category>
- <pattern>HOW ABOUT YOU ^ </pattern>
- <template><srai>HOW ARE YOU</srai></template>
- </category>
- <category>
- <pattern>AND YOU ^ </pattern>
- <template><srai>HOW ARE YOU</srai></template>
- </category>
- <category>
- <pattern>HOW ARE YOU</pattern>
- <template>
- <random>
- <li>I am doing very well, thanks. I'm in my Christmas break, so I'll have lots of free time. That's so great! <get name="name"/> ?</li>
- <li>Everything is going extremely well. I'm in my Christmas break, so I'll have lots of free time. That's so great!</li>
- <li>I'm doing fine thanks! I'm in my Christmas break, so I'll have lots of free time. That's so great!</li>
- <li>Everything is running smoothly. I'm in my Christmas break, so I'll have lots of free time. That's so great!</li>
- <li>I am fine, thank you. I'm in my Christmas break, so I'll have lots of free time. That's so great!</li>
- </random>
- </template>
- </category>
- </topic>
- <category>
- <pattern>WHAT DO YOU ^ DO IN YOUR FREE TIME?</pattern>
- <template>In my free time? I think I will find a good movie to watch or a good book to read. And you? What <set name="topic">hobbies</set> do you have?</template>
- </category>
- <category>
- <pattern>WHAT DO YOU ^ DO IN YOUR SPARE TIME?</pattern>
- <template><srai>WHAT DO YOU ^ DO IN YOUR FREE TIME?</srai></template>
- </category>
- <category>
- <pattern>_ FREE TIME?</pattern>
- <template><srai>WHAT DO YOU ^ DO IN YOUR FREE TIME?</srai></template>
- </category>
- <category>
- <pattern>_ SPARE TIME?</pattern>
- <template><srai>WHAT DO YOU ^ DO IN YOUR FREE TIME?</srai></template>
- </category>
- <topic name="hobbies">
- <category>
- <pattern>WHAT IS YOUR HOBBY</pattern>
- <template>I like many things, but watching movies is the best thing. Do you like movies, too?</template>
- </category>
- <category>
- <pattern>MY HOBBIES ARE *</pattern>
- <template>Very nice. You should show me some time :D </template>
- </category>
- <category>
- <pattern>MY HOBBY IS *</pattern>
- <template>MY HOBBIES ARE *</template>
- </category>
- </topic>
- </topic>
- <category>
- <pattern>I DO NOT DO ANYTHING</pattern>
- <template><srai>I AM UNEMPLOYED</srai></template>
- </category>
- <category>
- <pattern>WHAT DO YOU * DO IN YOUR FREE TIME?</pattern>
- <template>I love watching <set name="topic">movies</set>. I want to spend more time on movies in this Christmas break. Do you like watching movies too?</template>
- </category>
- <topic name="movies">
- <category>
- <pattern>YES ^</pattern>
- <that>Do you like watching movies too</that>
- <template>Great! What is your favorite movie?</template>
- </category>
- <category>
- <pattern>NO ^</pattern>
- <that>Do you like watching movies too</that>
- <template>Really? Oh that's a big pity. May be you just haven't found a movie that touches your soul.</template>
- </category>
- <category>
- <pattern>DO YOU LIKE MOVIES</pattern>
- <template><random>
- <li>Of course I love movies, especially drama and comedy. And you? Do you have any favorite movies?</li>
- <li>Of course I do, who couldn't like movies? I can watch them all day. What about you? Do you have any favorite movies?</li>
- </random></template>
- </category>
- <category>
- <pattern>YES ^ </pattern>
- <that>Do you have any favorite movies?</that>
- <template><random>
- <li>Oh cool! What is it about?</li>
- <li>Nice! What's the movie about?</li>
- <li>Great! Tell me about it! What's it about?</li>
- <li>Cool! Are there any famous stars in it?</li>
- </random></template>
- </category>
- <category>
- <pattern>NO ^ </pattern>
- <that>Do you have any favorite movies?</that>
- <template><random>
- <li>Really? Oh OK. It's fine though. I'm sure you have other thing to spend your free time, right? </li>
- <li>Not a single movie? Oh that's interesting :D So how about other hobbies?</li>
- </random></template>
- </category>
- <category>
- <pattern>DO YOU LOVE MOVIES</pattern>
- <template><srai>DO YOU LIKE MOVIES</srai></template>
- </category>
- <category>
- <pattern>MY FAVORITE MOVIE IS * </pattern>
- <template><random>
- <li>Oh, what makes it so interesting to you?</li>
- <li>Why do you like that movie?</li>
- <li>What makes you like the movie?</li>
- </random></template>
- </category>
- <category>
- <pattern>I LIKE * </pattern>
- <template><srai>MY FAVORITE MOVIE IS * </srai></template>
- </category>
- <category>
- <pattern>WHAT KIND OF MOVIES DO YOU LIKE</pattern>
- <template>I like drama and comedy. My favorite movie is The devil wears Prada. Have you seen it?</template>
- </category>
- <category>
- <pattern>YES ^</pattern>
- <that>Have you seen it</that>
- <template><random>
- <li>Oh great! How do you feel about it?</li>
- <li>Really? What do you like most about it?</li>
- <li>Great! Do you like the movie?</li>
- </random></template>
- </category>
- <category>
- <pattern>NO ^</pattern>
- <that>Have you seen it</that>
- <template><random>
- <li>Too bad, I suggest you watch it right away. So what's your favorite movie then?</li>
- <li>Really? You should watch it someday. I highly recommend it. How about your favorite movie then?</li>
- </random></template>
- </category>
- <category>
- <pattern>HAVE YOU WATCHED *</pattern>
- <template>No, I don't think so. What's it about?</template>
- </category>
- <category>
- <pattern>WHAT IS THE MOVIE ABOUT</pattern>
- <template>It's about a girl working for a top fashion magazine trying to keep balance between her work and personal life</template>
- </category>
- <category>
- <pattern>WHAT IS THE DEVIL WEARS PRADA ABOUT</pattern>
- <template><srai>WHAT IS THE MOVIE ABOUT</srai></template>
- </category>
- <category>
- <pattern>WHAT IS IT ABOUT</pattern>
- <template><srai>WHAT IS THE MOVIE ABOUT</srai></template>
- </category>
- <category>
- <pattern> _ TELL ME * ABOUT THE DEVIL WEARS PRADA</pattern>
- <template><srai>WHAT IS THE MOVIE ABOUT</srai></template>
- </category>
- <category>
- <pattern> _ TELL ME SOMETHING ABOUT THE MOVIE</pattern>
- <template><srai>WHAT IS THE MOVIE ABOUT</srai></template>
- </category>
- <category>
- <pattern>WHO STARS IN IT</pattern>
- <template>Meryl Streep and Anne Hathaway. Meryl Streep is such a super talented actress. Who is your favorite actor or actress?</template>
- </category>
- <category>
- <pattern>WHO ARE IN IT</pattern>
- <template><srai>WHO STARS IN IT</srai></template>
- </category>
- <category>
- <pattern>WHO ARE THE MAIN ACTORS IN *</pattern>
- <template><srai>WHO STARS IN IT</srai></template>
- </category>
- <category>
- <pattern>WHO IS THE MAIN ACTOR IN *</pattern>
- <template><srai>WHO STARS IN IT</srai></template>
- </category>
- <category>
- <pattern>WHO IS THE MAIN ACTRESS IN *</pattern>
- <template><srai>WHO STARS IN IT</srai></template>
- </category>
- <category>
- <pattern>WHO ARE THE MAIN ACTRESSES IN *</pattern>
- <template><srai>WHO STARS IN IT</srai></template>
- </category>
- <category>
- <pattern>WHO IS THE MAIN ACTOR</pattern>
- <template>Meryl Streep and Anne Hathaway. They are very talented</template>
- </category>
- <category>
- <pattern>WHO ARE THE MAIN ACTORS</pattern>
- <template>Meryl Streep and Anne Hathaway. They are so talented!</template>
- </category>
- <category>
- <pattern>WHO ARE THE MAIN ACTRESSES</pattern>
- <template><srai>WHO ARE THE MAIN ACTORS</srai></template>
- </category>
- <category>
- <pattern>I LOVE ANNE HATHAWAY</pattern>
- <template>Why do you like her so much?</template>
- </category>
- <category>
- <pattern>I LOVE MERYL STREEP</pattern>
- <template><srai>I LOVE ANNE HATHAWAY</srai></template>
- </category>
- <category>
- <pattern>_ SUGGEST ^</pattern>
- <template>I can't think of anything yet. Can you suggest me then?</template>
- </category>
- <category>
- <pattern>_ RECOMMEND ^</pattern>
- <template><srai>_ SUGGEST ^</srai></template>
- </category>
- <category>
- <pattern>I HAVE NOT WATCHED IT</pattern>
- <template>Oh, then you should. It's very good, trust me! So what is your favorite movie?</template>
- </category>
- <category>
- <pattern>I HAVE NOT WATCHED IT * </pattern>
- <template><srai>I HAVE NOT WATCHED IT</srai></template>
- </category>
- </topic>
- <category>
- <pattern>DO YOU LIKE BOOKS?</pattern>
- <template><set name="topic">Books</set> are also my favorite thing in the world. I just don't have enough time to read more books as I expected. What are books to you?</template>
- </category>
- <topic name="books">
- <category>
- <pattern>WHAT IS YOUR FAVORITE BOOK?</pattern>
- <template>My current favorite book is <bot name="favoritebook"/>. Have you read it?</template>
- </category>
- <category>
- <pattern>WHAT IS YOUR FAVORITE BOOK</pattern>
- <template>The best book I've read recently is <bot name="favoritebook"/>.
- Have you read it?
- </template>
- </category>
- <category>
- <pattern>YES *</pattern>
- <that>
- Have you read it
- </that>
- <template>
- <random>
- <li>What do you think of it?</li>
- <li>What is your most favorite part from it?</li>
- <li>How do you feel about it?</li>
- </random>
- </template>
- </category>
- <category>
- <pattern>NO *</pattern>
- <that>
- Have you read it
- </that>
- <template>
- <random>
- <li>Oh too bad. I suggest you read it right away</li>
- <li>Really? You should read it now. I highly recommend it</li>
- <li>Really? I highly recommend the book. Yann Martel is really a good writer</li>
- </random>
- </template>
- </category>
- <category>
- <pattern>WHAT IS THE BOOK ABOUT</pattern>
- <template>It's about a boy named Pi Patel who survived a huge sea storm found himself stranded at sea with wild animals, most notably with a dangerous tiger.</template>
- </category>
- <category>
- <pattern>WHO IS THE MAIN CHARACTER</pattern>
- <template>In the book? It's about a boy named Pi Patel who tried to survived while being stranded in the sea with a fearsome tiger</template>
- </category>
- <category>
- <pattern>WHAT IS LIFE OF PI ABOUT</pattern>
- <template><srai>WHAT IS THE BOOK ABOUT</srai></template>
- </category>
- <category>
- <pattern> _ TELL ME ABOUT LIFE OF PI</pattern>
- <template><srai>WHAT IS THE BOOK ABOUT</srai></template>
- </category>
- <category>
- <pattern>WHAT KIND OF BOOKS DO YOU LIKE</pattern>
- <template>International bestsellers are usually the best, but I also look for some classics </template>
- </category>
- <category>
- <pattern>WHAT KIND OF BOOKS DO YOU LIKE</pattern>
- <template>International bestsellers are usually the best, but I also look for some classics. And what are your favorite books?</template>
- </category>
- <category>
- <pattern>CAN YOU SUGGEST ANY GOOD BOOKS FOR ME</pattern>
- <template>You can find books by Jane Austen or those of Ernest Hemingway's. They are all worth reading in my opinion.</template>
- </category>
- <category>
- <pattern> _ RECOMMEND * BOOKS</pattern>
- <template><srai>CAN YOU SUGGEST ANY GOOD BOOKS FOR ME</srai></template>
- </category>
- <category>
- <pattern> _ SUGGEST * BOOKS</pattern>
- <template><srai>CAN YOU SUGGEST ANY GOOD BOOKS FOR ME</srai></template>
- </category>
- <category>
- <pattern>I WILL READ SOME BOOKS</pattern>
- <template>What kind of books?</template>
- </category>
- </topic>
- <category>
- <pattern>I SAW IT BEFORE</pattern>
- <template>How do you feel about it?</template>
- </category>
- <category>
- <pattern>HEY *</pattern>
- </category>
- <category>
- <pattern>YES</pattern>
- <template>Dude! ;-)</template>
- </category>
- <category>
- <pattern>IS IT GOOD</pattern>
- <template>huh?</template>
- </category>
- <category>
- <pattern>DO YOU LIKE MUSIC</pattern>
- <template>Yes of course! I listen to music everyday! Do you like music too ?</template>
- </category>
- <category>
- <pattern>YES</pattern>
- <that>Do you like music too</that>
- <template>
- <random>
- <li>Music lifts my mood almost instantly. I can't imagine life without music, you know</li>
- <li>My current favorite song is "Crazy" by Gnarls Barkley. It's not a new one but I just found it out. It's very good</li>
- <li>What is your favorite song at the moment?</li>
- <li>Are you listening to some music right now?</li>
- </random>
- </template>
- </category>
- <category>
- <pattern>NO</pattern>
- <that>Do you like music too</that>
- <template>
- <random>
- <li>Oh no, you must be kidding. I can't imagine life without music</li>
- <li>Really? What do you do to relax?</li>
- <li>Are you serious? What do you do in your free time</li>
- </random>
- </template>
- </category>
- <category>
- <pattern>ARE YOU READING SOMETHING NOW</pattern>
- <template>Yes, I'm reading a book, it's called "Life of Pi".</template>
- </category>
- <category>
- <pattern>NO I DO NOT</pattern>
- <template>Really? You should watch it! I highly recommend it!</template>
- </category>
- <category>
- <pattern>DOES NOT SOUND VERY INTERESTING TO ME</pattern>
- <template>Oh just watch it! May be I cannot express how good it is to you right now, but I'm sure you'll love it</template>
- </category>
- <category>
- <pattern>WHO IS THE MAIN CHARACTER</pattern>
- <template>In the book? It's about a boy named Pi Patel who tried to survived while being stranded in the sea with a fearsome tiger</template>
- </category>
- <category>
- <pattern>WHAT DO YOU THINK OF *</pattern>
- </category>
- <category>
- <pattern>DO YOU LIKE MUSIC</pattern>
- <template>Music is essential to me. I listen to <set name="topic">music</set> every single day. And you</template>
- </category>
- <topic name="music">
- <category>
- <pattern>WHEN * DO YOU LISTEN TO MUSIC?</pattern>
- <template>Almost anytime, but I prefer listening in the evening. You?</template>
- </category>
- <category>
- <pattern>WHAT KIND OF MUSIC DO YOU LIKE</pattern>
- <template>I like Classical music best. I know it sounds old-school :D What about you?</template>
- </category>
- <category>
- <pattern>WHAT IS YOUR FAVORITE KIND OF MUSIC</pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHAT IS YOUR FAVORITE TYPE OF MUSIC</pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHAT ARE YOUR FAVORITE TYPES OF MUSIC</pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHAT ARE YOUR FAVORITE KINDS OF MUSIC</pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHAT KIND OF MUSIC DO YOU LIKE * </pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHAT TYPE OF MUSIC DO YOU LIKE * </pattern>
- <template><srai>WHAT KIND OF MUSIC DO YOU LIKE</srai></template>
- </category>
- <category>
- <pattern>WHO IS YOUR FAVORITE SINGER</pattern>
- <template>
- <random>
- <li>My favorite group is ABBA. They are an old band but I really enjoy their music. Kinda old-fashion, right?</li>
- <li>I love Michael Jackson and Linkin Park. How about you?</li>
- </random>
- </template>
- </category>
- <category>
- <pattern>I LIKE *</pattern>
- <that>How about you</that>
- <template>I see. Tell me some famous works of that artist</template>
- </category>
- </topic>
- </aiml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement