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