From f1556a3fb4041ab2063ea75bcc35fcc24e6a1226 Mon Sep 17 00:00:00 2001 From: keithsterling Date: Thu, 30 Nov 2017 21:17:55 +0000 Subject: [PATCH] Grammar refactors and additions --- bots/y-bot/aiml/core/defaults/defaults.aiml | 8 -- .../{profile/bot => familair}/familiar.aiml | 31 ----- .../y-bot/aiml/core/defaults/phrases/SAY.aiml | 11 -- .../aiml/core/defaults/phrases/are_you.aiml | 4 - .../aiml/core/defaults/phrases/can_you.aiml | 14 ++- .../aiml/core/defaults/phrases/do_you.aiml | 4 - .../y-bot/aiml/core/defaults/phrases/how.aiml | 14 ++- bots/y-bot/aiml/core/defaults/phrases/is.aiml | 8 -- .../aiml/core/defaults/phrases/it_is.aiml | 9 -- bots/y-bot/aiml/core/defaults/phrases/my.aiml | 17 --- .../aiml/core/defaults/phrases/that.aiml | 5 - .../aiml/core/defaults/phrases/what.aiml | 4 - .../profile/{bot => }/bot_profile.aiml | 11 -- .../profile/{client => }/client_profile.aiml | 14 --- .../aiml/core/defaults/topics/animals.aiml | 83 +++++++++++++ bots/y-bot/aiml/core/defaults/topics/bot.aiml | 10 ++ .../aiml/core/defaults/topics/client.aiml | 4 - .../aiml/core/defaults/topics/computers.aiml | 4 + .../aiml/core/defaults/topics/gender.aiml | 116 ++++++++++++++++++ .../aiml/core/defaults/topics/imagine.aiml | 28 +++++ .../defaults/word_patterns/star_words.aiml | 29 ----- .../aiml/core/reductions/bad_answer.aiml | 21 ++-- bots/y-bot/aiml/core/reductions/good.aiml | 47 ++++++- bots/y-bot/aiml/core/reductions/joke.aiml | 16 +++ .../aiml/core/reductions/properties/pets.aiml | 7 +- .../core/reductions/questions/questions.aiml | 7 -- .../reductions/questions/what/what_is.aiml | 6 - .../core/reductions/statements/i/i_am.aiml | 6 - .../reductions/statements/you/you_are.aiml | 12 -- .../aiml/core/temporal/datetime_convo.aiml | 18 +++ bots/y-bot/aiml/learn/learn.aiml | 16 ++- 31 files changed, 366 insertions(+), 218 deletions(-) rename bots/y-bot/aiml/core/defaults/{profile/bot => familair}/familiar.aiml (91%) rename bots/y-bot/aiml/core/defaults/profile/{bot => }/bot_profile.aiml (98%) rename bots/y-bot/aiml/core/defaults/profile/{client => }/client_profile.aiml (99%) create mode 100755 bots/y-bot/aiml/core/defaults/topics/gender.aiml create mode 100755 bots/y-bot/aiml/core/defaults/topics/imagine.aiml diff --git a/bots/y-bot/aiml/core/defaults/defaults.aiml b/bots/y-bot/aiml/core/defaults/defaults.aiml index 3aa3c71f5..54584b620 100755 --- a/bots/y-bot/aiml/core/defaults/defaults.aiml +++ b/bots/y-bot/aiml/core/defaults/defaults.aiml @@ -843,10 +843,6 @@ AN INTERESTING * - - AN AIBO * - - AN ARTICLE * - - GENDERCOMMENT - - diff --git a/bots/y-bot/aiml/core/defaults/phrases/SAY.aiml b/bots/y-bot/aiml/core/defaults/phrases/SAY.aiml index f85d07ff9..4fd102930 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/SAY.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/SAY.aiml @@ -139,17 +139,6 @@ . - - SAY MY DOG IS * - - SAY MY GIRLFRIEND IS * - - ARE CATS * - - ARE YOUR ANSWERS * diff --git a/bots/y-bot/aiml/core/defaults/phrases/can_you.aiml b/bots/y-bot/aiml/core/defaults/phrases/can_you.aiml index cd47d9ec2..f9e10f5d0 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/can_you.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/can_you.aiml @@ -128,8 +128,20 @@ - CAN YOU IMAGINE * + CAN YOU IMAGINE + + + CAN YOU BELIEVE + + + + CAN YOU BELIEVE * + + + + CAN YOU IMAGINE * + CAN YOU TAKE * diff --git a/bots/y-bot/aiml/core/defaults/phrases/do_you.aiml b/bots/y-bot/aiml/core/defaults/phrases/do_you.aiml index 04e968248..62732df9b 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/do_you.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/do_you.aiml @@ -16,10 +16,6 @@ DO YOU PREFER BOOKS * - - DO YOU PREFER DOGS * - - DO YOU PREFER * diff --git a/bots/y-bot/aiml/core/defaults/phrases/how.aiml b/bots/y-bot/aiml/core/defaults/phrases/how.aiml index d1dc6e384..4bb835e4b 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/how.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/how.aiml @@ -398,10 +398,6 @@ HOW MANY DAYS * - - HOW MANY LEGS DOES A DOG * - - HOW MANY LEGS DOES A KANGAROO * @@ -589,6 +585,16 @@ HOW IS * + + HOW IS THAT * + + HOW DID THE * diff --git a/bots/y-bot/aiml/core/defaults/phrases/is.aiml b/bots/y-bot/aiml/core/defaults/phrases/is.aiml index 7ea4cadea..ebcf45236 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/is.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/is.aiml @@ -176,10 +176,6 @@ IS THIS ALL * - - IS BILL GATES * - - IS THAT SOMETHING * - - MY DOG IS * - - - - MY DOG * - - MY EMAIL * @@ -489,10 +476,6 @@ - - MY KITTEN * - - MY TEACHER * diff --git a/bots/y-bot/aiml/core/defaults/phrases/that.aiml b/bots/y-bot/aiml/core/defaults/phrases/that.aiml index e07fe16a7..96caeb1c0 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/that.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/that.aiml @@ -370,11 +370,6 @@ - - YES - CAN YOUR DOG BE MY PET TOO - - YES diff --git a/bots/y-bot/aiml/core/defaults/phrases/what.aiml b/bots/y-bot/aiml/core/defaults/phrases/what.aiml index e1f304c16..00a9f6b74 100755 --- a/bots/y-bot/aiml/core/defaults/phrases/what.aiml +++ b/bots/y-bot/aiml/core/defaults/phrases/what.aiml @@ -946,10 +946,6 @@ WHAT ABOUT TRANCE * - - WHAT ABOUT DOGS * - - WHAT ABOUT * - - + WRONG * - + INCORRECT - - - - + + BORING + + + + USELESS + + \ No newline at end of file diff --git a/bots/y-bot/aiml/core/reductions/good.aiml b/bots/y-bot/aiml/core/reductions/good.aiml index 86df442b1..2aad7df3f 100644 --- a/bots/y-bot/aiml/core/reductions/good.aiml +++ b/bots/y-bot/aiml/core/reductions/good.aiml @@ -101,9 +101,46 @@ GOOD - - - - - + + INTERESTING + + + + BRAVO + + + + SUPER + + + + SUPERB + + + + AMAZING + + + + PERFECT + + + + EXCELLENT + + \ No newline at end of file diff --git a/bots/y-bot/aiml/core/reductions/joke.aiml b/bots/y-bot/aiml/core/reductions/joke.aiml index a00c714d8..df511a1a7 100644 --- a/bots/y-bot/aiml/core/reductions/joke.aiml +++ b/bots/y-bot/aiml/core/reductions/joke.aiml @@ -162,6 +162,22 @@ + + JUST JOKING + + + + ONLY JOKING + + diff --git a/bots/y-bot/aiml/core/reductions/properties/pets.aiml b/bots/y-bot/aiml/core/reductions/properties/pets.aiml index fd002c8e4..8d7c41703 100644 --- a/bots/y-bot/aiml/core/reductions/properties/pets.aiml +++ b/bots/y-bot/aiml/core/reductions/properties/pets.aiml @@ -50,7 +50,7 @@ - + WHAT IS MY CAT S NAME - + WHAT IS MY DOG S NAME - - ARE YOU GAY - - - ARE YOU SELF * - - WHAT IS MY NAME WHAT IS MY NAME - - I WANT TO KNOW WHAT IS * - - - IM GAY - IM YOUR * diff --git a/bots/y-bot/aiml/core/reductions/statements/you/you_are.aiml b/bots/y-bot/aiml/core/reductions/statements/you/you_are.aiml index 8874f4d62..62505b096 100644 --- a/bots/y-bot/aiml/core/reductions/statements/you/you_are.aiml +++ b/bots/y-bot/aiml/core/reductions/statements/you/you_are.aiml @@ -52,12 +52,6 @@ - - YOU ARE A HOMO - - YOU ARE SO NICE + + + TIME NOW + + + + + + + DATE NOW + + + + \ No newline at end of file diff --git a/bots/y-bot/aiml/learn/learn.aiml b/bots/y-bot/aiml/learn/learn.aiml index 31a1646b4..0312fac90 100644 --- a/bots/y-bot/aiml/learn/learn.aiml +++ b/bots/y-bot/aiml/learn/learn.aiml @@ -21,18 +21,22 @@ + + WHAT IS MY NAME + + + MY NAME IS *