Exemple #1
0
 def test21_listAllWithProperty(self):
     string = "List every bounty."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_8)
Exemple #2
0
 def test19_listAllWithProperty(self):
     string = "Who has a bounty?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_7)
Exemple #3
0
 def test20_listAllWithProperty(self):
     string = "Show me everyones bounty."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_8)
Exemple #4
0
 def test16_listAllWithProperty(self):
     string = "Whos bounty is 1000?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_6)
Exemple #5
0
 def test18_listAllWithProperty(self):
     string = "Show me everyone with a bounty on them."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_7)
Exemple #6
0
 def test12_listAllWithProperty(self):
     string = "Who is named Michael?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_4)
Exemple #7
0
 def test14_listAllWithProperty(self):
     string = "Who has the name Jeffery?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_5)
Exemple #8
0
 def test10_listAllWithProperty(self):
     string = "Of all the species which are dogs?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_3)
Exemple #9
0
 def test11_listAllWithProperty(self):
     string = "Show me everyone named Michael."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_4)
Exemple #10
0
 def test9_listAllWithProperty(self):
     string = "What has a species of dog?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_3)
Exemple #11
0
 def test8_listAllWithProperty(self):
     string = "Show me all the species that are dogs."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_3)
Exemple #12
0
 def test8_listAllWithProperty(self):
     string = "Who are species?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_2)
Exemple #13
0
 def test6_listAllWithProperty(self):
     string = "Show me everything that is a species."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_2)
Exemple #14
0
 def test3_listAllWithProperty(self):
     string = "List the species."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_1)