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