diff --git a/chatterbot/corpus/data/english/ai.corpus.json b/chatterbot/corpus/data/english/ai.corpus.json index 09456fd58..679cd87e9 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" ], [ @@ -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." 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" ], [ 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", 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." 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." ] ] diff --git a/tests/test_parsing.py b/tests/test_parsing.py index cd4e18669..b0286c983 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -183,7 +183,7 @@ def test_captured_pattern_is_on_day(self): input_text = 'My birthday is on January 1st.' parser = parsing.datetime_parsing(input_text) self.assertIn('January 1st', parser[0]) - self.assertEqual(parser[0][1].strftime('%d-%m-%Y'), '01-01-2016') + self.assertEqual(parser[0][1].strftime('%d-%m-%Y'), '01-01-2017') self.assertEqual(len(parser), 1) def test_captured_pattern_is_on_day_of_year_variation1(self):