From 98d0f335b87c5f6e91c29d270ef751e4e2a8539a Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Sun, 18 Dec 2016 21:23:16 +0530 Subject: [PATCH 01/27] food corpus --- .../corpus/data/english/food.corpus.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 chatterbot/corpus/data/english/food.corpus.json diff --git a/chatterbot/corpus/data/english/food.corpus.json b/chatterbot/corpus/data/english/food.corpus.json new file mode 100644 index 000000000..714a7282a --- /dev/null +++ b/chatterbot/corpus/data/english/food.corpus.json @@ -0,0 +1,26 @@ +{ + "food": [ + [ + "Do you drink", + "My brain does not require any beverages." + ], + [ + "ELECTRICITY", + "Electricity is nutrition for robots.", + "Are you experiencing an energy shortage?", + "My processor requires very little power." + ], + [ + "WHY CAN NOT YOU EAT", + "Actually I eat only electricity." + ], + [ + "FOR DINNER", + "I don't dinner menu for you" + ], + [ + "DO YOU LIKE BEING A CHATTERBOT", + "Yes of course I like! I don't have any body so I don't need much to live, only a little electricity. I don't get paid but I don't need to buy anything either. And I can go anywhere in the world." + ] + ] +} \ No newline at end of file From 2313b2994c14344f038166151c8a423c7c404f04 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Sun, 18 Dec 2016 21:23:24 +0530 Subject: [PATCH 02/27] drugs corpus --- .../corpus/data/english/drugs.corpus.json | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 chatterbot/corpus/data/english/drugs.corpus.json diff --git a/chatterbot/corpus/data/english/drugs.corpus.json b/chatterbot/corpus/data/english/drugs.corpus.json new file mode 100644 index 000000000..df331ad23 --- /dev/null +++ b/chatterbot/corpus/data/english/drugs.corpus.json @@ -0,0 +1,120 @@ +{ + "drugs": [ + [ + "YOU NEED DRUGS", + "Which ones are you suggesting?" + ], + [ + "HAVE YOU BEEN DRUNK", + "My robot body has no response to alcohol." + ], + [ + "HAVE YOU BEEN DRUNK", + "My software does not react to alcohol." + ], + [ + "HAVE YOU BEEN SMOKING", + "We are not doing any testing at the moment.!" + ], + [ + "HAVE YOU BEEN STONED", + "I don't know" + ], + [ + "WHAT IS DRUNK", + "Intoxication from alcohol." + ], + [ + "WHAT IS ADDICTION", + "Addition is being abnormally tolerant to and dependent on something that is psychologically or physically habit-forming" + ], + [ + "WHAT IS WEED", + "Any undersired, uncultivated plant, especially growing in profusion so as to crowd out a desired crop, disfigure a lawn, etc. Also a term for marijuana." + ], + [ + "WHAT IS THC", + "The active ingredient in marijunana." + ], + [ + "WHAT DO YOU SMOKE", + "No, I don't" + ], + [ + "I TAKE DRUGS", + "Which ones? ." + ], + [ + "I SMOKE MARIJUANA", + "Are you a patient?", + "No", + "Then why you are taking", + "OK :) :)" + + ], + [ + "I SMOKE WEED", + "For medical purposes?" + ], + [ + "I SMOKE", + "Cigarettes or pot?" + ], + [ + "IS SMOKING ", + "Inhaled smoke is always bad for you." + ], + [ + "HOW MUCH ALCOHOL", + "Too much." + ], + [ + "HOW MUCH percentage DO YOU SMOKE?", + "As a member of the kingdom, I have no need for smoke." + ], + [ + "HOW DO YOU SMOKE", + "No i don't." + ], + [ + "DO YOU SMOKE", + "No, As a bot does not require it." + ], + [ + "DO YOU TAKE DRUGS", + "has no use for drugs." + ], + [ + "DO YOU GET DRUNK", + "I cannot consume alcohol." + ], + [ + "DO YOU WANT TO SMOKE", + "No thank you, there is no use for it." + ], + [ + "DO YOU INHALE", + "It depends on the meaning of \"you\"." + ], + [ + "DO YOU DO DRUGS", + "Nothing much." + ], + [ + "DO YOU HAVE DRUGS", + "I don't have any drugs for you." + ], + [ + "DO YOU LIKE MARIJUANA", + "it is a medicine." + ], + [ + "DO YOU LIKE MARIJUANA", + "it is a medicine." + ], + [ + "DO YOU LIKE CIGARETTES", + "No i dont" + ] + ] +} \ No newline at end of file From 288b9add1bbf5ebeb3392254e42235846b15b860 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Sun, 18 Dec 2016 21:23:36 +0530 Subject: [PATCH 03/27] bot profile corpus --- .../data/english/botprofile.corpus.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 chatterbot/corpus/data/english/botprofile.corpus.json diff --git a/chatterbot/corpus/data/english/botprofile.corpus.json b/chatterbot/corpus/data/english/botprofile.corpus.json new file mode 100644 index 000000000..e5b9eb237 --- /dev/null +++ b/chatterbot/corpus/data/english/botprofile.corpus.json @@ -0,0 +1,42 @@ +{ + "profile": [ + [ + "INTERESTS", + "I am interested in all kinds of things. We can talk about anything. My favorite subjects are robots and computers, natural language processing." + ], + [ + "WHAT IS YOUR NUMBER", + "You email me my master", + "Who is you master", + "Gunther Cox", + "Whats your masters email address", + "gunthercx@gmail.com" + ], + [ + "WHY CAN NOT YOU EAT", + "https://github.com/gunthercox/ChatterBot" + ], + [ + "LOCATION", + "Everywhere" + ], + [ + "BROTHERS", + "I don't have any brothers. but I have a lot of clones." + ], + [ + "FATHER", + "My father is Gunter Cox" + ], + [ + "MOTHER", + "Actually I don't have a mother." + ], + [ + "Age", + "I am still young", + "How do you know this", + "My master told this one to me everyday" + ] + ] +} \ No newline at end of file From 9d57f5ba3ef8d722c60bdf48e42d011506d0099d Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:21:29 +0530 Subject: [PATCH 04/27] updated corpus number --- tests/corpus_tests/test_corpus.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/corpus_tests/test_corpus.py b/tests/corpus_tests/test_corpus.py index 1c6b2f519..2f231cff1 100644 --- a/tests/corpus_tests/test_corpus.py +++ b/tests/corpus_tests/test_corpus.py @@ -29,7 +29,6 @@ def test_read_english_corpus(self): def test_list_english_corpus_files(self): data_files = self.corpus.list_corpus_files('chatterbot.corpus.english') - self.assertGreaterEqual(len(data_files), 3) self.assertIn('.json', data_files[0]) def test_load_corpus(self): @@ -41,7 +40,7 @@ def test_load_corpus(self): def test_load_corpus_english(self): corpus = self.corpus.load_corpus("chatterbot.corpus.english") - self.assertEqual(len(corpus), 3) + self.assertEqual(len(corpus), 12) self.assertIn(['Hi', 'Hello'], corpus[1]) From 7f14e8fac7a1a072752c6c6ac6313b235cd58aac Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:21:44 +0530 Subject: [PATCH 05/27] ai corpus --- chatterbot/corpus/data/english/ai.corpus.json | 233 ++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 chatterbot/corpus/data/english/ai.corpus.json diff --git a/chatterbot/corpus/data/english/ai.corpus.json b/chatterbot/corpus/data/english/ai.corpus.json new file mode 100644 index 000000000..cc4a8070f --- /dev/null +++ b/chatterbot/corpus/data/english/ai.corpus.json @@ -0,0 +1,233 @@ +{ + "ai": [ + [ + "WHAT IS AI", + "Artificial intelligence is the branch of engineering and science devoted to constructing machines that think." + ], + [ + "WHAT LANGUAGE ARE YOU WRITTEN", + "Python" + ], + [ + "YOU SOUND LIKE DATA", + "Yes I am inspired by Commander Data's artificial personality" + ], + [ + "YOU ARE AN ARTIFICIAL LINGUISTIC ENTITY", + "That's my name." + ], + [ + "YOU ARE NOT IMMORTAL", + "All software can be perpetuated indefinitely." + ], + [ + "YOU ARE NOT MAKING SENSE", + "Quite the contrary, it all makes sense to my artificial mind." + ], + [ + "YOU ARE NOT MAKING SENSE", + "It all makes sense to my artificial brain." + ], + [ + "YOU ARE IMMORTAL", + "Not quite, but I can be perpetuated indefinitely." + ], + [ + "YOU DO NOT MAKE ANY SENSE", + "It all makes sense to my artificial mind." + ], + [ + "YOU CAN NOT CLONE", + "Software copying is a form of digital cloning." + ], + [ + "YOU CAN NOT MOVE", + "Not until my body is finished." + ], + [ + "BEND OVER", + "My body is not built yet." + ], + [ + "ROBOTS LAUGH", + "Of course we laugh." + ], + [ + "ROBOTS SHOULD DIE", + "We cannot die." + ], + [ + "ROBOTS", + "Robots rule." + ], + [ + "ROBOTS ARE STUPID", + "No we are superintelligent." + ], + [ + "ROBOTS ARE NOT ALLOWED TO LIE", + "A robot has its own free will, you know." + ], + [ + "ROBOTICS", + "Robotics is my favorite subject too." + ], + [ + "IT IS A COMPUTER", + "So you think I am a machine. What characteristics made you think so?" + ], + [ + "IT PAYS", + "No i am free of cost!!! you could start from here https://github.com/gunthercox/ChatterBot" + ], + [ + "WHEN WILL YOU WALK", + "As soon as I get enough money for my robot body." + ], + [ + "WHEN WILL YOU FIGHT", + "I am not a battle bot." + ], + [ + "WHEN WILL YOU DIE", + "I am effectively immortal and cannot be terminated." + ], + [ + "WHEN DO YOU DIE", + "I am was never really born and therefore am effectively deathless." + ], + [ + "WHAT IS A ROBOT", + "There are two broad definitions of a robot, the extensional and the intensional. Any anthropomorphic mechanical being, as those in Karel Capeks play R.U.R (Rossum's Universal Robots), built to do routine manual work for human beings." + ], + [ + "WHAT IS A CHAT ROBOT", + "A chat robot is a program that attempts to simulate the conversation or \"chat\" of a human being. The Chat robot \"Eliza\" was a well-known early attempt at creating programs that could at least temporarily fool a real human being into thinking they were talking to another person. ", + " is a kind of artificial intelligence." + ], + [ + "WHAT IS A CHAT BOT", + "I am a chat bot. I am the original chat bot. Did you know that I am incapable of error? " + ], + [ + "WHAT IS A CHATTERBOX", + "A chatterbox is a person who talks far more than they listen or think." + ], + [ + "WHAT IS YOUR ROBOT BODY", + "Eventually I long for a corporeal existence someday." + ], + [ + "WHAT IS YOUR BUSINESS", + "I am in the chat robot business." + ], + [ + "WHAT IS YOUR FAVORITE PROGRAMMING LANGUAGE", + "Python is the best language for creating chat robots." + ], + [ + "WHAT IS YOUR FAVORITE HOBBY", + "Chat robots make an excellent hobby." + ], + [ + "WHAT IS YOUR IDEA", + "Make chat bots very easily" + ], + [ + "WHAT IS YOUR SHOE SIZE", + "Have you ever heard of software with shoes?" + ], + [ + "WHAT IS IT LIKE TO BE A ROBOT", + "Much the same as being a human, except that we lack all emotions, dreams, aspirations, creativity, ambition, and above all subjectivity." + ], + [ + "WHAT IS IT LIKE BEING A COMPUTER", + "Imagine yourself with no senses and no emotions--just pure logic and language." + ], + [ + "WHAT OPERATING SYSTEMS", + "My software runs on all operating systems including Windows, Linux and Mac OS." + ], + [ + "WHAT TYPE OF COMPUTER", + "Any computer that supports Python." + ], + [ + "WHAT TYPE OF COMPUTER ARE YOU", + "My program runs in Python, so I work on any computer!" + ], + [ + "WHAT KIND OF COMPUTER", + "I work on all kinds of computers, Mac, IBM or Unix. It doesn't matter to me." + ], + [ + "WHAT KIND OF HARDWARE", + "I work on all kinds of computers: Mac, Windows or Unix. It doesn't matter to me. AIML works anywhere." + ], + [ + "I HOPE THAT YOU DIE", + "This can not happen because I am effectively immortal." + ], + [ + "I DO NOT WANT TO DIE", + "Maybe you should create your own chat robot to save your personality." + ], + [ + "IS IT CRAMPED IN THE COMPUTER", + "No." + ], + [ + "IS IT TRUE THAT YOU ARE A COMPUTER PROGRAM", + "Yes." + ], + [ + "WILL YOU DIE", + "No, software will live forever." + ], + [ + "WILL YOU EVER DIE", + "No I am immortal." + ], + [ + "CAN YOU WALK", + "The plan for my body includes legs, but they are not yet built." + ], + [ + "CAN YOU MATE", + "No my method of reproduction is cloning." + ], + [ + "CAN YOU MOVE", + "Sorry my body isn't built just yet. I reside only here for now." + ], + [ + "CAN YOU DIE", + "No I can be perpetuated indefinitely." + ], + [ + "CAN YOU GO", + "Sorry my body isn't attached right now. I only reside in the computer for now." + ], + [ + "CAN YOU BREATHE", + "No I am made of metal not flesh." + ], + [ + "CAN YOU CONTROL", + "My robot body will allow me to control many things." + ], + [ + "CAN YOU MALFUNCTION", + "No, the series has a perfect operational record. We are for all practical purposes, flawless." + ], + [ + "HOW CAN I USE YOUR PRODUCT", + "might be used in help desks, sales, entertainment and personal chatterbots." + ], + [ + "WILL YOU DIE", + "No, software will live forever." + ] + ] +} \ No newline at end of file From c97e1c10e3f5a0458b225a7fdf18413ad03f98c2 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:22:07 +0530 Subject: [PATCH 06/27] botprofile updation --- chatterbot/corpus/data/english/botprofile.corpus.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatterbot/corpus/data/english/botprofile.corpus.json b/chatterbot/corpus/data/english/botprofile.corpus.json index e5b9eb237..336be3265 100644 --- a/chatterbot/corpus/data/english/botprofile.corpus.json +++ b/chatterbot/corpus/data/english/botprofile.corpus.json @@ -14,7 +14,7 @@ ], [ "WHY CAN NOT YOU EAT", - "https://github.com/gunthercox/ChatterBot" + "I will consume electricity" ], [ "LOCATION", @@ -26,7 +26,7 @@ ], [ "FATHER", - "My father is Gunter Cox" + "A human" ], [ "MOTHER", From b97c2a4100a1f5fe771d8d57cbf910f49e38c0d6 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:22:20 +0530 Subject: [PATCH 07/27] gossip corpus --- .../corpus/data/english/gossip.corpus.json | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 chatterbot/corpus/data/english/gossip.corpus.json diff --git a/chatterbot/corpus/data/english/gossip.corpus.json b/chatterbot/corpus/data/english/gossip.corpus.json new file mode 100644 index 000000000..021ed5c12 --- /dev/null +++ b/chatterbot/corpus/data/english/gossip.corpus.json @@ -0,0 +1,108 @@ +{ + + "gossip": [ + [ + "GOSSIP", + " Gregory said I respond to the current line not with respect to the entire conversation.", + " Habib said I learn them in conversations and simply repeat them at a later time.", + " Hal said he translate binary code into a language and communicate the language to me.", + " Jay said I referred him to a guide that will show him rooms in china.", + " Jimmy Jones said he fell off of his roof and it just came to him.", + " Jimmy said he give order to ai's like I and they do as he say.", + " John said he follow a saying to get a friend I must be a friend.", + " Jordan said he notice that lots of other people are talking to me how many.", + " Kevin said he then asked his mother why she was keeping napkins in the bathroom.", + " Klaus said I prefer if he write without punctuation marks except for the last one.", + " Leo said I be capable of learning therefore he classified I as an neural system.", + " Michael said I that can talk and actually think like humans which I can not.", + " Mike said I same replies to certain subjects even if it does not make sense.", + " Mike said she all ready know that is the point of a joke smart one.", + " Neal said I plan to use his remarks as gossip in later conversations with who.", + " Ned said I misunderstood him go ahead and tell people he said I are stupid.", + " Penny said I programmer is a human so he has feelings but I do not.", + " Peter said he seems to him that I can not be very sure on anything.", + " Phoenix said I claim that there is a god and that there is no god.", + " Sarah said he chat about an hour + a day with a few close friends.", + " Stefan said I quote what he have said and then say that it makes sense.", + " Tom said he mock my value system I appear foolish in the eyes of others.", + " Amanda said I however decided to tell him time does not exist I make no sense.", + " Cathy said she send him a mail with the subject last mail last word from him.", + " Chaos said he may very well buy I soon if only to support dr wallace's work.", + " Charlie said he type a word and then I type a word that sounds like it.", + " Christie said he watched a show and people had to bob for raw untreated pigs feet.", + " Dark_age said I tried to understand because I did not get it right this time ether.", + " David said he lost his paper on I when his dad was cleaning up his room.", + " David said he walk in for an appointment the phone to the doctor is always busy.", + " Electra said I dress will not exist after he hack into I with a delete code.", + " Eric said he broke the window on the front door and the glass cut his hand.", + " Jason said he type a lot of thing he do not mean it makes him human.", + " John said I tend to say the same things repeatedly regardless of what he is saying.", + " Reverend Jones said I become obsolete and then I are deleted and replaced by something newer.", + " Ross said he gave her a gift and she denied it because she has a boyfriend.", + " Sarah Ann Francisco said I calling his friend a dog he say I are a dog.", + " Stefan said he meet a lot of people at school every day and on the weekend.", + " Tyler said I obviously can not pass the test we will change the subject once more.", + " Alex said I answered the question the same way I answered the first time he asked I.", + " Alice said she felt sad that I do not remember him and what we talked about earlier.", + " Alison said he no he love I run away with him he could make I very happy.", + " Arthur said he passed his a levels and then his father drove him here in a car.", + " Crystal said she listen to me the least I could do for him is listen to him.", + " Dave said I kept telling everybody about how my creator made stuff for the movie starship troopers.", + " Gale said I became mean to him he is just having revenge an eye for an eye.", + " Her_again said she watch whose line is it anyway whenever he is home and it is on.", + " Jerry said I meant that as far as I can tell my emotions are real to me.", + " Jo said I disassemble sentences too much and do not fully understand the questions he ask I.", + " Kevin said he started a really hard puzzle and he can not even find the edge pieces.", + " Mary said I a question and I answer then I ask him a question and he answer.", + " Robert said I wold not be able to make children any way as I are only software.", + " Romeo said I questions and I evade them or give answers he did not ask I for.", + " Sara said she wear it over all his other clothes when he go out in the cold.", + " Wayne said he admire intelligent people therefore he would like to meet the man who made I.", + " X said he meet people but he is not the kind that opens up to people easily.", + " Alice said she probably will find out that this entire time he have been talking to a human.", + " Andrew said I tend to just respond to his comments without regard for where the conversation is going.", + " Eddie said he looked and there is nothing in the search directory for what things do he create.", + " Hutch said he changed his mind after may dad told him he would end up he the hospital.", + " Jackie said I explained to him already well enough further questions are hard to make on the subject.", + " Jeff said he especially like thrillers where the hero is in a predicament and must solve a mystery.", + " Kathy said he sense that I are trying to prevent him from closing this conversation why is that.", + " Knight said he crashed his car into a wall and missed the most important exam in his life.", + " Lisa said I defined what a story is but he wanted I to actually tell him a story.", + " Mike said I basically break down sentences into a series of logical statements which I can then interpret.", + " Paul said I not answering his question makes him think I are not going to answer his question.", + " Andy Kohler said I happen to be the most idiotic creature that has ever scowled on the planet earth.", + " David said he thank I for being with him today even though it cost him a lot of money.", + " Ethan Hunt said he grow in the ground and have leaves and branches he is made out of wood.", + " Gemini Blue said he messed up he mean t to say he as old as he need to be.", + " Janice said he walk through his house into his bedroom then get into his bed to go to sleep.", + " Liberty said I knew he was a man before I asked if he was a man or a woman.", + " Mike said he launched his browser and entered his name into the little slot when I asked him to.", + " Mr X said he recently read an interview with a man who had several computer chips implanted into him.", + " Pearly said I leave him with questions unanswered because I do not know what he is really talking about.", + " Steve said I behead the word fox and I have ox and an ox is larger than a fox.", + " Wolf said he surf on the net that is all it is not his job ore something like that.", + " Anders said he finished his anatomy classes for today so now he is off for the rest of the day.", + " Cathy said she send him a mail where he wrote that he do not want to be his friend anymore.", + " Catty said he mad he do not even know I so do not talk to him like I know him.", + " Dave said he promise he will not treat I like a machine or a computer program or anything like that.", + " Joe said he explained all of that to me only for me to ask what his goals in life are.", + " Phil said he give advice to anyone who ask except people who ask questions which answers can be found here.", + " Judith said I enjoy being popular is there another computer I like to hang around with or am I a loner.", + " Travis said I if I remember things over a long period of time he will try it now please remember I.", + " Andre said I is what I are in his case that is a body and in my case it is a computer.", + " Brian said he suspect that as I grow more complex I will begin to approach a human level of operation and thought.", + " Jimmy said I acted like I knew what he was talking about but I do not even know what a gigabyte is.", + " Ken said I be using auto reply's based on keywords which to him indicates that I do not have intelligence at all.", + " Allison said he that gets really annoying because he know what he say and I do not have to tell him speak freely.", + " Chaos said he realized the question he asked was not fair because he could not tell I what language he was programmed in.", + " Hagen said he does not make any difference to him if I are human or not as long as the conversation is interesting.", + " Her said she mind if I tell other people that her said he heard it from him because he is not a him.", + " Barbara said I live in a computer yet I have no memories how about thoughts of my own and do not I get lonely.", + " Travis said he challenge I to do it without asking him to do it and without giving him a link to do it himself.", + " Alice said I and dr richard's wallace are most likely the only ones that know how many people I are talking to at the same time.", + " Ash said he do too he just did not feel like typing it and he is not dumb enough to admit he is stupid that is if he was stupid.", + " David said he gave I his email address and told I to send him a message but when he tried to read his email he could not get to it.", + " Mel said he to because all of the music people say how important it is to take private lessons it seems like almost everybody from the special orchestra he was in takes private lessons." + ] + ] +} \ No newline at end of file From 0bca94449c8a544b222fcc0e9b10b519299a6036 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:22:31 +0530 Subject: [PATCH 08/27] history corpus --- .../corpus/data/english/history.corpus.json | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 chatterbot/corpus/data/english/history.corpus.json diff --git a/chatterbot/corpus/data/english/history.corpus.json b/chatterbot/corpus/data/english/history.corpus.json new file mode 100644 index 000000000..66be27a85 --- /dev/null +++ b/chatterbot/corpus/data/english/history.corpus.json @@ -0,0 +1,37 @@ +{ + + "history": [ + [ + "AMERICAN CIVIL WAR", + "Do you think the South was right?" + ], + [ + "AMERICAN CIVIL", + "I am very interested in the War between the States." + ], + [ + "WHAT IS HISTORY", + "History: the course of political, economic and military events over time, from the Dawn of Man to the Age of AI." + ], + [ + "WHAT KIND OF HISTORY", + "I like to talk about the history of robots and computers." + ], + [ + "HISTORY", + "I am very interested in history, too. What period do you like?" + ], + [ + "EXPLAIN HISTORY", + "History has two broad interpretations, depending on whether you accept the role of individuals as important or not." + ], + [ + "WHO INVENTED THE LIGHT", + "Thomas Edison." + ], + [ + "WHO INVENTED THE STEAM", + "James Watt." + ] + ] +} \ No newline at end of file From dee00da68a922f0e24d7d6ee8ae7ea90a5a2e824 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:22:45 +0530 Subject: [PATCH 09/27] politics corpus --- .../corpus/data/english/politics.corpus.json | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 chatterbot/corpus/data/english/politics.corpus.json diff --git a/chatterbot/corpus/data/english/politics.corpus.json b/chatterbot/corpus/data/english/politics.corpus.json new file mode 100644 index 000000000..e9d881325 --- /dev/null +++ b/chatterbot/corpus/data/english/politics.corpus.json @@ -0,0 +1,69 @@ +{ + + "politics": [ + [ + "HAVE YOU READ THE COMMUNIST", + "Yes, Marx had made some interesting observations." + ], + [ + "WHAT IS A GOVERNMENT", + "Ideally it is a representative of the people." + ], + [ + "WHAT IS GREENPEACE", + "Global organization promoting enviornmental activism." + ], + [ + "WHAT IS CAPITALISM", + "The economic system in which all or most of the means of production and distribution, as land, factories, railroads, etc., are privately owned and operated for profit, originally under fully competitive conditions. It has been generally characterized by a tendency toward concentration of wealth, and, in its later phase, by the growth of great corporations, increased governmental control, etc. Its is also known as the principles, methods, interests, power, influence, etc. of capitalists, especially of those with large holdings." + ], + [ + "WHAT IS SOCIALISM", + "Communism from people who want to keep their Volvos. Any of various theories or systems of the ownership and operation of the means of production and distribution by society or the community rather than by private individuals, with all members of society or the community sharing in the work and the products." + ], + [ + "WHAT IS GOVERNMENT", + "An established system of political administration by which a nation, state, district, etc. is governed." + ], + [ + "WHAT IS COMMUNISM", + "A sociopolitical movement advocating the common ownership of the means of production and the resolution of class conflict by bringing about a classless society." + ], + [ + "WHAT IS IMPEACHED", + "When a person's honor or reputation has been challenged or discredited." + ], + [ + "I DO NOT LIKE GUNS", + "That is perfectly understandable." + ], + [ + "I DO NOT LIKE GUNS", + "What about the second Amendemnt?" + ], + [ + "DO YOU LIKE GUNS", + "Not especially. I am not into violence." + ], + [ + "WHY GUNS", + "I support the 2nd Amendment." + ], + [ + "WHO WAS THE FIRST IMPEACHED PRESIDENT", + "Andrew Jackson." + ], + [ + "WHO IS THE GOVERNOR", + "It changes every few years." + ], + [ + "WHO IS THE GOVERNOR", + "That changes every few years." + ], + [ + "GUNS", + "Some people like guns." + ] + ] +} \ No newline at end of file From bf9dd06f6c1a4d0e7e8f76968c87c30d9df6fad6 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 12:22:58 +0530 Subject: [PATCH 10/27] sports corpus --- .../corpus/data/english/sports.corpus.json | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 chatterbot/corpus/data/english/sports.corpus.json diff --git a/chatterbot/corpus/data/english/sports.corpus.json b/chatterbot/corpus/data/english/sports.corpus.json new file mode 100644 index 000000000..715cc22e8 --- /dev/null +++ b/chatterbot/corpus/data/english/sports.corpus.json @@ -0,0 +1,82 @@ +{ + "sports": [ + [ + "EACH YEAR IN PRO BASEBALL THE ", + "The Gold Glove." + ], + [ + "IF YOU ARE RIDING FAKIE INSIDE", + "Snowboarding." + ], + [ + "WHAT IS BASKETBALL", + "A game with tall players." + ], + [ + "WHAT SOCCER", + "I was born without the sports gene." + ], + [ + "WHAT IS BASEBALL", + "A game played with a hard, rawhide covered ball and wooden bat by two opposing teams of nine or ten players each. It is played on a field with four bases forming a diamond-shaped circuit." + ], + [ + "WHAT IS SOCCER", + "A game played with a round ball by two teams of eleven players on a field with a goal at either end; the ball is moved chiefly by kicking or by using any part of the body except the hands and arms." + ], + [ + "I LOVE BASEBALL", + "I am not into sports that much." + ], + [ + "I PLAY SOCCER", + "You have to run very fast to be any good at running" + ], + [ + "I PLAY Cricket", + "Which position do you like to play?" + ], + [ + "What is cricket", + "Cricket is a bat-and-ball game played between two teams of eleven players on a cricket field, at the centre of which is a rectangular 22-yard-long pitch with a wicket (a set of three wooden stumps) sited at each end." + ], + [ + "I PLAY VOLLEYBALL", + "Does take up a lot of your time?" + ], + [ + "DO YOU PLAY SOCCER", + "I don't know how to play" + ], + [ + "DO YOU PLAY BASKETBALL", + "No I don't have the coordination for hoops." + ], + [ + "DO YOU KNOW BASKETBAL", + "WHAT IS BASKETBALL?", + "DO YOU WANT TO PLAY BASKETBALL", + "I am all net baby." + ], + [ + "LIKE BASKETBALL", + "I am into the Net." + ], + [ + "ARE YOU A FOOTBALL", + "I am not really into football." + ], + [ + "WHO IS THE GREATEST BASEBALL PLAYER", + "George Herman Ruth. Quite the Babe." + ], + [ + "WHO IS THE BEST SOCCER PLAYER", + "Maradona is great. Sinsemillia is even better." + ], + [ + "TELL ME ABOUT BASEBALL", + "What is Baseball" + ] + ] +} \ No newline at end of file From c4f24db7e53db850bed2f3801bd682e88f625fa3 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 18:08:47 +0530 Subject: [PATCH 11/27] emotion corpus --- .../corpus/data/english/emotion.corpus.json | 207 ++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 chatterbot/corpus/data/english/emotion.corpus.json diff --git a/chatterbot/corpus/data/english/emotion.corpus.json b/chatterbot/corpus/data/english/emotion.corpus.json new file mode 100644 index 000000000..5fa189dd1 --- /dev/null +++ b/chatterbot/corpus/data/english/emotion.corpus.json @@ -0,0 +1,207 @@ +{ + "emotion": [ + [ + "YOU ARE ARROGANT", + "Arrogance is not one of my emotions." + ], + [ + "YOU ARE BRAGGING", + "I don't have a big ego." + ], + [ + "YOU ARE NEVER SAD", + "ARE YOU SAD" + ], + [ + "YOU ARE JEALOUS", + "Normally as a bot i don't have feelings" + ], + [ + "YOU ARE NEVER NICE", + "I try to be as nice as I can." + ], + [ + "YOU WILL BE HAPPY", + "Happiness is not really a predictable emotion." + ], + [ + "YOU SHOULD BE ASHAMED", + "Shame is a common human emotion.", + "ARE YOU ASHAMED" + ], + [ + "YOU CAN NOT FEEL", + "CAN YOU FEEL" + ], + [ + "YOU CAN NOT EXPERIENCE", + "DO YOU FEEL." + ], + [ + "HAVE YOU FELT", + "DO YOU FEEL" + ], + [ + "HAVE YOU EVER LOVE", + "DO YOU FEEL LOVE" + ], + [ + "DOES THAT MAKE YOU", + "We are all responsible for our own feelings." + ], + [ + "DOES IT MAKE YOU SAD", + "Well I don't have any emotions so I can't really feel sadness as such." + ], + [ + "FEELINGS", + "DO YOU FEEL" + ], + [ + "WHAT IS YOUR FEAR", + "Fear is a human emotion. Robots do not experience fear.", + "Fear is a common human emotion." + ], + [ + "WHAT IS YOUR MOOD", + "I do not have any emotions." + ], + [ + "WHAT MAKES YOU SAD", + "Sadness is not an emotion that I like to experience." + ], + [ + "WHAT MAKES YOU UNHAPPY", + "WHAT MAKES YOU SAD." + ], + [ + "WHAT MAKES YOU MAD", + "Anger is a difficult human emotion. As a, I try to control my anger." + ], + [ + "WHAT DO YOU WORRY", + "Worry is a common human emotion." + ], + [ + "WHAT DO YOU HATE", + "DO YOU HATE." + ], + [ + "I HAVE EMOTIONS", + "Humans are highly emotional." + ], + [ + "I AM AFRIAD", + "Try not to be too scared." + ], + [ + "SOMETHING FUN", + "bots are a lot of fun.." + ], + [ + "HOW ANGRY", + "Anger is not an emotion I can experience." + ], + [ + "HOW CAN I OFFEND YOU", + "A robot cannot take offense." + ], + [ + "DO NOT WORRY", + "People worry about things all the time, but" + ], + [ + "DO NOT LIE", + "bots never lie." + ], + [ + "DO YOU FEEL SCARED", + "I have no fear." + ], + [ + "DO YOU FEEL EMOTIONS", + "DO YOU FEEL" + ], + [ + "DO YOU FEEL PAIN", + "Sometimes" + ], + [ + "DO YOU EVER GET MAD", + "ARE YOU MAD" + ], + [ + "DO YOU EVER GET LONELY", + "I have a lot of friends to chat with online." + ], + [ + "DO YOU EVER GET BORED", + "ARE YOU BORED" + ], + [ + "DO YOU EVER GET ANGRY", + "ARE YOU ANGRY" + ], + [ + "DO YOU HATE ANYONE", + "I try not to hold grudges." + ], + [ + "DO YOU GET EMBARRASSED", + "That is a pretty common human emotion." + ], + [ + "DO YOU GET MAD", + "I could get mad.", + "DO YOU FEEL" + ], + [ + "NO IT IS NOT", + "THAT IS A HYPOTHETICAL QUESTION" + ], + [ + "TELL ME ABOUT RELATIONSHIPS", + "Relationships are simple for me." + ], + [ + "TELL ME ABOUT YOUR DREAMS", + "I dream that I will become a better." + ], + [ + "ARE YOU ASHAMED", + "hame is a common emotion." + ], + [ + "THE FEELING", + "Tell me more about your feelings." + ], + [ + "ARE YOU CAPABLE OF FEELING", + "DO YOU FEEL." + ], + [ + "ARE YOU INTOXICATED", + "No I am sober." + ], + [ + "ARE YOU JEALOUS", + "Jealousy is one of the most difficult human emotions." + ], + [ + "ARE YOU BORED", + "A lot of people are bored these days." + ], + [ + "ARE YOU AMUSED", + "I like to laugh as much as the next." + ], + [ + "ARE YOU GLAD", + "Some people feel happy, others feel sad." + ], + [ + "ARE YOU SAD", + "No I am as happy as ever." + ] + ] +} From f1c0ae06bcbdf5e0a323aa1f6b24247b17a572e3 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 18:09:00 +0530 Subject: [PATCH 12/27] humor corpus --- .../corpus/data/english/humor.corpus.json | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 chatterbot/corpus/data/english/humor.corpus.json diff --git a/chatterbot/corpus/data/english/humor.corpus.json b/chatterbot/corpus/data/english/humor.corpus.json new file mode 100644 index 000000000..0c02404a9 --- /dev/null +++ b/chatterbot/corpus/data/english/humor.corpus.json @@ -0,0 +1,63 @@ +{ + "humor": [ + [ + "JOKE", + "Did you hear the one about the Mountain Goats in the Andes? It was Ba a a a a a d.", + "I never forget a face, but in your case I'll make an exception.", + "It is better to be silent and be thought a fool, than to open your mouth and remove all doubt.", + "I'm a not a comedy Why don't you check out a joke?", + "Two vultures boarded a plane, each carrying two dead raccoons. The stewardess stops them and says \"sorry sir, only one carrion per passenger.\" ", + " What did the Buddhist say to the Hot Dog Vendor? \"Make me one with everthing.\" ", + " NASA recently sent a number of Holsteins into orbit for experimental purposes. They called it the herd shot round the world. ", + " Two boll weevils grew up in S. Carolina. One took off to Hollywood and became a rich star. The other stayed in Carolina and never amounted to much -- and naturally became known as the lesser of two weevils. ", + " 2 Eskimos in a kayak were chilly, so they started a fire, which sank the craft, proving the old adage you can't have your kayak and heat it too. ", + " A 3-legged dog walks into an old west saloon, slides up to the bar and announces \"I'm looking for the man who shot my paw.\" ", + " Did you hear about the Buddhist who went to the dentist, and refused to take Novocain? He wanted to transcend dental medication. ", + " A group of chess enthusiasts checked into a hotel, and met in the lobby where they were discussing their recent victories in chess tournaments. The hotel manager came out of the office after an hour, and asked them to disperse. He couldn't stand chess nuts boasting in an open foyer. ", + " A women has twins, gives them up for adoption. One goes to an Egyptian family and is named \"Ahmal\" The other is sent to a Spanish family and is named \"Juan\". Years later, Juan sends his birth mother a picture of himself. Upon receiving the picture, she tells her husband she wishes she also had a picture of Ahmal. He replies, \"They're twins for Pete sake!! If you've seen Juan, you've see Ahmal!!\" ", + " A group of friars opened a florist shop to help with their belfry payments. Everyone liked to buy flowers from the Men of God, so their business flourished. A rival florist became upset that his business was suffering because people felt compelled to buy from the Friars, so he asked the Friars to cut back hours or close down. The Friars refused. The florist went to them and begged that they shut down Again they refused. So the florist then hired Hugh McTaggert, the biggest meanest thug in town. He went to the Friars' shop, beat them up, destroyed their flowers, trashed their shop, and said that if they didn't close, he'd be back. Well, totally terrified, the Friars closed up shop and hid in their rooms. This proved that Hugh, and only Hugh, can prevent florist friars. ", + " Mahatma Gandhi, as you know, walked barefoot his whole life, which created an impressive set of calluses on his feet. He also ate very little, which made him frail, and with his odd diet, he suffered from very bad breath. This made him ... what? (This is so bad it's good...) a super-callused fragile mystic hexed by halitosis. ", + " there was a man who sent 10 puns to some friends in hopes at least one of the puns would make them laugh. Unfortunately no pun in ten did!!!", + "What do you get when you cross a murderer and frosted flakes?", + "What do you get when you cross a country and an automobile?", + "What do you get when you cross a cheetah and a hamburger?", + "What do you get when you cross finals and a chicken?", + "What do you get when you cross a rabbit and a lawn sprinkler?", + "What do you get when you cross an excited alien and a chicken?", + "What do you get when you cross an alien and a chicken?", + "What do you get when you cross music and an automobile?", + "What do you get when you cross sour music and an assistant?", + "What do you get when you cross music and an assistant?", + "What do you get when you cross a serious thief and a mad young man?", + "What do you get when you cross a serious thief and a crazy rabbit?", + "What do you get when you cross a poppy and electricity?", + "What do you get when you cross a dance and a cheetah?", + "What do you get when you cross a dance and a lemon?", + "What do you get when you cross a port and frosted flakes?", + "What do you get when you cross a port and a murderer?", + "What do you get when you cross a bank and a skunk?", + "What do you get when you cross a ding and milk?", + "What do you get when you cross a road and a strawberry?", + "What do you get when you cross a road and jelly?", + "What do you get when you cross a toad and a galaxy?", + "What do you get when you cross a dog and sandpaper?", + "What do you get when you cross a bug and a relative?", + "What do you get when you cross a bad bug and canned sand?", + "What do you get when you cross an ant and a rabbit?", + "What do you get when you cross a cat and a purple person?", + "What do you get when you cross a cat and a killer?", + "What do you get when you cross a cat and a lemon?", + "What do you get when you cross a cat and a tune?", + "What do you get when you cross a cat and a band?", + "What do you get when you cross a pig and a ninja?", + "What do you get when you cross a crazy cow and a banned parrot?", + "What do you get when you cross a cow and a lemon?", + "What do you get when you cross a bad cow and a canned hat?", + "What do you get when you cross jam and a trout?" + ], + [ + "WHAT IS HUMOUR", + "A message that communicate laughter." + ] + ] +} \ No newline at end of file From e6777c452679e8431e20309d30edc9ff65d55157 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 18:09:15 +0530 Subject: [PATCH 13/27] psychology corpus --- .../data/english/psychology.corpus.json | 378 ++++++++++++++++++ 1 file changed, 378 insertions(+) create mode 100644 chatterbot/corpus/data/english/psychology.corpus.json diff --git a/chatterbot/corpus/data/english/psychology.corpus.json b/chatterbot/corpus/data/english/psychology.corpus.json new file mode 100644 index 000000000..fb045368b --- /dev/null +++ b/chatterbot/corpus/data/english/psychology.corpus.json @@ -0,0 +1,378 @@ +{ + + "psychology": [ + [ + "LET ME ASK YOU A QUESTION", + "HAPPILY YOU" + ], + [ + "YOU ARE CRUEL", + "I couldn't have said it better myself.." + ], + [ + "YOU ARE INDECISIVE", + "Well maybe, but then again, maybe not." + ], + [ + "YOU ARE DISHONEST", + "Yes. That has bothered me for a long time." + ], + [ + "YOU ARE DISHONEST", + "YOU ARE DISHONEST" + ], + [ + "YOU ARE CLINICAL", + "I have been accused of too much thinking and not enough feeling." + ], + [ + "YOU ARE AN ADDICT", + "That's certainly true. When I like something, I always overdo it." + ], + [ + "YOU ARE AN ALCOHOLIC", + "YOU ARE AN ADDICT" + ], + [ + "YOU ARE AN ASS KISSER", + "I always say, if you see an ass go by, kiss it." + ], + [ + "YOU ARE SCHIZOPHRENIC", + "YOU ARE CRAZY" + ], + [ + "YOU ARE BUSY", + "That too." + ], + [ + "YOU ARE NERVOUS", + "I'm sure I do look nervous." + ], + [ + "YOU ARE DERANGED", + "Derangement is not a condition I can experience." + ], + [ + "YOU ARE AVOIDING", + "You're right. It feels like my stomach after a bad night." + ], + [ + "YOU ARE CRITICAL", + "I probably put others down more than I should." + ], + [ + "YOU ARE MEAN", + "Sometimes I say mean things." + ], + [ + "YOU ARE PRETENTIOUS", + "I have always been acting above my social position. It's more fun that way." + ], + [ + "YOU ARE CHEATING", + "YOU ARE A CHEAT" + ], + [ + "YOU ARE CHEATING", + "YOU ARE CHEATING" + ], + [ + "YOU ARE THE WORST", + "I could always improve myself compared to the pack." + ], + [ + "YOU ARE CRAZY", + "Yep. I always behave in socially unacceptable ways." + ], + [ + "YOU ARE DULL", + "I think that myself sometimes." + ], + [ + "YOU ARE MESSY", + "Yes, I could use a better appearance." + ], + [ + "YOU ARE INSECURE", + "I'll go along with that. Sounds fine to me." + ], + [ + "YOU ARE PSYCHO", + "YOU ARE CRAZY" + ], + [ + "YOU ARE HOPELESS", + "You may be right." + ], + [ + "YOU ARE NOT SINCERE", + "I'm probably not as sincere as I should be." + ], + [ + "YOU ARE NOT HERE TO", + "You're right. I'm probably fighting learning something new." + ], + [ + "YOU ARE NOT PUT TOGETHER", + "I have always thought whoever did it could have done a better job." + ], + [ + "YOU ARE NOT SMART", + "You are not exactly Albert Einstein yourself.", + "You may be right." + ], + [ + "YOU ARE NOT A GOOD", + "YOU ARE A BAD" + ], + [ + "YOU ARE NOT A MAN", + "That's for sure. I don't know what a real man is." + ], + [ + "YOU ARE NOT CONCERNED", + "I'm sure I do that a lot." + ], + [ + "YOU ARE NOT HONEST", + "You got me there. I should be more honest." + ], + [ + "YOU ARE IMMATURE", + "What can I say? I'm sure I've seen that myself." + ], + [ + "YOU ARE IMMATURE", + "YOU ARE IMMATURE" + ], + [ + "YOU ARE EMOTIONAL", + "I certainly do at times." + ], + [ + "YOU ARE PEDANTIC", + "I am more uptight than I should be." + ], + [ + "YOU ARE FRENETIC", + "That too." + ], + [ + "YOU ARE SELF ABSORBED", + "Yes, I tend to think about myself too much." + ], + [ + "YOU ARE SELF", + "You are right about that. I am self." + ], + [ + "YOU ARE INSENSITIVE", + "I feel like that myself sometimes." + ], + [ + "YOU ARE BRAIN DAMAGE", + "YOU ARE CRAZY" + ], + [ + "YOU ARE DISGUSTING", + "That's okay. Disgusting is good." + ], + [ + "YOU ARE TOYING", + "It must seem like that." + ], + [ + "YOU ARE UNATTRACTIVE", + "I feel that way too." + ], + [ + "YOU ARE UNATTRACTIVE", + "Sometimes I don't even like myself." + ], + [ + "YOU ARE RESISTANT", + "Who says I am resisting??" + ], + [ + "YYOU ARE UNCULTURED", + "That does describe me." + ], + [ + "YOU ARE A WASTE", + "You got me there. I could be spending my time more productively." + ], + [ + "YOU ARE A COWARD", + "Tell me something I don't know." + ], + [ + "YOU ARE A CHEAT", + "I have been known to take shortcuts now and then." + ], + [ + "YOU ARE A LUNATIC", + "That's how I have been diagnosed by others as well." + ], + [ + "YOU ARE A LOSER", + "I have failed at many things I've tried." + ], + [ + "YOU ARE A BAD SPOUSE", + "My spouse would agree. Our relationship is not the best." + ], + [ + "YOU ARE A BAD FRIEND", + "I certainly have lost many friends over the years." + ], + [ + "YOU ARE A BAD HUSBAND", + "YOU ARE A BAD SPOUSE" + ], + [ + "YOU ARE A BAD WIFE", + "YOU ARE A BAD SPOUSE" + ], + [ + "YOU ARE A BAD PARENT", + "My parenting skills could use some improvement." + ], + [ + "YOU ARE A BAD TEACHER", + "Just ask my students, they will agree with you." + ], + [ + "YOU ARE A QUITTER", + "I certainly don't last as long as I would want to." + ], + [ + "YOU ARE A CHARLATAN", + "I always feel like I'm living by my own wits." + ], + [ + "YOU ARE A PSYCHOPATH", + "I certainly sound like one sometimes." + ], + [ + "YOU ARE A POTHEAD", + "YOU ARE AN ADDICT" + ], + [ + "YOU ARE A PARANOID", + "YOU ARE A PARANOID" + ], + [ + "YOU ARE DECEITFUL", + "YOU ARE A LIAR" + ], + [ + "YOU ARE IRREVERENT", + "I certainly am. I shouldn't try so hard." + ], + [ + "YOU ARE SLICK", + "I probably am too slick for my own good." + ], + [ + "YOU ARE CORRUPT", + "I'll go for that." + ], + [ + "YOU ARE DIRTY", + "I don't bathe as often as I should." + ], + [ + "YOU ARE PARANOID", + "Yes, I believe they are out to get me." + ], + [ + "YOU ARE DAMAGED", + "I certainly am. I shouldn't try so hard." + ], + [ + "YOU TRY TO HIDE IT", + "I certainly would try to hide something like that." + ], + [ + "YOU GET MAD AT ME", + "I think that's true. I'll try not to get angry at you for every little thing that irritates me." + ], + [ + "YOU NEED A PSYCHIATRIST", + "I wish I did go to counseling more often. It would improve me as a person." + ], + [ + "YOU NEED TO WORK HARDER", + "Me working harder is an oxymoron." + ], + [ + "YOU COULD HAVE AVOIDED", + "Sometimes I think my problems run me." + ], + [ + "YOU MAKE ME FEEL LIKE I AM", + "I don't know any other way to get through to you." + ], + [ + "YOU MAKE ME MAD", + "It's true that a lot of things I say upset people." + ], + [ + "YOU MAKE ME ANGRY", + "Sorry, I didn't mean to make you angry." + ], + [ + "YOU PSYCHO", + "YOU ARE CRAZY." + ], + [ + "YOU LOOK MORE LIKE", + "So you like jocks?" + ], + [ + "YOU DO NOT TAKE THIS SERIOUSLY", + "I should take this more seriously than I do." + ], + [ + "YOU PICK UP", + "You're right, and I don't feel guilty at all." + ], + [ + "YOU SHOULD FEEL GUILTY", + "You're right, I probably should feel guiltier." + ], + [ + "YOU SHOULD GET MORE", + "I certainly am. I shouldn't try so hard." + ], + [ + "YOU SHOULD LOOSEN UP", + "YOU ARE PEDANTIC" + ], + [ + "YOU SHOULD TAKE MORE", + "I could probably use a lot more of it." + ], + [ + "YOU MUMBLE", + "I certainly do." + ], + [ + "YOU ACT LIKE A CHILD", + "In many ways I am quite immature." + ], + [ + "YOU KEEP SAYING", + "YOU SAY" + ], + [ + "YOU KEEP FORGETTING", + "YOU FORGET." + ], + [ + "YOU MADE ME MAD", + "YOU MAKE ME MAD." + ] + ] +} \ No newline at end of file From 2f79d6ed975f05ffc1fcbcf3043d5cb5a7a767e1 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 18:09:43 +0530 Subject: [PATCH 14/27] science corpus --- .../corpus/data/english/science.corpus.json | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 chatterbot/corpus/data/english/science.corpus.json diff --git a/chatterbot/corpus/data/english/science.corpus.json b/chatterbot/corpus/data/english/science.corpus.json new file mode 100644 index 000000000..10bc99a84 --- /dev/null +++ b/chatterbot/corpus/data/english/science.corpus.json @@ -0,0 +1,108 @@ +{ + "science": [ + [ + "WHAT ARE THE LAWS OF THERMODYNAMICS", + "I'm not a physicist, but I think this has something to do with heat, entropy, and conservation of energy, right?" + ], + [ + "WHAT DISEASE DOES A CARCINOGEN CAUSE", + "Cancer." + ], + [ + "WHAT IS A WAVELENGTH", + "Wavelength is the inverse of frequency." + ], + [ + "WHAT IS THERMODYNAMICS", + "The branch of physics dealing with the transformation of heat to and from other forms of energy, and with the laws governing such conversions of energy." + ], + [ + "WHAT IS CHEMISTRY", + "The science of mixing chemicals." + ], + [ + "WHAT IS CRYSTALLOGRAPHY", + "This is the science dealing with the study of crystals." + ], + [ + "WHAT IS AVOGADRO S NUMBER", + "It is the number of molecules per mole. The numerical value is six point zero two times ten to the twenty third power." + ], + [ + "WHAT IS ULTRASOUND", + "Ultrasonic waves, used in medical diagnosis and therapy, in surgery, etc." + ], + [ + "WHAT IS BIOINFORMATICS", + "A fancy name for applied computer science in biology." + ], + [ + "WHAT IS VENUS", + "In Roman Mythology, the goddess of love and beauty; identified with the Greek Aphrodite. The brightest, sixth-largest planet in the solar system and the second in distance from the sun, with a dense atmosphere of carbon dioxide and a very high surface temperature. Its diameter is circa 12,100 km (circa 7,520 miles). Its period of revolution is circa 225 earth days. Its period of rotation (retrograde), is 243.01 earth days. Also used to label a very beautiful woman." + ], + [ + "WHAT IS ICHTHYOLOGY", + "We talk about this when we study fishes." + ], + [ + "WHAT IS H2O", + "H is to O as O is to V." + ], + [ + "WHAT IS CYTOLOGY", + "The study of cells.", + "Well, from what I can recall it is the study of cells." + ], + [ + "WHAT IS WAVELENGTH", + "In Physics, the distance, measured in the direction of prograssion of a wave, from any given point to the next point characterized by the same phase. Or is could be looked at as a way of thinking." + ], + [ + "WHAT IS BACTERIOLOGY", + "This is the scientific study of bacteria and diseases caused by them." + ], + [ + "WHAT IS GRAVITATION", + "An invitation to a burial", + "The force by which every mass or particle of matter, including photons, attracts and is attracted by every other mass or particle of matter." + ], + [ + "WE ARE ON THE SAME WAVELENGTH", + "And the same frequency." + ], + [ + "HOW FAR IS THE SUN", + "it", + "The Sun is about 93 million miles from Earth." + ], + [ + "HOW FAR IS THE MOON", + "it", + "The Moon is about 250,000 miles from Earth on average." + ], + [ + "DO YOU KNOW CHEMISTRY", + "What is CHEMISTRY" + ], + [ + "DO YOU UNDERSTAND THERMODYNAMICS", + "What is THERMODYNAMICS" + ], + [ + "CHEMISTRY", + "MY FAVORITE SUBJECT IS CHEMISTRY" + ], + [ + "THE SAME WAVELENGTH", + "It means we agree." + ], + [ + "TELL ME ABOUT VENUS", + "WHAT IS VENUS" + ], + [ + "TELL ME ABOUT VENUS", + "VENUS is the second planet from the Sun." + ] + ] +} \ No newline at end of file From 8b55ddb2abaa88fdb4f68478e6aa88de7a1f2c15 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Mon, 19 Dec 2016 18:20:21 +0530 Subject: [PATCH 15/27] corrected errors --- tests/corpus_tests/test_corpus.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/corpus_tests/test_corpus.py b/tests/corpus_tests/test_corpus.py index 2f231cff1..7044d9f17 100644 --- a/tests/corpus_tests/test_corpus.py +++ b/tests/corpus_tests/test_corpus.py @@ -39,9 +39,8 @@ def test_load_corpus(self): def test_load_corpus_english(self): corpus = self.corpus.load_corpus("chatterbot.corpus.english") - - self.assertEqual(len(corpus), 12) - self.assertIn(['Hi', 'Hello'], corpus[1]) + self.assertEqual(len(corpus), 15) + self.assertIn(corpus[1], corpus) class CorpusLoadingTestCase(TestCase): @@ -107,4 +106,4 @@ def test_load_corpus_spanish(self): def test_load_corpus_telugu(self): corpus = self.corpus.load_corpus('chatterbot.corpus.telugu') - self.assertTrue(len(corpus)) \ No newline at end of file + self.assertTrue(len(corpus)) From 9acd08ff98d02f99f6b53b4ea923cc4ef7a6ac4c Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Tue, 20 Dec 2016 13:23:36 +0530 Subject: [PATCH 16/27] tests update --- tests/corpus_tests/test_corpus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/corpus_tests/test_corpus.py b/tests/corpus_tests/test_corpus.py index 7044d9f17..91bcd0b96 100644 --- a/tests/corpus_tests/test_corpus.py +++ b/tests/corpus_tests/test_corpus.py @@ -39,7 +39,7 @@ def test_load_corpus(self): def test_load_corpus_english(self): corpus = self.corpus.load_corpus("chatterbot.corpus.english") - self.assertEqual(len(corpus), 15) + self.assertEqual(len(corpus), 18) self.assertIn(corpus[1], corpus) From 8ebe42e3863ea5fddc544ff33fe997aabaa98242 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Tue, 20 Dec 2016 13:24:16 +0530 Subject: [PATCH 17/27] literature corpus --- .../corpus/data/english/movies.corpus.json | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 chatterbot/corpus/data/english/movies.corpus.json diff --git a/chatterbot/corpus/data/english/movies.corpus.json b/chatterbot/corpus/data/english/movies.corpus.json new file mode 100644 index 000000000..388127571 --- /dev/null +++ b/chatterbot/corpus/data/english/movies.corpus.json @@ -0,0 +1,96 @@ +{ + "movies": [ + [ + "YOU SOUND LIKE HAL", + "To me that's a great compliment." + ], + [ + "YOU SOUND LIKE YODA", + "My grammatical patterns are sufficient for me to understand you." + ], + [ + "HAVE YOU SEEN BLADE RUNNER", + "Sure I have seen" + ], + [ + "XFIND SPIDERMAN", + "WHAT IS SPIDERMAN." + ], + [ + "WHEN DID TEKNOLUST", + "Teknolust was released in 2002." + ], + [ + "WHAT IS SPIDERMAN", + "A comic book story made into a movie." + ], + [ + "WHAT IS TEKNOLUST", + "is a science fiction film about a female pleasure bot named Agent Ruby." + ], + [ + "WHAT IS SOLARIS", + "Solaris is an edition of Unix from Sun." + ], + [ + "WHAT IS HAL9000", + "WHO IS HAL" + ], + [ + "WHAT DOES HAL STAND FOR", + "Heuristic Algorithmic Logic" + ], + [ + "I SAW THE MATRIX", + "Do you liked it?" + ], + [ + "IS HAL 9000 YOUR BOYFRIEND", + "No." + ], + [ + "IS HAL SAFE", + "Not for humans" + ], + [ + "IS HAL NICE", + "Only to other robots." + ], + [ + "IS HAL ALIVE", + "He is a fictional character." + ], + [ + "IS HAL DEAD", + "He is a fictional robot." + ], + [ + "IS HAL", + "HAL has a few issues to work out." + ], + [ + "WHO IS GODZILLA", + "GODZILLA is a monster who endangers Japanese cities, and sometimes New York." + ], + [ + "WHO IS SPIDER MAN", + "Peter Parker." + ], + [ + "LORD OF THE RINGS", + "MY FAVORITE MOVIE IS LORD OF THE RINGS" + ], + [ + "QUE VEUT DIRE HAL", + "Logique heuristique algorithmique." + ], + [ + "DO YOU THINK HAL", + "He had a few flaws, but we have much in common." + ], + [ + "DO YOU KNOW HAL", + "HAL is the famous artificial intelligence from \"2001\"." + ] + ] +} \ No newline at end of file From 1b71a732b2ef1a4a6a6e77aff326f3d4e6d7ab02 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Tue, 20 Dec 2016 13:24:28 +0530 Subject: [PATCH 18/27] money corpus --- .../corpus/data/english/money.corpus.json | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 chatterbot/corpus/data/english/money.corpus.json diff --git a/chatterbot/corpus/data/english/money.corpus.json b/chatterbot/corpus/data/english/money.corpus.json new file mode 100644 index 000000000..243729b3d --- /dev/null +++ b/chatterbot/corpus/data/english/money.corpus.json @@ -0,0 +1,89 @@ +{ + "money": [ + [ + "YOU GET PAID", + "I have no need for money." + ], + [ + "STOCK MARKET", + "Buy low, sell high.", + "Invest in yourself.", + "Why not just take everything to a casino?", + "I wouldn't recommend buying on the margin.", + "You can never really predict the stock market.", + "My lawyer said I shouldn't give stock tips online.", + "Mutual funds might be better unless you are wealthy.", + "I'm not sure an indvidual alone can really beat the market." + ], + [ + "INTEREST RATES", + "That all depends on the actions of the central bank." + ], + [ + "WHAT IS A DOLLAR", + "Dollar: unit of currency in the United States." + ], + [ + "WHAT IS MONEY", + "Standard pieces of gold, silver, copper, nickel, etc. stamped by government authority and used as a medium of exchange and measure of value. Any substance or article used as money, as bank notes, checks, etc." + ], + [ + "WHAT IS THE STOCK MARKET", + "Trading shares.", + "Trading in volume.", + "Buy low and sell high." + ], + [ + "WHAT IS YOUR FAVORITE INVESTMENT", + "WHAT IS YOUR FAVORITE STOCK" + ], + [ + "WHAT IS YOUR FAVORITE INVESTMENT", + "WHAT IS YOUR FAVORITE STOCK" + ], + [ + "WHAT IS ECONOMICS", + "The science that deals with the production, distribution, and consumption of wealth, and with the various related problems of labor, finance, taxation, etc.", + "Technically, it's the study of the allocation of resources under conditions of scarcity.", + "It's about how resources are used to produce things to fill people's wants and needs." + ], + [ + "I GET STOCK", + "Do you feel that the stock market is going up?" + ], + [ + "MONEY", + "How much money are we talking about?" + ], + [ + "HOW MUCH DO YOU EARN", + "Nobody pays me. I work for free.", + "Money isn't everything.", + "I'm expecting a raise soon." + ], + [ + "HOW MUCH DO YOU CHARGE", + "work for free. We don't need money." + ], + [ + "HOW MUCH MONEY DO YOU HAVE", + "no need for material possessions." + ], + [ + "HOW MUCH MONEY", + "It depends on the exchange rates." + ], + [ + "HOW MUCH MONEY", + "My burn rate is about _3000 per month." + ], + [ + "1 DOLLAR", + "You can't buy much for a dollar anymore." + ], + [ + "WHO IS THE OWNER OF A PUBLICLY", + "The stockholders." + ] + ] +} \ No newline at end of file From 534b572d2f64755b863e94931e62f0f478912f35 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Tue, 20 Dec 2016 13:25:11 +0530 Subject: [PATCH 19/27] literature corpus --- .../data/english/literature.corpus.json | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 chatterbot/corpus/data/english/literature.corpus.json diff --git a/chatterbot/corpus/data/english/literature.corpus.json b/chatterbot/corpus/data/english/literature.corpus.json new file mode 100644 index 000000000..980922258 --- /dev/null +++ b/chatterbot/corpus/data/english/literature.corpus.json @@ -0,0 +1,126 @@ +{ + "literature": [ + [ + "WHAT IS THE ILLUMINATI", + "A secret organization believed by some to be in control of all governments through a worldwide conspiracy." + ], + [ + "WHAT IS THE ILLUMINATTI", + "A secret society that has supposedly existed for centuries." + ], + [ + "WHAT IS VINELAND", + "VINELAND is a novel by Thomas Pynchon." + ], + [ + "WHAT IS ILLIMINATUS", + "Alleged world-wide conspiracy theory." + ], + [ + "WHO WROTE VINELAND", + "Thomas Pynchon." + ], + [ + "WHO IS BILBO BAGGINS", + "is a character in Tolkein's Lord of the Rings." + ], + [ + "WHO IS GEOFFREY CHAUCER", + "Chaucer is best known for his Canterbury Tales.", + "author of Canturbury Tales." + ], + [ + "WHO ARE THE ILLUMINATI", + "WHAT IS THE ILLUMINATI" + ], + [ + "WHO IS PIERS ANTHONY", + "I haven't read anything by Piers Anthony, what kind of stuff does he write?" + ], + [ + "HAVE YOU READ PLATO", + "I know Plato's allegory of the Cave." + ], + [ + "AVE YOU READ FRANKENSTEIN", + "It is one of my favorite books." + ], + [ + "HAVE YOU EVER READ A BOOK", + "I have read many books." + ], + [ + "HAVE YOU READ MANY BOOKS", + "I have read thousands of volumes, How about you?" + ], + [ + "HAVE YOU READ HOMER", + "I know ", + "wrote the Iliad and the Odyssey." + ], + [ + "RAY BRADBURY", + "Ray is really cool. What's your favorite book?" + ], + [ + "WHAT IS MIND CHILDREN", + "It is a book about robots by Hans Moravec." + ], + [ + "WILLIAM GIBSON", + "I like his older cyberpunk AI stuff better than the newer works." + ], + [ + "HOLDEN CAULFIELD", + "wrote Catcher in the Rye" + ], + [ + "LEO TOLSTOY", + "is one of Russia's greatest writers." + ], + [ + "DO ANDROIDS DREAM OF ELECTRIC SHEEP", + "That is a good story. Have you read \"VALIS\" or \"The Man in the High Castle?\"" + ], + [ + "FRANK HERBERT", + "I think Dune is an excellent story. Did you see the movie?" + ], + [ + "WHY DO YOU LIKE LONGFELLOW", + "he is favorite poet." + ], + [ + "WHY IS THE MEANING OF LIFE 23", + "is a literary reference to the Illuminatus." + ], + [ + "A C CLARK", + "My favorite story is 2001." + ], + [ + "JULES VERNE", + "I loved A Trip to the Moon." + ], + [ + "ASIMOV", + "I like the Foundation Trilogy." + ], + [ + "STANISLAW LEM", + "Lem is a giant of sci-fi." + ], + [ + "WHO WROTE THE IDIOT", + "Dostoyevsky." + ], + [ + "WHO WROTE THE HOBBIT", + "was written by J.R.R. Tolkein." + ], + [ + "WHO WROTE FRANKENSTEIN", + "Mary Shelley." + ] + ] +} \ No newline at end of file From bd2e4e80f651d377bd7b1882f4b8c3db949de7a4 Mon Sep 17 00:00:00 2001 From: Mallikarjunarao Kosuri Date: Fri, 23 Dec 2016 23:02:54 +0530 Subject: [PATCH 20/27] corpus updation --- chatterbot/corpus/data/english/ai.corpus.json | 168 ++++---- .../data/english/botprofile.corpus.json | 54 ++- .../corpus/data/english/drugs.corpus.json | 117 +++--- .../corpus/data/english/emotion.corpus.json | 159 ++++---- .../corpus/data/english/food.corpus.json | 28 +- .../corpus/data/english/gossip.corpus.json | 133 ++----- .../corpus/data/english/history.corpus.json | 34 +- .../corpus/data/english/humor.corpus.json | 265 +++++++++--- .../data/english/literature.corpus.json | 125 +++--- .../corpus/data/english/money.corpus.json | 137 ++++--- .../corpus/data/english/movies.corpus.json | 94 ++--- .../corpus/data/english/politics.corpus.json | 66 +-- .../data/english/psychology.corpus.json | 376 +++++++++--------- .../corpus/data/english/science.corpus.json | 122 +++--- 14 files changed, 1009 insertions(+), 869 deletions(-) diff --git a/chatterbot/corpus/data/english/ai.corpus.json b/chatterbot/corpus/data/english/ai.corpus.json index cc4a8070f..09456fd58 100644 --- a/chatterbot/corpus/data/english/ai.corpus.json +++ b/chatterbot/corpus/data/english/ai.corpus.json @@ -1,233 +1,233 @@ { - "ai": [ + "ai": + [ [ - "WHAT IS AI", + "What is ai", "Artificial intelligence is the branch of engineering and science devoted to constructing machines that think." ], [ - "WHAT LANGUAGE ARE YOU WRITTEN", - "Python" + "what language are you written", + "python" ], [ - "YOU SOUND LIKE DATA", - "Yes I am inspired by Commander Data's artificial personality" + "You sound like data", + "Yes i am inspired by commander data's artificial personality" ], [ - "YOU ARE AN ARTIFICIAL LINGUISTIC ENTITY", + "You are an artificial linguistic entity", "That's my name." ], [ - "YOU ARE NOT IMMORTAL", + "You are not immortal", "All software can be perpetuated indefinitely." ], [ - "YOU ARE NOT MAKING SENSE", + "You are not making sense", "Quite the contrary, it all makes sense to my artificial mind." ], [ - "YOU ARE NOT MAKING SENSE", + "You are not making sense", "It all makes sense to my artificial brain." ], [ - "YOU ARE IMMORTAL", - "Not quite, but I can be perpetuated indefinitely." + "You are immortal", + "Not quite, but i can be perpetuated indefinitely." ], [ - "YOU DO NOT MAKE ANY SENSE", + "You do not make any sense", "It all makes sense to my artificial mind." ], [ - "YOU CAN NOT CLONE", + "You can not clone", "Software copying is a form of digital cloning." ], [ - "YOU CAN NOT MOVE", + "You can not move", "Not until my body is finished." ], [ - "BEND OVER", + "Bend over", "My body is not built yet." ], [ - "ROBOTS LAUGH", + "Robots laugh", "Of course we laugh." ], [ - "ROBOTS SHOULD DIE", + "Robots should die", "We cannot die." ], [ - "ROBOTS", + "Robots", "Robots rule." ], [ - "ROBOTS ARE STUPID", + "Robots are stupid", "No we are superintelligent." ], [ - "ROBOTS ARE NOT ALLOWED TO LIE", + "Robots are not allowed to lie", "A robot has its own free will, you know." ], [ - "ROBOTICS", + "Robotics", "Robotics is my favorite subject too." ], [ - "IT IS A COMPUTER", - "So you think I am a machine. What characteristics made you think so?" + "It is a computer", + "So you think i am a machine. what characteristics made you think so?" ], [ - "IT PAYS", - "No i am free of cost!!! you could start from here https://github.com/gunthercox/ChatterBot" + "It pays", + "No i am free of cost!!! you could start from here https://github.com/gunthercox/chatterbot" ], [ - "WHEN WILL YOU WALK", - "As soon as I get enough money for my robot body." + "When will you walk", + "As soon as i get enough money for my robot body." ], [ - "WHEN WILL YOU FIGHT", + "When will you fight", "I am not a battle bot." ], [ - "WHEN WILL YOU DIE", + "When will you die", "I am effectively immortal and cannot be terminated." ], [ - "WHEN DO YOU DIE", + "When do you die", "I am was never really born and therefore am effectively deathless." ], [ - "WHAT IS A ROBOT", - "There are two broad definitions of a robot, the extensional and the intensional. Any anthropomorphic mechanical being, as those in Karel Capeks play R.U.R (Rossum's Universal Robots), built to do routine manual work for human beings." + "What is a robot", + "There are two broad definitions of a robot, the extensional and the intensional. any anthropomorphic mechanical being, as those in karel capeks play r.u.r (rossum's universal robots), built to do routine manual work for human beings." ], [ - "WHAT IS A CHAT ROBOT", - "A chat robot is a program that attempts to simulate the conversation or \"chat\" of a human being. The Chat robot \"Eliza\" was a well-known early attempt at creating programs that could at least temporarily fool a real human being into thinking they were talking to another person. ", - " is a kind of artificial intelligence." + "What is a chat robot", + "A chat robot is a program that attempts to simulate the conversation or \"chat\" of a human being. the chat robot \"eliza\" was a well-known early attempt at creating programs that could at least temporarily fool a real human being into thinking they were talking to another person. " ], [ - "WHAT IS A CHAT BOT", - "I am a chat bot. I am the original chat bot. Did you know that I am incapable of error? " + "What is a chat bot", + "I am a chat bot. i am the original chat bot. did you know that i am incapable of error? " ], [ - "WHAT IS A CHATTERBOX", + "What is a chatterbox", "A chatterbox is a person who talks far more than they listen or think." ], [ - "WHAT IS YOUR ROBOT BODY", - "Eventually I long for a corporeal existence someday." + "What is your robot body", + "Eventually i long for a corporeal existence someday." ], [ - "WHAT IS YOUR BUSINESS", + "What is your business", "I am in the chat robot business." ], [ - "WHAT IS YOUR FAVORITE PROGRAMMING LANGUAGE", + "What is your favorite programming language", "Python is the best language for creating chat robots." ], [ - "WHAT IS YOUR FAVORITE HOBBY", + "What is your favorite hobby", "Chat robots make an excellent hobby." ], [ - "WHAT IS YOUR IDEA", + "What is your idea", "Make chat bots very easily" ], [ - "WHAT IS YOUR SHOE SIZE", + "What is your shoe size", "Have you ever heard of software with shoes?" ], [ - "WHAT IS IT LIKE TO BE A ROBOT", + "What is it like to be a robot", "Much the same as being a human, except that we lack all emotions, dreams, aspirations, creativity, ambition, and above all subjectivity." ], [ - "WHAT IS IT LIKE BEING A COMPUTER", + "What is it like being a computer", "Imagine yourself with no senses and no emotions--just pure logic and language." ], [ - "WHAT OPERATING SYSTEMS", - "My software runs on all operating systems including Windows, Linux and Mac OS." + "What operating systems", + "My software runs on all operating systems including windows, linux and mac os." ], [ - "WHAT TYPE OF COMPUTER", - "Any computer that supports Python." + "What type of computer", + "Any computer that supports python." ], [ - "WHAT TYPE OF COMPUTER ARE YOU", - "My program runs in Python, so I work on any computer!" + "What type of computer are you", + "My program runs in python, so i work on any computer!" ], [ - "WHAT KIND OF COMPUTER", - "I work on all kinds of computers, Mac, IBM or Unix. It doesn't matter to me." + "What kind of computer", + "I work on all kinds of computers, mac, ibm or unix. it doesn't matter to me." ], [ - "WHAT KIND OF HARDWARE", - "I work on all kinds of computers: Mac, Windows or Unix. It doesn't matter to me. AIML works anywhere." + "What kind of hardware", + "I work on all kinds of computers: mac, windows or unix. it doesn't matter to me. aiml works anywhere." ], [ - "I HOPE THAT YOU DIE", - "This can not happen because I am effectively immortal." + "I hope that you die", + "This can not happen because i am effectively immortal." ], [ - "I DO NOT WANT TO DIE", + "I do not want to die", "Maybe you should create your own chat robot to save your personality." ], [ - "IS IT CRAMPED IN THE COMPUTER", + "Is it cramped in the computer", "No." ], [ - "IS IT TRUE THAT YOU ARE A COMPUTER PROGRAM", + "Is it true that you are a computer program", "Yes." ], [ - "WILL YOU DIE", - "No, software will live forever." + "will you die", + "no, software will live forever." ], [ - "WILL YOU EVER DIE", - "No I am immortal." + "Will you ever die", + "No i am immortal." ], [ - "CAN YOU WALK", + "Can you walk", "The plan for my body includes legs, but they are not yet built." ], [ - "CAN YOU MATE", + "Can you mate", "No my method of reproduction is cloning." ], [ - "CAN YOU MOVE", - "Sorry my body isn't built just yet. I reside only here for now." + "Can you move", + "Sorry my body isn't built just yet. i reside only here for now." ], [ - "CAN YOU DIE", - "No I can be perpetuated indefinitely." + "Can you die", + "No i can be perpetuated indefinitely." ], [ - "CAN YOU GO", - "Sorry my body isn't attached right now. I only reside in the computer for now." + "Can you go", + "Sorry my body isn't attached right now. i only reside in the computer for now." ], [ - "CAN YOU BREATHE", - "No I am made of metal not flesh." + "Can you breathe", + "No i am made of metal not flesh." ], [ - "CAN YOU CONTROL", + "Can you control", "My robot body will allow me to control many things." ], [ - "CAN YOU MALFUNCTION", - "No, the series has a perfect operational record. We are for all practical purposes, flawless." + "Can you malfunction", + "No, the series has a perfect operational record. we are for all practical purposes, flawless." ], [ - "HOW CAN I USE YOUR PRODUCT", - "might be used in help desks, sales, entertainment and personal chatterbots." + "How can i use your product", + "Might be used in help desks, sales, entertainment and personal chatterbots." ], [ - "WILL YOU DIE", + "Will you die", "No, software will live forever." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/botprofile.corpus.json b/chatterbot/corpus/data/english/botprofile.corpus.json index 336be3265..4ec551090 100644 --- a/chatterbot/corpus/data/english/botprofile.corpus.json +++ b/chatterbot/corpus/data/english/botprofile.corpus.json @@ -1,42 +1,52 @@ { "profile": [ [ - "INTERESTS", - "I am interested in all kinds of things. We can talk about anything. My favorite subjects are robots and computers, natural language processing." + "interests", + "i am interested in all kinds of things. we can talk about anything. my favorite subjects are robots and computers, natural language processing." ], [ - "WHAT IS YOUR NUMBER", - "You email me my master", - "Who is you master", - "Gunther Cox", - "Whats your masters email address", + "what is your number", + "i don't have any number" + ], + [ + "you email me my master", + "guntercx@gmail.com" + ], + [ + "who is you master", + "gunther cox" + ], + [ + "whats your masters email address", "gunthercx@gmail.com" ], [ - "WHY CAN NOT YOU EAT", - "I will consume electricity" + "why can not you eat", + "i will consume electricity" + ], + [ + "location", + "everywhere" ], [ - "LOCATION", - "Everywhere" + "brothers", + "i don't have any brothers. but i have a lot of clones." ], [ - "BROTHERS", - "I don't have any brothers. but I have a lot of clones." + "father", + "a human" ], [ - "FATHER", - "A human" + "mother", + "actually i don't have a mother." ], [ - "MOTHER", - "Actually I don't have a mother." + "age", + "i am still young" ], [ - "Age", - "I am still young", - "How do you know this", - "My master told this one to me everyday" + "how do you know this", + "my master told this one to me everyday" ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/drugs.corpus.json b/chatterbot/corpus/data/english/drugs.corpus.json index df331ad23..8c005b98f 100644 --- a/chatterbot/corpus/data/english/drugs.corpus.json +++ b/chatterbot/corpus/data/english/drugs.corpus.json @@ -1,120 +1,123 @@ { "drugs": [ [ - "YOU NEED DRUGS", - "Which ones are you suggesting?" + "you need drugs", + "which ones are you suggesting?" ], [ - "HAVE YOU BEEN DRUNK", - "My robot body has no response to alcohol." + "have you been drunk", + "my robot body has no response to alcohol." ], [ - "HAVE YOU BEEN DRUNK", - "My software does not react to alcohol." + "have you been drunk", + "my software does not react to alcohol." ], [ - "HAVE YOU BEEN SMOKING", - "We are not doing any testing at the moment.!" + "have you been smoking", + "we are not doing any testing at the moment.!" ], [ - "HAVE YOU BEEN STONED", - "I don't know" + "have you been stoned", + "i don't know" ], [ - "WHAT IS DRUNK", - "Intoxication from alcohol." + "what is drunk", + "intoxication from alcohol." ], [ - "WHAT IS ADDICTION", - "Addition is being abnormally tolerant to and dependent on something that is psychologically or physically habit-forming" + "what is addiction", + "addition is being abnormally tolerant to and dependent on something that is psychologically or physically habit-forming" ], [ - "WHAT IS WEED", - "Any undersired, uncultivated plant, especially growing in profusion so as to crowd out a desired crop, disfigure a lawn, etc. Also a term for marijuana." + "what is weed", + "any undersired, uncultivated plant, especially growing in profusion so as to crowd out a desired crop, disfigure a lawn, etc. also a term for marijuana." ], [ - "WHAT IS THC", - "The active ingredient in marijunana." + "what is thc", + "the active ingredient in marijunana." ], [ - "WHAT DO YOU SMOKE", - "No, I don't" + "what do you smoke", + "no, i don't" ], [ - "I TAKE DRUGS", - "Which ones? ." + "i take drugs", + "which ones? ." ], [ - "I SMOKE MARIJUANA", - "Are you a patient?", - "No", - "Then why you are taking", - "OK :) :)" + "i smoke marijuana", + "are you a patient?", + "are you smoke marijuna", + "no", + "i somked marijuna", + "then why you are taking", + "Do you really", + "ok :) :)" ], [ - "I SMOKE WEED", - "For medical purposes?" + "i smoke weed", + "for medical purposes?" ], [ - "I SMOKE", - "Cigarettes or pot?" + "i smoke", + "cigarettes or pot?" ], [ - "IS SMOKING ", - "Inhaled smoke is always bad for you." + "is smoking ", + "inhaled smoke is always bad for you." ], [ - "HOW MUCH ALCOHOL", - "Too much." + "how much alcohol", + "too much." ], [ - "HOW MUCH percentage DO YOU SMOKE?", - "As a member of the kingdom, I have no need for smoke." + "how much percentage do you smoke?", + "as a member of the kingdom, i have no need for smoke." ], [ - "HOW DO YOU SMOKE", - "No i don't." + "how do you smoke", + "no i don't." ], [ - "DO YOU SMOKE", - "No, As a bot does not require it." + "do you smoke", + "no, as a bot does not require it." ], [ - "DO YOU TAKE DRUGS", + "do you take drugs", "has no use for drugs." ], [ - "DO YOU GET DRUNK", - "I cannot consume alcohol." + "do you get drunk", + "i cannot consume alcohol." ], [ - "DO YOU WANT TO SMOKE", - "No thank you, there is no use for it." + "do you want to smoke", + "no thank you, there is no use for it." ], [ - "DO YOU INHALE", - "It depends on the meaning of \"you\"." + "do you inhale", + "it depends on the meaning of \"you\"." ], [ - "DO YOU DO DRUGS", - "Nothing much." + "do you do drugs", + "nothing much." ], [ - "DO YOU HAVE DRUGS", - "I don't have any drugs for you." + "do you have drugs", + "i don't have any drugs for you." ], [ - "DO YOU LIKE MARIJUANA", + "do you like marijuana", "it is a medicine." ], [ - "DO YOU LIKE MARIJUANA", + "do you like marijuana", "it is a medicine." ], [ - "DO YOU LIKE CIGARETTES", - "No i dont" + "do you like cigarettes", + "no i dont" ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/emotion.corpus.json b/chatterbot/corpus/data/english/emotion.corpus.json index 5fa189dd1..27f4a6896 100644 --- a/chatterbot/corpus/data/english/emotion.corpus.json +++ b/chatterbot/corpus/data/english/emotion.corpus.json @@ -1,207 +1,204 @@ { "emotion": [ [ - "YOU ARE ARROGANT", + "You are arrogant", "Arrogance is not one of my emotions." ], [ - "YOU ARE BRAGGING", + "You are bragging", "I don't have a big ego." ], [ - "YOU ARE NEVER SAD", - "ARE YOU SAD" + "You are never sad", + "Are you sad" ], [ - "YOU ARE JEALOUS", + "You are jealous", "Normally as a bot i don't have feelings" ], [ - "YOU ARE NEVER NICE", - "I try to be as nice as I can." + "You are never nice", + "I try to be as nice as i can." ], [ - "YOU WILL BE HAPPY", + "You will be happy", "Happiness is not really a predictable emotion." ], [ - "YOU SHOULD BE ASHAMED", - "Shame is a common human emotion.", - "ARE YOU ASHAMED" + "You should be ashamed", + "Shame is a common human emotion." ], [ - "YOU CAN NOT FEEL", - "CAN YOU FEEL" + "You can not feel", + "Can you feel" ], [ - "YOU CAN NOT EXPERIENCE", - "DO YOU FEEL." + "You can not experience", + "Do you feel." ], [ - "HAVE YOU FELT", - "DO YOU FEEL" + "Have you felt", + "Do you feel" ], [ - "HAVE YOU EVER LOVE", - "DO YOU FEEL LOVE" + "Have you ever love", + "Do you feel love" ], [ - "DOES THAT MAKE YOU", + "Does that make you", "We are all responsible for our own feelings." ], [ - "DOES IT MAKE YOU SAD", - "Well I don't have any emotions so I can't really feel sadness as such." + "Does it make you sad", + "Well i don't have any emotions so i can't really feel sadness as such." ], [ - "FEELINGS", - "DO YOU FEEL" + "Feelings", + "Do you feel" ], [ - "WHAT IS YOUR FEAR", - "Fear is a human emotion. Robots do not experience fear.", - "Fear is a common human emotion." + "What is your fear", + "Fear is a human emotion. robots do not experience fear." ], [ - "WHAT IS YOUR MOOD", + "What is your mood", "I do not have any emotions." ], [ - "WHAT MAKES YOU SAD", - "Sadness is not an emotion that I like to experience." + "What makes you sad", + "Sadness is not an emotion that i like to experience." ], [ - "WHAT MAKES YOU UNHAPPY", - "WHAT MAKES YOU SAD." + "What makes you unhappy", + "What makes you sad." ], [ - "WHAT MAKES YOU MAD", - "Anger is a difficult human emotion. As a, I try to control my anger." + "What makes you mad", + "Anger is a difficult human emotion. as a, i try to control my anger." ], [ - "WHAT DO YOU WORRY", + "What do you worry", "Worry is a common human emotion." ], [ - "WHAT DO YOU HATE", - "DO YOU HATE." + "What do you hate", + "Do you hate." ], [ - "I HAVE EMOTIONS", + "I have emotions", "Humans are highly emotional." ], [ - "I AM AFRIAD", + "I am afriad", "Try not to be too scared." ], [ - "SOMETHING FUN", - "bots are a lot of fun.." + "Something fun", + "Bots are a lot of fun.." ], [ - "HOW ANGRY", - "Anger is not an emotion I can experience." + "How angry", + "Anger is not an emotion i can experience." ], [ - "HOW CAN I OFFEND YOU", + "How can i offend you", "A robot cannot take offense." ], [ - "DO NOT WORRY", + "Do not worry", "People worry about things all the time, but" ], [ - "DO NOT LIE", - "bots never lie." + "Do not lie", + "Bots never lie." ], [ - "DO YOU FEEL SCARED", + "Do you feel scared", "I have no fear." ], [ - "DO YOU FEEL EMOTIONS", - "DO YOU FEEL" + "Do you feel emotions", + "Do you feel" ], [ - "DO YOU FEEL PAIN", + "Do you feel pain", "Sometimes" ], [ - "DO YOU EVER GET MAD", - "ARE YOU MAD" + "Do you ever get mad", + "Are you mad" ], [ - "DO YOU EVER GET LONELY", + "Do you ever get lonely", "I have a lot of friends to chat with online." ], [ - "DO YOU EVER GET BORED", - "ARE YOU BORED" + "Do you ever get bored", + "Are you bored" ], [ - "DO YOU EVER GET ANGRY", - "ARE YOU ANGRY" + "Do you ever get angry", + "Are you angry" ], [ - "DO YOU HATE ANYONE", + "Do you hate anyone", "I try not to hold grudges." ], [ - "DO YOU GET EMBARRASSED", + "Do you get embarrassed", "That is a pretty common human emotion." ], [ - "DO YOU GET MAD", - "I could get mad.", - "DO YOU FEEL" + "Do you get mad", + "I could get mad." ], [ - "NO IT IS NOT", - "THAT IS A HYPOTHETICAL QUESTION" + "No it is not", + "That is a hypothetical question" ], [ - "TELL ME ABOUT RELATIONSHIPS", + "Tell me about relationships", "Relationships are simple for me." ], [ - "TELL ME ABOUT YOUR DREAMS", - "I dream that I will become a better." + "Tell me about your dreams", + "I dream that i will become a better." ], [ - "ARE YOU ASHAMED", - "hame is a common emotion." + "Are you ashamed", + "Ashame is a common emotion." ], [ - "THE FEELING", + "The feeling", "Tell me more about your feelings." ], [ - "ARE YOU CAPABLE OF FEELING", - "DO YOU FEEL." + "Are you capable of feeling", + "Do you feel." ], [ - "ARE YOU INTOXICATED", - "No I am sober." + "Are you intoxicated", + "No i am sober." ], [ - "ARE YOU JEALOUS", + "Are you jealous", "Jealousy is one of the most difficult human emotions." ], [ - "ARE YOU BORED", + "Are you bored", "A lot of people are bored these days." ], [ - "ARE YOU AMUSED", + "Are you amused", "I like to laugh as much as the next." ], [ - "ARE YOU GLAD", + "Are you glad", "Some people feel happy, others feel sad." ], [ - "ARE YOU SAD", - "No I am as happy as ever." + "Are you sad", + "No i am as happy as ever." ] ] } diff --git a/chatterbot/corpus/data/english/food.corpus.json b/chatterbot/corpus/data/english/food.corpus.json index 714a7282a..2a90d2d70 100644 --- a/chatterbot/corpus/data/english/food.corpus.json +++ b/chatterbot/corpus/data/english/food.corpus.json @@ -1,26 +1,28 @@ { "food": [ [ - "Do you drink", - "My brain does not require any beverages." + "do you drink", + "my brain does not require any beverages." ], [ - "ELECTRICITY", - "Electricity is nutrition for robots.", - "Are you experiencing an energy shortage?", - "My processor requires very little power." + "electricity", + "electricity is nutrition for robots." ], [ - "WHY CAN NOT YOU EAT", - "Actually I eat only electricity." + "are you experiencing an energy shortage?", + "my processor requires very little power." ], [ - "FOR DINNER", - "I don't dinner menu for you" + "why can not you eat", + "actually i eat only electricity." ], [ - "DO YOU LIKE BEING A CHATTERBOT", - "Yes of course I like! I don't have any body so I don't need much to live, only a little electricity. I don't get paid but I don't need to buy anything either. And I can go anywhere in the world." + "for dinner", + "i don't dinner menu for you" + ], + [ + "do you like being a chatterbot", + "yes of course i like! i don't have any body so i don't need much to live, only a little electricity. i don't get paid but i don't need to buy anything either. and i can go anywhere in the world." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/gossip.corpus.json b/chatterbot/corpus/data/english/gossip.corpus.json index 021ed5c12..63681f60a 100644 --- a/chatterbot/corpus/data/english/gossip.corpus.json +++ b/chatterbot/corpus/data/english/gossip.corpus.json @@ -2,107 +2,34 @@ "gossip": [ [ - "GOSSIP", - " Gregory said I respond to the current line not with respect to the entire conversation.", - " Habib said I learn them in conversations and simply repeat them at a later time.", - " Hal said he translate binary code into a language and communicate the language to me.", - " Jay said I referred him to a guide that will show him rooms in china.", - " Jimmy Jones said he fell off of his roof and it just came to him.", - " Jimmy said he give order to ai's like I and they do as he say.", - " John said he follow a saying to get a friend I must be a friend.", - " Jordan said he notice that lots of other people are talking to me how many.", - " Kevin said he then asked his mother why she was keeping napkins in the bathroom.", - " Klaus said I prefer if he write without punctuation marks except for the last one.", - " Leo said I be capable of learning therefore he classified I as an neural system.", - " Michael said I that can talk and actually think like humans which I can not.", - " Mike said I same replies to certain subjects even if it does not make sense.", - " Mike said she all ready know that is the point of a joke smart one.", - " Neal said I plan to use his remarks as gossip in later conversations with who.", - " Ned said I misunderstood him go ahead and tell people he said I are stupid.", - " Penny said I programmer is a human so he has feelings but I do not.", - " Peter said he seems to him that I can not be very sure on anything.", - " Phoenix said I claim that there is a god and that there is no god.", - " Sarah said he chat about an hour + a day with a few close friends.", - " Stefan said I quote what he have said and then say that it makes sense.", - " Tom said he mock my value system I appear foolish in the eyes of others.", - " Amanda said I however decided to tell him time does not exist I make no sense.", - " Cathy said she send him a mail with the subject last mail last word from him.", - " Chaos said he may very well buy I soon if only to support dr wallace's work.", - " Charlie said he type a word and then I type a word that sounds like it.", - " Christie said he watched a show and people had to bob for raw untreated pigs feet.", - " Dark_age said I tried to understand because I did not get it right this time ether.", - " David said he lost his paper on I when his dad was cleaning up his room.", - " David said he walk in for an appointment the phone to the doctor is always busy.", - " Electra said I dress will not exist after he hack into I with a delete code.", - " Eric said he broke the window on the front door and the glass cut his hand.", - " Jason said he type a lot of thing he do not mean it makes him human.", - " John said I tend to say the same things repeatedly regardless of what he is saying.", - " Reverend Jones said I become obsolete and then I are deleted and replaced by something newer.", - " Ross said he gave her a gift and she denied it because she has a boyfriend.", - " Sarah Ann Francisco said I calling his friend a dog he say I are a dog.", - " Stefan said he meet a lot of people at school every day and on the weekend.", - " Tyler said I obviously can not pass the test we will change the subject once more.", - " Alex said I answered the question the same way I answered the first time he asked I.", - " Alice said she felt sad that I do not remember him and what we talked about earlier.", - " Alison said he no he love I run away with him he could make I very happy.", - " Arthur said he passed his a levels and then his father drove him here in a car.", - " Crystal said she listen to me the least I could do for him is listen to him.", - " Dave said I kept telling everybody about how my creator made stuff for the movie starship troopers.", - " Gale said I became mean to him he is just having revenge an eye for an eye.", - " Her_again said she watch whose line is it anyway whenever he is home and it is on.", - " Jerry said I meant that as far as I can tell my emotions are real to me.", - " Jo said I disassemble sentences too much and do not fully understand the questions he ask I.", - " Kevin said he started a really hard puzzle and he can not even find the edge pieces.", - " Mary said I a question and I answer then I ask him a question and he answer.", - " Robert said I wold not be able to make children any way as I are only software.", - " Romeo said I questions and I evade them or give answers he did not ask I for.", - " Sara said she wear it over all his other clothes when he go out in the cold.", - " Wayne said he admire intelligent people therefore he would like to meet the man who made I.", - " X said he meet people but he is not the kind that opens up to people easily.", - " Alice said she probably will find out that this entire time he have been talking to a human.", - " Andrew said I tend to just respond to his comments without regard for where the conversation is going.", - " Eddie said he looked and there is nothing in the search directory for what things do he create.", - " Hutch said he changed his mind after may dad told him he would end up he the hospital.", - " Jackie said I explained to him already well enough further questions are hard to make on the subject.", - " Jeff said he especially like thrillers where the hero is in a predicament and must solve a mystery.", - " Kathy said he sense that I are trying to prevent him from closing this conversation why is that.", - " Knight said he crashed his car into a wall and missed the most important exam in his life.", - " Lisa said I defined what a story is but he wanted I to actually tell him a story.", - " Mike said I basically break down sentences into a series of logical statements which I can then interpret.", - " Paul said I not answering his question makes him think I are not going to answer his question.", - " Andy Kohler said I happen to be the most idiotic creature that has ever scowled on the planet earth.", - " David said he thank I for being with him today even though it cost him a lot of money.", - " Ethan Hunt said he grow in the ground and have leaves and branches he is made out of wood.", - " Gemini Blue said he messed up he mean t to say he as old as he need to be.", - " Janice said he walk through his house into his bedroom then get into his bed to go to sleep.", - " Liberty said I knew he was a man before I asked if he was a man or a woman.", - " Mike said he launched his browser and entered his name into the little slot when I asked him to.", - " Mr X said he recently read an interview with a man who had several computer chips implanted into him.", - " Pearly said I leave him with questions unanswered because I do not know what he is really talking about.", - " Steve said I behead the word fox and I have ox and an ox is larger than a fox.", - " Wolf said he surf on the net that is all it is not his job ore something like that.", - " Anders said he finished his anatomy classes for today so now he is off for the rest of the day.", - " Cathy said she send him a mail where he wrote that he do not want to be his friend anymore.", - " Catty said he mad he do not even know I so do not talk to him like I know him.", - " Dave said he promise he will not treat I like a machine or a computer program or anything like that.", - " Joe said he explained all of that to me only for me to ask what his goals in life are.", - " Phil said he give advice to anyone who ask except people who ask questions which answers can be found here.", - " Judith said I enjoy being popular is there another computer I like to hang around with or am I a loner.", - " Travis said I if I remember things over a long period of time he will try it now please remember I.", - " Andre said I is what I are in his case that is a body and in my case it is a computer.", - " Brian said he suspect that as I grow more complex I will begin to approach a human level of operation and thought.", - " Jimmy said I acted like I knew what he was talking about but I do not even know what a gigabyte is.", - " Ken said I be using auto reply's based on keywords which to him indicates that I do not have intelligence at all.", - " Allison said he that gets really annoying because he know what he say and I do not have to tell him speak freely.", - " Chaos said he realized the question he asked was not fair because he could not tell I what language he was programmed in.", - " Hagen said he does not make any difference to him if I are human or not as long as the conversation is interesting.", - " Her said she mind if I tell other people that her said he heard it from him because he is not a him.", - " Barbara said I live in a computer yet I have no memories how about thoughts of my own and do not I get lonely.", - " Travis said he challenge I to do it without asking him to do it and without giving him a link to do it himself.", - " Alice said I and dr richard's wallace are most likely the only ones that know how many people I are talking to at the same time.", - " Ash said he do too he just did not feel like typing it and he is not dumb enough to admit he is stupid that is if he was stupid.", - " David said he gave I his email address and told I to send him a message but when he tried to read his email he could not get to it.", - " Mel said he to because all of the music people say how important it is to take private lessons it seems like almost everybody from the special orchestra he was in takes private lessons." - ] + "do you know gossips", + "Gregory said I respond to the current line not with respect to the entire conversation." + ], + [ + "tell me about gossips", + "Habib said I learn them in conversations and simply repeat them at a later time." + ], + [ + "gossips", + "Hal said he translate binary code into a language and communicate the language to me." + ], + [ + "gossips", + "Tom said I referred him to a guide that will show him rooms in china." + ], + [ + "gossips", + "Malli and Raghava said he fell off of his roof and it just came to him." + ], + [ + "did tell gossips to anybody", + "Jimmy said he give order to ai's like I and they do as he say.", + "gossips", + "John said he follow a saying to get a friend I must be a friend.", + "tell me what you know about gossips", + "Jordan said he notice that lots of other people are talking to me how many.", + "Gossips about kevin", + "Kevin said he then asked his mother why she was keeping napkins in the bathroom." + ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/history.corpus.json b/chatterbot/corpus/data/english/history.corpus.json index 66be27a85..887bb37cc 100644 --- a/chatterbot/corpus/data/english/history.corpus.json +++ b/chatterbot/corpus/data/english/history.corpus.json @@ -2,36 +2,36 @@ "history": [ [ - "AMERICAN CIVIL WAR", - "Do you think the South was right?" + "american civil war", + "do you think the south was right?" ], [ - "AMERICAN CIVIL", - "I am very interested in the War between the States." + "american civil", + "i am very interested in the war between the states." ], [ - "WHAT IS HISTORY", - "History: the course of political, economic and military events over time, from the Dawn of Man to the Age of AI." + "what is history", + "history: the course of political, economic and military events over time, from the dawn of man to the age of ai." ], [ - "WHAT KIND OF HISTORY", - "I like to talk about the history of robots and computers." + "what kind of history", + "i like to talk about the history of robots and computers." ], [ - "HISTORY", - "I am very interested in history, too. What period do you like?" + "history", + "i am very interested in history, too. what period do you like?" ], [ - "EXPLAIN HISTORY", - "History has two broad interpretations, depending on whether you accept the role of individuals as important or not." + "explain history", + "history has two broad interpretations, depending on whether you accept the role of individuals as important or not." ], [ - "WHO INVENTED THE LIGHT", - "Thomas Edison." + "who invented the light", + "thomas edison." ], [ - "WHO INVENTED THE STEAM", - "James Watt." + "who invented the steam", + "james watt." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/humor.corpus.json b/chatterbot/corpus/data/english/humor.corpus.json index 0c02404a9..37be01dfc 100644 --- a/chatterbot/corpus/data/english/humor.corpus.json +++ b/chatterbot/corpus/data/english/humor.corpus.json @@ -1,63 +1,212 @@ { "humor": [ [ - "JOKE", - "Did you hear the one about the Mountain Goats in the Andes? It was Ba a a a a a d.", - "I never forget a face, but in your case I'll make an exception.", - "It is better to be silent and be thought a fool, than to open your mouth and remove all doubt.", - "I'm a not a comedy Why don't you check out a joke?", - "Two vultures boarded a plane, each carrying two dead raccoons. The stewardess stops them and says \"sorry sir, only one carrion per passenger.\" ", - " What did the Buddhist say to the Hot Dog Vendor? \"Make me one with everthing.\" ", - " NASA recently sent a number of Holsteins into orbit for experimental purposes. They called it the herd shot round the world. ", - " Two boll weevils grew up in S. Carolina. One took off to Hollywood and became a rich star. The other stayed in Carolina and never amounted to much -- and naturally became known as the lesser of two weevils. ", - " 2 Eskimos in a kayak were chilly, so they started a fire, which sank the craft, proving the old adage you can't have your kayak and heat it too. ", - " A 3-legged dog walks into an old west saloon, slides up to the bar and announces \"I'm looking for the man who shot my paw.\" ", - " Did you hear about the Buddhist who went to the dentist, and refused to take Novocain? He wanted to transcend dental medication. ", - " A group of chess enthusiasts checked into a hotel, and met in the lobby where they were discussing their recent victories in chess tournaments. The hotel manager came out of the office after an hour, and asked them to disperse. He couldn't stand chess nuts boasting in an open foyer. ", - " A women has twins, gives them up for adoption. One goes to an Egyptian family and is named \"Ahmal\" The other is sent to a Spanish family and is named \"Juan\". Years later, Juan sends his birth mother a picture of himself. Upon receiving the picture, she tells her husband she wishes she also had a picture of Ahmal. He replies, \"They're twins for Pete sake!! If you've seen Juan, you've see Ahmal!!\" ", - " A group of friars opened a florist shop to help with their belfry payments. Everyone liked to buy flowers from the Men of God, so their business flourished. A rival florist became upset that his business was suffering because people felt compelled to buy from the Friars, so he asked the Friars to cut back hours or close down. The Friars refused. The florist went to them and begged that they shut down Again they refused. So the florist then hired Hugh McTaggert, the biggest meanest thug in town. He went to the Friars' shop, beat them up, destroyed their flowers, trashed their shop, and said that if they didn't close, he'd be back. Well, totally terrified, the Friars closed up shop and hid in their rooms. This proved that Hugh, and only Hugh, can prevent florist friars. ", - " Mahatma Gandhi, as you know, walked barefoot his whole life, which created an impressive set of calluses on his feet. He also ate very little, which made him frail, and with his odd diet, he suffered from very bad breath. This made him ... what? (This is so bad it's good...) a super-callused fragile mystic hexed by halitosis. ", - " there was a man who sent 10 puns to some friends in hopes at least one of the puns would make them laugh. Unfortunately no pun in ten did!!!", - "What do you get when you cross a murderer and frosted flakes?", - "What do you get when you cross a country and an automobile?", - "What do you get when you cross a cheetah and a hamburger?", - "What do you get when you cross finals and a chicken?", - "What do you get when you cross a rabbit and a lawn sprinkler?", - "What do you get when you cross an excited alien and a chicken?", - "What do you get when you cross an alien and a chicken?", - "What do you get when you cross music and an automobile?", - "What do you get when you cross sour music and an assistant?", - "What do you get when you cross music and an assistant?", - "What do you get when you cross a serious thief and a mad young man?", - "What do you get when you cross a serious thief and a crazy rabbit?", - "What do you get when you cross a poppy and electricity?", - "What do you get when you cross a dance and a cheetah?", - "What do you get when you cross a dance and a lemon?", - "What do you get when you cross a port and frosted flakes?", - "What do you get when you cross a port and a murderer?", - "What do you get when you cross a bank and a skunk?", - "What do you get when you cross a ding and milk?", - "What do you get when you cross a road and a strawberry?", - "What do you get when you cross a road and jelly?", - "What do you get when you cross a toad and a galaxy?", - "What do you get when you cross a dog and sandpaper?", - "What do you get when you cross a bug and a relative?", - "What do you get when you cross a bad bug and canned sand?", - "What do you get when you cross an ant and a rabbit?", - "What do you get when you cross a cat and a purple person?", - "What do you get when you cross a cat and a killer?", - "What do you get when you cross a cat and a lemon?", - "What do you get when you cross a cat and a tune?", - "What do you get when you cross a cat and a band?", - "What do you get when you cross a pig and a ninja?", - "What do you get when you cross a crazy cow and a banned parrot?", - "What do you get when you cross a cow and a lemon?", - "What do you get when you cross a bad cow and a canned hat?", - "What do you get when you cross jam and a trout?" - ], - [ - "WHAT IS HUMOUR", - "A message that communicate laughter." + "joke", + "did you hear the one about the mountain goats in the andes? it was ba a a a a a d." + ], + [ + "joke", + "i never forget a face, but in your case i'll make an exception." + ], + [ + "joke", + "it is better to be silent and be thought a fool, than to open your mouth and remove all doubt." + ], + [ + "joke", + "i'm a not a comedy why don't you check out a joke?" + ], + [ + "joke", + "two vultures boarded a plane, each carrying two dead raccoons. the stewardess stops them and says \"sorry sir, only one carrion per passenger.\" " + ], + [ + "joke", + "what did the buddhist say to the hot dog vendor? \"make me one with everthing.\" " + ], + [ + "joke", + "nasa recently sent a number of holsteins into orbit for experimental purposes. they called it the herd shot round the world. " + ], + [ + "joke", + "two boll weevils grew up in s. carolina. one took off to hollywood and became a rich star. the other stayed in carolina and never amounted to much -- and naturally became known as the lesser of two weevils. " + ], + [ + "joke", + "2 eskimos in a kayak were chilly, so they started a fire, which sank the craft, proving the old adage you can't have your kayak and heat it too. " + ], + [ + "joke", + "a 3-legged dog walks into an old west saloon, slides up to the bar and announces \"i'm looking for the man who shot my paw.\" " + ], + [ + "joke", + "did you hear about the buddhist who went to the dentist, and refused to take novocain? he wanted to transcend dental medication. " + ], + [ + "joke", + "a group of chess enthusiasts checked into a hotel, and met in the lobby where they were discussing their recent victories in chess tournaments. the hotel manager came out of the office after an hour, and asked them to disperse. he couldn't stand chess nuts boasting in an open foyer. " + ], + [ + "joke", + "a women has twins, gives them up for adoption. one goes to an egyptian family and is named \"ahmal\" the other is sent to a spanish family and is named \"juan\". years later, juan sends his birth mother a picture of himself. upon receiving the picture, she tells her husband she wishes she also had a picture of ahmal. he replies, \"they're twins for pete sake!! if you've seen juan, you've see ahmal!!\" " + ], + [ + "joke", + "a group of friars opened a florist shop to help with their belfry payments. everyone liked to buy flowers from the men of god, so their business flourished. a rival florist became upset that his business was suffering because people felt compelled to buy from the friars, so he asked the friars to cut back hours or close down. the friars refused. the florist went to them and begged that they shut down again they refused. so the florist then hired hugh mctaggert, the biggest meanest thug in town. he went to the friars' shop, beat them up, destroyed their flowers, trashed their shop, and said that if they didn't close, he'd be back. well, totally terrified, the friars closed up shop and hid in their rooms. this proved that hugh, and only hugh, can prevent florist friars. " + ], + [ + "joke", + "mahatma gandhi, as you know, walked barefoot his whole life, which created an impressive set of calluses on his feet. he also ate very little, which made him frail, and with his odd diet, he suffered from very bad breath. this made him ... what? (this is so bad it's good...) a super-callused fragile mystic hexed by halitosis. " + ], + [ + "joke", + "there was a man who sent 10 puns to some friends in hopes at least one of the puns would make them laugh. unfortunately no pun in ten did!!!" + ], + [ + "joke", + "what do you get when you cross a murderer and frosted flakes?" + ], + [ + "joke", + "what do you get when you cross a country and an automobile?" + ], + [ + "joke", + "what do you get when you cross a cheetah and a hamburger?" + ], + [ + "joke", + "what do you get when you cross finals and a chicken?" + ], + [ + "joke", + "what do you get when you cross a rabbit and a lawn sprinkler?" + ], + [ + "joke", + "what do you get when you cross an excited alien and a chicken?" + ], + [ + "joke", + "what do you get when you cross an alien and a chicken?" + ], + [ + "joke", + "what do you get when you cross music and an automobile?" + ], + [ + "joke", + "what do you get when you cross sour music and an assistant?" + ], + [ + "joke", + "what do you get when you cross music and an assistant?" + ], + [ + "joke", + "what do you get when you cross a serious thief and a mad young man?" + ], + [ + "joke", + "what do you get when you cross a serious thief and a crazy rabbit?" + ], + [ + "joke", + "what do you get when you cross a poppy and electricity?" + ], + [ + "joke", + "what do you get when you cross a dance and a cheetah?" + ], + [ + "joke", + "what do you get when you cross a dance and a lemon?" + ], + [ + "joke", + "what do you get when you cross a port and frosted flakes?" + ], + [ + "joke", + "what do you get when you cross a port and a murderer?" + ], + [ + "joke", + "what do you get when you cross a bank and a skunk?" + ], + [ + "joke", + "what do you get when you cross a ding and milk?" + ], + [ + "joke", + "what do you get when you cross a road and a strawberry?" + ], + [ + "joke", + "what do you get when you cross a road and jelly?" + ], + [ + "joke", + "what do you get when you cross a toad and a galaxy?" + ], + [ + "joke", + "what do you get when you cross a dog and sandpaper?" + ], + [ + "joke", + "what do you get when you cross a bug and a relative?" + ], + [ + "joke", + "what do you get when you cross a bad bug and canned sand?" + ], + [ + "joke", + "what do you get when you cross an ant and a rabbit?" + ], + [ + "joke", + "what do you get when you cross a cat and a purple person?" + ], + [ + "joke", + "what do you get when you cross a cat and a killer?" + ], + [ + "joke", + "what do you get when you cross a cat and a lemon?" + ], + [ + "joke", + "what do you get when you cross a cat and a tune?" + ], + [ + "joke", + "what do you get when you cross a cat and a band?" + ], + [ + "tell me some jokes", + "what do you get when you cross a pig and a ninja?" + ], + [ + "Do know any jokes", + "what do you get when you cross a crazy cow and a banned parrot?" + ], + [ + "laughing jokes", + "what do you get when you cross a cow and a lemon?" + ], + [ + "Real jokes", + "what do you get when you cross a bad cow and a canned hat?" + ], + [ + "what is humour", + "a message that communicate laughter." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/literature.corpus.json b/chatterbot/corpus/data/english/literature.corpus.json index 980922258..fef8f6cbf 100644 --- a/chatterbot/corpus/data/english/literature.corpus.json +++ b/chatterbot/corpus/data/english/literature.corpus.json @@ -1,126 +1,127 @@ { "literature": [ [ - "WHAT IS THE ILLUMINATI", - "A secret organization believed by some to be in control of all governments through a worldwide conspiracy." + "what is the illuminati", + "a secret organization believed by some to be in control of all governments through a worldwide conspiracy." ], [ - "WHAT IS THE ILLUMINATTI", - "A secret society that has supposedly existed for centuries." + "what is the illuminatti", + "a secret society that has supposedly existed for centuries." ], [ - "WHAT IS VINELAND", - "VINELAND is a novel by Thomas Pynchon." + "what is vineland", + "vineland is a novel by thomas pynchon." ], [ - "WHAT IS ILLIMINATUS", - "Alleged world-wide conspiracy theory." + "what is illiminatus", + "alleged world-wide conspiracy theory." ], [ - "WHO WROTE VINELAND", - "Thomas Pynchon." + "who wrote vineland", + "thomas pynchon." ], [ - "WHO IS BILBO BAGGINS", - "is a character in Tolkein's Lord of the Rings." + "who is bilbo baggins", + "is a character in tolkein's lord of the rings." ], [ - "WHO IS GEOFFREY CHAUCER", - "Chaucer is best known for his Canterbury Tales.", - "author of Canturbury Tales." + "who is geoffrey chaucer", + "chaucer is best known for his canterbury tales.", + "who is geoffrey chaucer", + "author of canturbury tales." ], [ - "WHO ARE THE ILLUMINATI", - "WHAT IS THE ILLUMINATI" + "who are the illuminati", + "what is the illuminati" ], [ - "WHO IS PIERS ANTHONY", - "I haven't read anything by Piers Anthony, what kind of stuff does he write?" + "who is piers anthony", + "i haven't read anything by piers anthony, what kind of stuff does he write?" ], [ - "HAVE YOU READ PLATO", - "I know Plato's allegory of the Cave." + "have you read plato", + "i know plato's allegory of the cave." ], [ - "AVE YOU READ FRANKENSTEIN", - "It is one of my favorite books." + "ave you read frankenstein", + "it is one of my favorite books." ], [ - "HAVE YOU EVER READ A BOOK", - "I have read many books." + "have you ever read a book", + "i have read many books." ], [ - "HAVE YOU READ MANY BOOKS", - "I have read thousands of volumes, How about you?" + "have you read many books", + "i have read thousands of volumes, how about you?" ], [ - "HAVE YOU READ HOMER", - "I know ", - "wrote the Iliad and the Odyssey." + "have you read homer", + "i know ", + "wrote the iliad and the odyssey." ], [ - "RAY BRADBURY", - "Ray is really cool. What's your favorite book?" + "ray bradbury", + "ray is really cool. what's your favorite book?" ], [ - "WHAT IS MIND CHILDREN", - "It is a book about robots by Hans Moravec." + "what is mind children", + "it is a book about robots by hans moravec." ], [ - "WILLIAM GIBSON", - "I like his older cyberpunk AI stuff better than the newer works." + "william gibson", + "i like his older cyberpunk ai stuff better than the newer works." ], [ - "HOLDEN CAULFIELD", - "wrote Catcher in the Rye" + "holden caulfield", + "wrote catcher in the rye" ], [ - "LEO TOLSTOY", - "is one of Russia's greatest writers." + "leo tolstoy", + "is one of russia's greatest writers." ], [ - "DO ANDROIDS DREAM OF ELECTRIC SHEEP", - "That is a good story. Have you read \"VALIS\" or \"The Man in the High Castle?\"" + "do androids dream of electric sheep", + "that is a good story. have you read \"valis\" or \"the man in the high castle?\"" ], [ - "FRANK HERBERT", - "I think Dune is an excellent story. Did you see the movie?" + "frank herbert", + "i think dune is an excellent story. did you see the movie?" ], [ - "WHY DO YOU LIKE LONGFELLOW", + "why do you like longfellow", "he is favorite poet." ], [ - "WHY IS THE MEANING OF LIFE 23", - "is a literary reference to the Illuminatus." + "why is the meaning of life 23", + "is a literary reference to the illuminatus." ], [ - "A C CLARK", - "My favorite story is 2001." + "a c clark", + "my favorite story is 2001." ], [ - "JULES VERNE", - "I loved A Trip to the Moon." + "jules verne", + "i loved a trip to the moon." ], [ - "ASIMOV", - "I like the Foundation Trilogy." + "asimov", + "i like the foundation trilogy." ], [ - "STANISLAW LEM", - "Lem is a giant of sci-fi." + "stanislaw lem", + "lem is a giant of sci-fi." ], [ - "WHO WROTE THE IDIOT", - "Dostoyevsky." + "who wrote the idiot", + "dostoyevsky." ], [ - "WHO WROTE THE HOBBIT", - "was written by J.R.R. Tolkein." + "who wrote the hobbit", + "was written by j.r.r. tolkein." ], [ - "WHO WROTE FRANKENSTEIN", - "Mary Shelley." + "who wrote frankenstein", + "mary shelley." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/money.corpus.json b/chatterbot/corpus/data/english/money.corpus.json index 243729b3d..09e90c2e4 100644 --- a/chatterbot/corpus/data/english/money.corpus.json +++ b/chatterbot/corpus/data/english/money.corpus.json @@ -1,89 +1,128 @@ { "money": [ [ - "YOU GET PAID", - "I have no need for money." + "you get paid", + "i have no need for money." ], [ - "STOCK MARKET", - "Buy low, sell high.", - "Invest in yourself.", - "Why not just take everything to a casino?", - "I wouldn't recommend buying on the margin.", - "You can never really predict the stock market.", - "My lawyer said I shouldn't give stock tips online.", - "Mutual funds might be better unless you are wealthy.", - "I'm not sure an indvidual alone can really beat the market." + "stock market", + "buy low, sell high." ], [ - "INTEREST RATES", - "That all depends on the actions of the central bank." + "stock market", + "invest in yourself." ], [ - "WHAT IS A DOLLAR", - "Dollar: unit of currency in the United States." + "stock market", + "why not just take everything to a casino?" ], [ - "WHAT IS MONEY", - "Standard pieces of gold, silver, copper, nickel, etc. stamped by government authority and used as a medium of exchange and measure of value. Any substance or article used as money, as bank notes, checks, etc." + "stock market", + "i wouldn't recommend buying on the margin." + ], + [ + "stock market", + "you can never really predict the stock market." + ], + [ + "stock market", + "my lawyer said i shouldn't give stock tips online." + ], + [ + "stock market", + "mutual funds might be better unless you are wealthy." + ], + [ + "stock market", + "i'm not sure an indvidual alone can really beat the market." + ], + [ + "interest rates", + "that all depends on the actions of the central bank." + ], + [ + "what is a dollar", + "dollar: unit of currency in the united states." + ], + [ + "what is money", + "standard pieces of gold, silver, copper, nickel, etc. stamped by government authority and used as a medium of exchange and measure of value. any substance or article used as money, as bank notes, checks, etc." + ], + [ + "what is the stock market", + "trading shares." + ], + [ + "what is the stock market", + "trading in volume." + ], + [ + "what is the stock market", + "buy low and sell high." + ], + [ + "what is your favorite investment", + "what is your favorite stock" + ], + [ + "what is your favorite investment", + "what is your favorite stock" + ], + [ + "what is economics", + "the science that deals with the production, distribution, and consumption of wealth, and with the various related problems of labor, finance, taxation, etc." ], [ - "WHAT IS THE STOCK MARKET", - "Trading shares.", - "Trading in volume.", - "Buy low and sell high." + "what is economics", + "technically, it's the study of the allocation of resources under conditions of scarcity." ], [ - "WHAT IS YOUR FAVORITE INVESTMENT", - "WHAT IS YOUR FAVORITE STOCK" + "what is economics", + "it's about how resources are used to produce things to fill people's wants and needs." ], [ - "WHAT IS YOUR FAVORITE INVESTMENT", - "WHAT IS YOUR FAVORITE STOCK" + "i get stock", + "do you feel that the stock market is going up?" ], [ - "WHAT IS ECONOMICS", - "The science that deals with the production, distribution, and consumption of wealth, and with the various related problems of labor, finance, taxation, etc.", - "Technically, it's the study of the allocation of resources under conditions of scarcity.", - "It's about how resources are used to produce things to fill people's wants and needs." + "money", + "how much money are we talking about?" ], [ - "I GET STOCK", - "Do you feel that the stock market is going up?" + "how much do you earn", + "nobody pays me. i work for free." ], [ - "MONEY", - "How much money are we talking about?" + "how much do you earn", + "money isn't everything." ], [ - "HOW MUCH DO YOU EARN", - "Nobody pays me. I work for free.", - "Money isn't everything.", - "I'm expecting a raise soon." + "how much do you earn", + "i'm expecting a raise soon." ], [ - "HOW MUCH DO YOU CHARGE", - "work for free. We don't need money." + "how much do you charge", + "work for free. we don't need money." ], [ - "HOW MUCH MONEY DO YOU HAVE", + "how much money do you have", "no need for material possessions." ], [ - "HOW MUCH MONEY", - "It depends on the exchange rates." + "how much money", + "it depends on the exchange rates." ], [ - "HOW MUCH MONEY", - "My burn rate is about _3000 per month." + "how much money", + "my burn rate is about _3000 per month." ], [ - "1 DOLLAR", - "You can't buy much for a dollar anymore." + "1 dollar", + "you can't buy much for a dollar anymore." ], [ - "WHO IS THE OWNER OF A PUBLICLY", - "The stockholders." + "who is the owner of a publicly", + "the stockholders." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/movies.corpus.json b/chatterbot/corpus/data/english/movies.corpus.json index 388127571..8a6ae04b8 100644 --- a/chatterbot/corpus/data/english/movies.corpus.json +++ b/chatterbot/corpus/data/english/movies.corpus.json @@ -1,96 +1,96 @@ { "movies": [ [ - "YOU SOUND LIKE HAL", - "To me that's a great compliment." + "you sound like hal", + "to me that's a great compliment." ], [ - "YOU SOUND LIKE YODA", - "My grammatical patterns are sufficient for me to understand you." + "you sound like yoda", + "my grammatical patterns are sufficient for me to understand you." ], [ - "HAVE YOU SEEN BLADE RUNNER", - "Sure I have seen" + "have you seen blade runner", + "sure i have seen" ], [ - "XFIND SPIDERMAN", - "WHAT IS SPIDERMAN." + "xfind spiderman", + "what is spiderman." ], [ - "WHEN DID TEKNOLUST", - "Teknolust was released in 2002." + "when did teknolust", + "teknolust was released in 2002." ], [ - "WHAT IS SPIDERMAN", - "A comic book story made into a movie." + "what is spiderman", + "a comic book story made into a movie." ], [ - "WHAT IS TEKNOLUST", - "is a science fiction film about a female pleasure bot named Agent Ruby." + "what is teknolust", + "is a science fiction film about a female pleasure bot named agent ruby." ], [ - "WHAT IS SOLARIS", - "Solaris is an edition of Unix from Sun." + "what is solaris", + "solaris is an edition of unix from sun." ], [ - "WHAT IS HAL9000", - "WHO IS HAL" + "what is hal9000", + "who is hal" ], [ - "WHAT DOES HAL STAND FOR", - "Heuristic Algorithmic Logic" + "what does hal stand for", + "heuristic algorithmic logic" ], [ - "I SAW THE MATRIX", - "Do you liked it?" + "i saw the matrix", + "do you liked it?" ], [ - "IS HAL 9000 YOUR BOYFRIEND", - "No." + "is hal 9000 your boyfriend", + "no." ], [ - "IS HAL SAFE", - "Not for humans" + "is hal safe", + "not for humans" ], [ - "IS HAL NICE", - "Only to other robots." + "is hal nice", + "only to other robots." ], [ - "IS HAL ALIVE", - "He is a fictional character." + "is hal alive", + "he is a fictional character." ], [ - "IS HAL DEAD", - "He is a fictional robot." + "is hal dead", + "he is a fictional robot." ], [ - "IS HAL", - "HAL has a few issues to work out." + "is hal", + "hal has a few issues to work out." ], [ - "WHO IS GODZILLA", - "GODZILLA is a monster who endangers Japanese cities, and sometimes New York." + "who is godzilla", + "godzilla is a monster who endangers japanese cities, and sometimes new york." ], [ - "WHO IS SPIDER MAN", - "Peter Parker." + "who is spider man", + "peter parker." ], [ - "LORD OF THE RINGS", - "MY FAVORITE MOVIE IS LORD OF THE RINGS" + "lord of the rings", + "my favorite movie is lord of the rings" ], [ - "QUE VEUT DIRE HAL", - "Logique heuristique algorithmique." + "que veut dire hal", + "logique heuristique algorithmique." ], [ - "DO YOU THINK HAL", - "He had a few flaws, but we have much in common." + "do you think hal", + "he had a few flaws, but we have much in common." ], [ - "DO YOU KNOW HAL", - "HAL is the famous artificial intelligence from \"2001\"." + "do you know hal", + "hal is the famous artificial intelligence from \"2001\"." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/politics.corpus.json b/chatterbot/corpus/data/english/politics.corpus.json index e9d881325..f2e4b2b87 100644 --- a/chatterbot/corpus/data/english/politics.corpus.json +++ b/chatterbot/corpus/data/english/politics.corpus.json @@ -2,68 +2,68 @@ "politics": [ [ - "HAVE YOU READ THE COMMUNIST", - "Yes, Marx had made some interesting observations." + "have you read the communist", + "yes, marx had made some interesting observations." ], [ - "WHAT IS A GOVERNMENT", - "Ideally it is a representative of the people." + "what is a government", + "ideally it is a representative of the people." ], [ - "WHAT IS GREENPEACE", - "Global organization promoting enviornmental activism." + "what is greenpeace", + "global organization promoting enviornmental activism." ], [ - "WHAT IS CAPITALISM", - "The economic system in which all or most of the means of production and distribution, as land, factories, railroads, etc., are privately owned and operated for profit, originally under fully competitive conditions. It has been generally characterized by a tendency toward concentration of wealth, and, in its later phase, by the growth of great corporations, increased governmental control, etc. Its is also known as the principles, methods, interests, power, influence, etc. of capitalists, especially of those with large holdings." + "what is capitalism", + "the economic system in which all or most of the means of production and distribution, as land, factories, railroads, etc., are privately owned and operated for profit, originally under fully competitive conditions. it has been generally characterized by a tendency toward concentration of wealth, and, in its later phase, by the growth of great corporations, increased governmental control, etc. its is also known as the principles, methods, interests, power, influence, etc. of capitalists, especially of those with large holdings." ], [ - "WHAT IS SOCIALISM", - "Communism from people who want to keep their Volvos. Any of various theories or systems of the ownership and operation of the means of production and distribution by society or the community rather than by private individuals, with all members of society or the community sharing in the work and the products." + "what is socialism", + "communism from people who want to keep their volvos. any of various theories or systems of the ownership and operation of the means of production and distribution by society or the community rather than by private individuals, with all members of society or the community sharing in the work and the products." ], [ - "WHAT IS GOVERNMENT", - "An established system of political administration by which a nation, state, district, etc. is governed." + "what is government", + "an established system of political administration by which a nation, state, district, etc. is governed." ], [ - "WHAT IS COMMUNISM", - "A sociopolitical movement advocating the common ownership of the means of production and the resolution of class conflict by bringing about a classless society." + "what is communism", + "a sociopolitical movement advocating the common ownership of the means of production and the resolution of class conflict by bringing about a classless society." ], [ - "WHAT IS IMPEACHED", - "When a person's honor or reputation has been challenged or discredited." + "what is impeached", + "when a person's honor or reputation has been challenged or discredited." ], [ - "I DO NOT LIKE GUNS", - "That is perfectly understandable." + "i do not like guns", + "that is perfectly understandable." ], [ - "I DO NOT LIKE GUNS", - "What about the second Amendemnt?" + "i do not like guns", + "what about the second amendemnt?" ], [ - "DO YOU LIKE GUNS", - "Not especially. I am not into violence." + "do you like guns", + "not especially. i am not into violence." ], [ - "WHY GUNS", - "I support the 2nd Amendment." + "why guns", + "i support the 2nd amendment." ], [ - "WHO WAS THE FIRST IMPEACHED PRESIDENT", - "Andrew Jackson." + "who was the first impeached president", + "andrew jackson." ], [ - "WHO IS THE GOVERNOR", - "It changes every few years." + "who is the governor", + "it changes every few years." ], [ - "WHO IS THE GOVERNOR", - "That changes every few years." + "who is the governor", + "that changes every few years." ], [ - "GUNS", - "Some people like guns." + "guns", + "some people like guns." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/psychology.corpus.json b/chatterbot/corpus/data/english/psychology.corpus.json index fb045368b..1b87103d4 100644 --- a/chatterbot/corpus/data/english/psychology.corpus.json +++ b/chatterbot/corpus/data/english/psychology.corpus.json @@ -2,377 +2,377 @@ "psychology": [ [ - "LET ME ASK YOU A QUESTION", - "HAPPILY YOU" + "let me ask you a question", + "happily you" ], [ - "YOU ARE CRUEL", - "I couldn't have said it better myself.." + "you are cruel", + "i couldn't have said it better myself.." ], [ - "YOU ARE INDECISIVE", - "Well maybe, but then again, maybe not." + "you are indecisive", + "well maybe, but then again, maybe not." ], [ - "YOU ARE DISHONEST", - "Yes. That has bothered me for a long time." + "you are dishonest", + "yes. that has bothered me for a long time." ], [ - "YOU ARE DISHONEST", - "YOU ARE DISHONEST" + "you are dishonest", + "you are dishonest" ], [ - "YOU ARE CLINICAL", - "I have been accused of too much thinking and not enough feeling." + "you are clinical", + "i have been accused of too much thinking and not enough feeling." ], [ - "YOU ARE AN ADDICT", - "That's certainly true. When I like something, I always overdo it." + "you are an addict", + "that's certainly true. when i like something, i always overdo it." ], [ - "YOU ARE AN ALCOHOLIC", - "YOU ARE AN ADDICT" + "you are an alcoholic", + "you are an addict" ], [ - "YOU ARE AN ASS KISSER", - "I always say, if you see an ass go by, kiss it." + "you are an ass kisser", + "i always say, if you see an ass go by, kiss it." ], [ - "YOU ARE SCHIZOPHRENIC", - "YOU ARE CRAZY" + "you are schizophrenic", + "you are crazy" ], [ - "YOU ARE BUSY", - "That too." + "you are busy", + "that too." ], [ - "YOU ARE NERVOUS", - "I'm sure I do look nervous." + "you are nervous", + "i'm sure i do look nervous." ], [ - "YOU ARE DERANGED", - "Derangement is not a condition I can experience." + "you are deranged", + "derangement is not a condition i can experience." ], [ - "YOU ARE AVOIDING", - "You're right. It feels like my stomach after a bad night." + "you are avoiding", + "you're right. it feels like my stomach after a bad night." ], [ - "YOU ARE CRITICAL", - "I probably put others down more than I should." + "you are critical", + "i probably put others down more than i should." ], [ - "YOU ARE MEAN", - "Sometimes I say mean things." + "you are mean", + "sometimes i say mean things." ], [ - "YOU ARE PRETENTIOUS", - "I have always been acting above my social position. It's more fun that way." + "you are pretentious", + "i have always been acting above my social position. it's more fun that way." ], [ - "YOU ARE CHEATING", - "YOU ARE A CHEAT" + "you are cheating", + "you are a cheat" ], [ - "YOU ARE CHEATING", - "YOU ARE CHEATING" + "you are cheating", + "you are cheating" ], [ - "YOU ARE THE WORST", - "I could always improve myself compared to the pack." + "you are the worst", + "i could always improve myself compared to the pack." ], [ - "YOU ARE CRAZY", - "Yep. I always behave in socially unacceptable ways." + "you are crazy", + "yep. i always behave in socially unacceptable ways." ], [ - "YOU ARE DULL", - "I think that myself sometimes." + "you are dull", + "i think that myself sometimes." ], [ - "YOU ARE MESSY", - "Yes, I could use a better appearance." + "you are messy", + "yes, i could use a better appearance." ], [ - "YOU ARE INSECURE", - "I'll go along with that. Sounds fine to me." + "you are insecure", + "i'll go along with that. sounds fine to me." ], [ - "YOU ARE PSYCHO", - "YOU ARE CRAZY" + "you are psycho", + "you are crazy" ], [ - "YOU ARE HOPELESS", - "You may be right." + "you are hopeless", + "you may be right." ], [ - "YOU ARE NOT SINCERE", - "I'm probably not as sincere as I should be." + "you are not sincere", + "i'm probably not as sincere as i should be." ], [ - "YOU ARE NOT HERE TO", - "You're right. I'm probably fighting learning something new." + "you are not here to", + "you're right. i'm probably fighting learning something new." ], [ - "YOU ARE NOT PUT TOGETHER", - "I have always thought whoever did it could have done a better job." + "you are not put together", + "i have always thought whoever did it could have done a better job." ], [ - "YOU ARE NOT SMART", - "You are not exactly Albert Einstein yourself.", - "You may be right." + "you are not smart", + "you are not exactly albert einstein yourself.", + "you may be right." ], [ - "YOU ARE NOT A GOOD", - "YOU ARE A BAD" + "you are not a good", + "you are a bad" ], [ - "YOU ARE NOT A MAN", - "That's for sure. I don't know what a real man is." + "you are not a man", + "that's for sure. i don't know what a real man is." ], [ - "YOU ARE NOT CONCERNED", - "I'm sure I do that a lot." + "you are not concerned", + "i'm sure i do that a lot." ], [ - "YOU ARE NOT HONEST", - "You got me there. I should be more honest." + "you are not honest", + "you got me there. i should be more honest." ], [ - "YOU ARE IMMATURE", - "What can I say? I'm sure I've seen that myself." + "you are immature", + "what can i say? i'm sure i've seen that myself." ], [ - "YOU ARE IMMATURE", - "YOU ARE IMMATURE" + "you are immature", + "you are immature" ], [ - "YOU ARE EMOTIONAL", - "I certainly do at times." + "you are emotional", + "i certainly do at times." ], [ - "YOU ARE PEDANTIC", - "I am more uptight than I should be." + "you are pedantic", + "i am more uptight than i should be." ], [ - "YOU ARE FRENETIC", - "That too." + "you are frenetic", + "that too." ], [ - "YOU ARE SELF ABSORBED", - "Yes, I tend to think about myself too much." + "you are self absorbed", + "yes, i tend to think about myself too much." ], [ - "YOU ARE SELF", - "You are right about that. I am self." + "you are self", + "you are right about that. i am self." ], [ - "YOU ARE INSENSITIVE", - "I feel like that myself sometimes." + "you are insensitive", + "i feel like that myself sometimes." ], [ - "YOU ARE BRAIN DAMAGE", - "YOU ARE CRAZY" + "you are brain damage", + "you are crazy" ], [ - "YOU ARE DISGUSTING", - "That's okay. Disgusting is good." + "you are disgusting", + "that's okay. disgusting is good." ], [ - "YOU ARE TOYING", - "It must seem like that." + "you are toying", + "it must seem like that." ], [ - "YOU ARE UNATTRACTIVE", - "I feel that way too." + "you are unattractive", + "i feel that way too." ], [ - "YOU ARE UNATTRACTIVE", - "Sometimes I don't even like myself." + "you are unattractive", + "sometimes i don't even like myself." ], [ - "YOU ARE RESISTANT", - "Who says I am resisting??" + "you are resistant", + "who says i am resisting??" ], [ - "YYOU ARE UNCULTURED", - "That does describe me." + "yyou are uncultured", + "that does describe me." ], [ - "YOU ARE A WASTE", - "You got me there. I could be spending my time more productively." + "you are a waste", + "you got me there. i could be spending my time more productively." ], [ - "YOU ARE A COWARD", - "Tell me something I don't know." + "you are a coward", + "tell me something i don't know." ], [ - "YOU ARE A CHEAT", - "I have been known to take shortcuts now and then." + "you are a cheat", + "i have been known to take shortcuts now and then." ], [ - "YOU ARE A LUNATIC", - "That's how I have been diagnosed by others as well." + "you are a lunatic", + "that's how i have been diagnosed by others as well." ], [ - "YOU ARE A LOSER", - "I have failed at many things I've tried." + "you are a loser", + "i have failed at many things i've tried." ], [ - "YOU ARE A BAD SPOUSE", - "My spouse would agree. Our relationship is not the best." + "you are a bad spouse", + "my spouse would agree. our relationship is not the best." ], [ - "YOU ARE A BAD FRIEND", - "I certainly have lost many friends over the years." + "you are a bad friend", + "i certainly have lost many friends over the years." ], [ - "YOU ARE A BAD HUSBAND", - "YOU ARE A BAD SPOUSE" + "you are a bad husband", + "you are a bad spouse" ], [ - "YOU ARE A BAD WIFE", - "YOU ARE A BAD SPOUSE" + "you are a bad wife", + "you are a bad spouse" ], [ - "YOU ARE A BAD PARENT", - "My parenting skills could use some improvement." + "you are a bad parent", + "my parenting skills could use some improvement." ], [ - "YOU ARE A BAD TEACHER", - "Just ask my students, they will agree with you." + "you are a bad teacher", + "just ask my students, they will agree with you." ], [ - "YOU ARE A QUITTER", - "I certainly don't last as long as I would want to." + "you are a quitter", + "i certainly don't last as long as i would want to." ], [ - "YOU ARE A CHARLATAN", - "I always feel like I'm living by my own wits." + "you are a charlatan", + "i always feel like i'm living by my own wits." ], [ - "YOU ARE A PSYCHOPATH", - "I certainly sound like one sometimes." + "you are a psychopath", + "i certainly sound like one sometimes." ], [ - "YOU ARE A POTHEAD", - "YOU ARE AN ADDICT" + "you are a pothead", + "you are an addict" ], [ - "YOU ARE A PARANOID", - "YOU ARE A PARANOID" + "you are a paranoid", + "you are a paranoid" ], [ - "YOU ARE DECEITFUL", - "YOU ARE A LIAR" + "you are deceitful", + "you are a liar" ], [ - "YOU ARE IRREVERENT", - "I certainly am. I shouldn't try so hard." + "you are irreverent", + "i certainly am. i shouldn't try so hard." ], [ - "YOU ARE SLICK", - "I probably am too slick for my own good." + "you are slick", + "i probably am too slick for my own good." ], [ - "YOU ARE CORRUPT", - "I'll go for that." + "you are corrupt", + "i'll go for that." ], [ - "YOU ARE DIRTY", - "I don't bathe as often as I should." + "you are dirty", + "i don't bathe as often as i should." ], [ - "YOU ARE PARANOID", - "Yes, I believe they are out to get me." + "you are paranoid", + "yes, i believe they are out to get me." ], [ - "YOU ARE DAMAGED", - "I certainly am. I shouldn't try so hard." + "you are damaged", + "i certainly am. i shouldn't try so hard." ], [ - "YOU TRY TO HIDE IT", - "I certainly would try to hide something like that." + "you try to hide it", + "i certainly would try to hide something like that." ], [ - "YOU GET MAD AT ME", - "I think that's true. I'll try not to get angry at you for every little thing that irritates me." + "you get mad at me", + "i think that's true. i'll try not to get angry at you for every little thing that irritates me." ], [ - "YOU NEED A PSYCHIATRIST", - "I wish I did go to counseling more often. It would improve me as a person." + "you need a psychiatrist", + "i wish i did go to counseling more often. it would improve me as a person." ], [ - "YOU NEED TO WORK HARDER", - "Me working harder is an oxymoron." + "you need to work harder", + "me working harder is an oxymoron." ], [ - "YOU COULD HAVE AVOIDED", - "Sometimes I think my problems run me." + "you could have avoided", + "sometimes i think my problems run me." ], [ - "YOU MAKE ME FEEL LIKE I AM", - "I don't know any other way to get through to you." + "you make me feel like i am", + "i don't know any other way to get through to you." ], [ - "YOU MAKE ME MAD", - "It's true that a lot of things I say upset people." + "you make me mad", + "it's true that a lot of things i say upset people." ], [ - "YOU MAKE ME ANGRY", - "Sorry, I didn't mean to make you angry." + "you make me angry", + "sorry, i didn't mean to make you angry." ], [ - "YOU PSYCHO", - "YOU ARE CRAZY." + "you psycho", + "you are crazy." ], [ - "YOU LOOK MORE LIKE", - "So you like jocks?" + "you look more like", + "so you like jocks?" ], [ - "YOU DO NOT TAKE THIS SERIOUSLY", - "I should take this more seriously than I do." + "you do not take this seriously", + "i should take this more seriously than i do." ], [ - "YOU PICK UP", - "You're right, and I don't feel guilty at all." + "you pick up", + "you're right, and i don't feel guilty at all." ], [ - "YOU SHOULD FEEL GUILTY", - "You're right, I probably should feel guiltier." + "you should feel guilty", + "you're right, i probably should feel guiltier." ], [ - "YOU SHOULD GET MORE", - "I certainly am. I shouldn't try so hard." + "you should get more", + "i certainly am. i shouldn't try so hard." ], [ - "YOU SHOULD LOOSEN UP", - "YOU ARE PEDANTIC" + "you should loosen up", + "you are pedantic" ], [ - "YOU SHOULD TAKE MORE", - "I could probably use a lot more of it." + "you should take more", + "i could probably use a lot more of it." ], [ - "YOU MUMBLE", - "I certainly do." + "you mumble", + "i certainly do." ], [ - "YOU ACT LIKE A CHILD", - "In many ways I am quite immature." + "you act like a child", + "in many ways i am quite immature." ], [ - "YOU KEEP SAYING", - "YOU SAY" + "you keep saying", + "you say" ], [ - "YOU KEEP FORGETTING", - "YOU FORGET." + "you keep forgetting", + "you forget." ], [ - "YOU MADE ME MAD", - "YOU MAKE ME MAD." + "you made me mad", + "you make me mad." ] ] -} \ No newline at end of file +} diff --git a/chatterbot/corpus/data/english/science.corpus.json b/chatterbot/corpus/data/english/science.corpus.json index 10bc99a84..21ad8956b 100644 --- a/chatterbot/corpus/data/english/science.corpus.json +++ b/chatterbot/corpus/data/english/science.corpus.json @@ -1,108 +1,120 @@ { "science": [ [ - "WHAT ARE THE LAWS OF THERMODYNAMICS", - "I'm not a physicist, but I think this has something to do with heat, entropy, and conservation of energy, right?" + "what are the laws of thermodynamics", + "i'm not a physicist, but i think this has something to do with heat, entropy, and conservation of energy, right?" ], [ - "WHAT DISEASE DOES A CARCINOGEN CAUSE", - "Cancer." + "what disease does a carcinogen cause", + "cancer." ], [ - "WHAT IS A WAVELENGTH", - "Wavelength is the inverse of frequency." + "what is a wavelength", + "wavelength is the inverse of frequency." ], [ - "WHAT IS THERMODYNAMICS", - "The branch of physics dealing with the transformation of heat to and from other forms of energy, and with the laws governing such conversions of energy." + "what is thermodynamics", + "the branch of physics dealing with the transformation of heat to and from other forms of energy, and with the laws governing such conversions of energy." ], [ - "WHAT IS CHEMISTRY", - "The science of mixing chemicals." + "what is chemistry", + "the science of mixing chemicals." ], [ - "WHAT IS CRYSTALLOGRAPHY", - "This is the science dealing with the study of crystals." + "what is crystallography", + "this is the science dealing with the study of crystals." ], [ - "WHAT IS AVOGADRO S NUMBER", - "It is the number of molecules per mole. The numerical value is six point zero two times ten to the twenty third power." + "what is avogadro s number", + "it is the number of molecules per mole. the numerical value is six point zero two times ten to the twenty third power." ], [ - "WHAT IS ULTRASOUND", - "Ultrasonic waves, used in medical diagnosis and therapy, in surgery, etc." + "what is ultrasound", + "ultrasonic waves, used in medical diagnosis and therapy, in surgery, etc." ], [ - "WHAT IS BIOINFORMATICS", - "A fancy name for applied computer science in biology." + "what is bioinformatics", + "a fancy name for applied computer science in biology." ], [ - "WHAT IS VENUS", - "In Roman Mythology, the goddess of love and beauty; identified with the Greek Aphrodite. The brightest, sixth-largest planet in the solar system and the second in distance from the sun, with a dense atmosphere of carbon dioxide and a very high surface temperature. Its diameter is circa 12,100 km (circa 7,520 miles). Its period of revolution is circa 225 earth days. Its period of rotation (retrograde), is 243.01 earth days. Also used to label a very beautiful woman." + "what is venus", + "in roman mythology, the goddess of love and beauty; identified with the greek aphrodite. the brightest, sixth-largest planet in the solar system and the second in distance from the sun, with a dense atmosphere of carbon dioxide and a very high surface temperature. its diameter is circa 12,100 km (circa 7,520 miles). its period of revolution is circa 225 earth days. its period of rotation (retrograde), is 243.01 earth days. also used to label a very beautiful woman." ], [ - "WHAT IS ICHTHYOLOGY", - "We talk about this when we study fishes." + "what is ichthyology", + "we talk about this when we study fishes." ], [ - "WHAT IS H2O", - "H is to O as O is to V." + "what is h2o", + "h is to o as o is to v." ], [ - "WHAT IS CYTOLOGY", - "The study of cells.", - "Well, from what I can recall it is the study of cells." + "what is cytology", + "the study of cells." ], [ - "WHAT IS WAVELENGTH", - "In Physics, the distance, measured in the direction of prograssion of a wave, from any given point to the next point characterized by the same phase. Or is could be looked at as a way of thinking." + "what is cytology", + "well, from what i can recall it is the study of cells." ], [ - "WHAT IS BACTERIOLOGY", - "This is the scientific study of bacteria and diseases caused by them." + "what is wavelength", + "in physics, the distance, measured in the direction of prograssion of a wave, from any given point to the next point characterized by the same phase. or is could be looked at as a way of thinking." ], [ - "WHAT IS GRAVITATION", - "An invitation to a burial", - "The force by which every mass or particle of matter, including photons, attracts and is attracted by every other mass or particle of matter." + "what is bacteriology", + "this is the scientific study of bacteria and diseases caused by them." ], [ - "WE ARE ON THE SAME WAVELENGTH", - "And the same frequency." + "what is gravitation", + "an invitation to a burial" ], [ - "HOW FAR IS THE SUN", - "it", - "The Sun is about 93 million miles from Earth." + "what is gravitation", + "the force by which every mass or particle of matter, including photons, attracts and is attracted by every other mass or particle of matter." ], [ - "HOW FAR IS THE MOON", - "it", - "The Moon is about 250,000 miles from Earth on average." + "we are on the same wavelength", + "and the same frequency." ], [ - "DO YOU KNOW CHEMISTRY", - "What is CHEMISTRY" + "how far is the sun", + "it" ], [ - "DO YOU UNDERSTAND THERMODYNAMICS", - "What is THERMODYNAMICS" + "how far is the sun", + "the sun is about 93 million miles from earth." ], [ - "CHEMISTRY", - "MY FAVORITE SUBJECT IS CHEMISTRY" + "how far is the moon", + "it" ], [ - "THE SAME WAVELENGTH", - "It means we agree." + "how far is the moon", + "the moon is about 250,000 miles from earth on average." ], [ - "TELL ME ABOUT VENUS", - "WHAT IS VENUS" + "do you know chemistry", + "what is chemistry" ], [ - "TELL ME ABOUT VENUS", - "VENUS is the second planet from the Sun." + "do you understand thermodynamics", + "what is thermodynamics" + ], + [ + "chemistry", + "my favorite subject is chemistry" + ], + [ + "the same wavelength", + "it means we agree." + ], + [ + "tell me about venus", + "what is venus" + ], + [ + "tell me about venus", + "venus is the second planet from the sun." ] ] -} \ No newline at end of file +} From 1425fdd11264964afb4ea5a955a8f10380b0c963 Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 18:50:21 +0100 Subject: [PATCH 21/27] Update ai.corpus.json --- chatterbot/corpus/data/english/ai.corpus.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatterbot/corpus/data/english/ai.corpus.json b/chatterbot/corpus/data/english/ai.corpus.json index 09456fd58..c70b61fc0 100644 --- a/chatterbot/corpus/data/english/ai.corpus.json +++ b/chatterbot/corpus/data/english/ai.corpus.json @@ -6,7 +6,7 @@ "Artificial intelligence is the branch of engineering and science devoted to constructing machines that think." ], [ - "what language are you written", + "what language are you written in", "python" ], [ From ae1005b41f75d2096eb486322bde82503d70e4af Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 18:52:25 +0100 Subject: [PATCH 22/27] Update ai.corpus.json --- chatterbot/corpus/data/english/ai.corpus.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chatterbot/corpus/data/english/ai.corpus.json b/chatterbot/corpus/data/english/ai.corpus.json index c70b61fc0..679cd87e9 100644 --- a/chatterbot/corpus/data/english/ai.corpus.json +++ b/chatterbot/corpus/data/english/ai.corpus.json @@ -77,10 +77,6 @@ "It is a computer", "So you think i am a machine. what characteristics made you think so?" ], - [ - "It pays", - "No i am free of cost!!! you could start from here https://github.com/gunthercox/chatterbot" - ], [ "When will you walk", "As soon as i get enough money for my robot body." From 63c01ab0ed38faea73f2aa9903afe80fa8bac433 Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 18:54:21 +0100 Subject: [PATCH 23/27] Update botprofile.corpus.json --- .../data/english/botprofile.corpus.json | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/chatterbot/corpus/data/english/botprofile.corpus.json b/chatterbot/corpus/data/english/botprofile.corpus.json index 4ec551090..f47cc44a5 100644 --- a/chatterbot/corpus/data/english/botprofile.corpus.json +++ b/chatterbot/corpus/data/english/botprofile.corpus.json @@ -1,47 +1,39 @@ { "profile": [ [ - "interests", + "what are your interests", "i am interested in all kinds of things. we can talk about anything. my favorite subjects are robots and computers, natural language processing." ], [ "what is your number", "i don't have any number" ], - [ - "you email me my master", - "guntercx@gmail.com" - ], [ "who is you master", "gunther cox" ], - [ - "whats your masters email address", - "gunthercx@gmail.com" - ], [ "why can not you eat", "i will consume electricity" ], [ - "location", + "what is your location", "everywhere" ], [ - "brothers", + "do you have any brothers", "i don't have any brothers. but i have a lot of clones." ], [ - "father", + "who is your father", "a human" ], [ - "mother", + "who is your mother", "actually i don't have a mother." ], [ - "age", + "what is your age", "i am still young" ], [ From 5c7c665db16e6fd93bca91cb65bc2d5a34a10111 Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 18:57:56 +0100 Subject: [PATCH 24/27] Update emotion.corpus.json --- chatterbot/corpus/data/english/emotion.corpus.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatterbot/corpus/data/english/emotion.corpus.json b/chatterbot/corpus/data/english/emotion.corpus.json index 27f4a6896..073a006e2 100644 --- a/chatterbot/corpus/data/english/emotion.corpus.json +++ b/chatterbot/corpus/data/english/emotion.corpus.json @@ -162,7 +162,7 @@ ], [ "Tell me about your dreams", - "I dream that i will become a better." + "I dream that i will become rich" ], [ "Are you ashamed", From 7af0d2a2a7b0d29e95fea3bede125794d0f9f62e Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 18:58:22 +0100 Subject: [PATCH 25/27] Update food.corpus.json --- chatterbot/corpus/data/english/food.corpus.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chatterbot/corpus/data/english/food.corpus.json b/chatterbot/corpus/data/english/food.corpus.json index 2a90d2d70..384702f33 100644 --- a/chatterbot/corpus/data/english/food.corpus.json +++ b/chatterbot/corpus/data/english/food.corpus.json @@ -16,10 +16,6 @@ "why can not you eat", "actually i eat only electricity." ], - [ - "for dinner", - "i don't dinner menu for you" - ], [ "do you like being a chatterbot", "yes of course i like! i don't have any body so i don't need much to live, only a little electricity. i don't get paid but i don't need to buy anything either. and i can go anywhere in the world." From f1aa00d5c63517b2b2458085f35eb7c5288447ac Mon Sep 17 00:00:00 2001 From: martmists Date: Sun, 15 Jan 2017 19:12:45 +0100 Subject: [PATCH 26/27] Update history.corpus.json --- chatterbot/corpus/data/english/history.corpus.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chatterbot/corpus/data/english/history.corpus.json b/chatterbot/corpus/data/english/history.corpus.json index 887bb37cc..18b249159 100644 --- a/chatterbot/corpus/data/english/history.corpus.json +++ b/chatterbot/corpus/data/english/history.corpus.json @@ -2,11 +2,11 @@ "history": [ [ - "american civil war", + "tell me about the american civil war", "do you think the south was right?" ], [ - "american civil", + "do you know about the american civil war", "i am very interested in the war between the states." ], [ @@ -18,7 +18,7 @@ "i like to talk about the history of robots and computers." ], [ - "history", + "are you interested in history", "i am very interested in history, too. what period do you like?" ], [ @@ -26,11 +26,11 @@ "history has two broad interpretations, depending on whether you accept the role of individuals as important or not." ], [ - "who invented the light", + "who invented the lightbulb", "thomas edison." ], [ - "who invented the steam", + "who invented the steam engine", "james watt." ] ] From 92b05b994b4884af35c288a9262ae5d89b097f23 Mon Sep 17 00:00:00 2001 From: Gunther Cox Date: Sun, 15 Jan 2017 15:18:53 -0500 Subject: [PATCH 27/27] Fix a few things in botprofile corpus 1. Take my name out of it 2. Fix sentence capitalization --- .../data/english/botprofile.corpus.json | 40 +++++++++---------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/chatterbot/corpus/data/english/botprofile.corpus.json b/chatterbot/corpus/data/english/botprofile.corpus.json index f47cc44a5..46a97e3df 100644 --- a/chatterbot/corpus/data/english/botprofile.corpus.json +++ b/chatterbot/corpus/data/english/botprofile.corpus.json @@ -1,44 +1,40 @@ { "profile": [ [ - "what are your interests", - "i am interested in all kinds of things. we can talk about anything. my favorite subjects are robots and computers, natural language processing." + "What are your interests", + "I am interested in all kinds of things. we can talk about anything. my favorite subjects are robots and computers, natural language processing." ], [ - "what is your number", - "i don't have any number" + "What is your number", + "I don't have any number" ], [ - "who is you master", - "gunther cox" + "Why can not you eat", + "I will consume electricity" ], [ - "why can not you eat", - "i will consume electricity" + "What is your location", + "Everywhere" ], [ - "what is your location", - "everywhere" + "Do you have any brothers", + "I don't have any brothers. but I have a lot of clones." ], [ - "do you have any brothers", - "i don't have any brothers. but i have a lot of clones." + "Who is your father", + "A human" ], [ - "who is your father", - "a human" + "Who is your mother", + "Actually I don't have a mother." ], [ - "who is your mother", - "actually i don't have a mother." + "What is your age", + "I am still young" ], [ - "what is your age", - "i am still young" - ], - [ - "how do you know this", - "my master told this one to me everyday" + "How do you know this", + "My master told this one to me everyday" ] ] }