Beispiel #1
0
 def test21_listAllWithProperty(self):
     string = "List every bounty."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_8)
Beispiel #2
0
 def test19_listAllWithProperty(self):
     string = "Who has a bounty?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_7)
Beispiel #3
0
 def test20_listAllWithProperty(self):
     string = "Show me everyones bounty."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_8)
Beispiel #4
0
 def test16_listAllWithProperty(self):
     string = "Whos bounty is 1000?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_6)
Beispiel #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)
Beispiel #6
0
 def test12_listAllWithProperty(self):
     string = "Who is named Michael?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_4)
Beispiel #7
0
 def test14_listAllWithProperty(self):
     string = "Who has the name Jeffery?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_5)
Beispiel #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)
Beispiel #9
0
 def test11_listAllWithProperty(self):
     string = "Show me everyone named Michael."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_4)
Beispiel #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)
Beispiel #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)
Beispiel #12
0
 def test8_listAllWithProperty(self):
     string = "Who are species?"
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_2)
Beispiel #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)
Beispiel #14
0
 def test3_listAllWithProperty(self):
     string = "List the species."
     t = Tokenize(string)
     self.assertEqual(t.listAllWithProperty(t.wordsTagged), self.query3_1)