예제 #1
0
 def test_dice_join_invalid_r_out_attr(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold, '>=', True, False,
               ['A.attr'], ['B.invalid_attr'])
예제 #2
0
 def test_dice_join_invalid_threshold_zero(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, 0)
예제 #3
0
 def test_dice_join_invalid_comp_op_le(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold, '<=')
예제 #4
0
 def test_dice_join_numeric_r_join_attr(self):                            
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.int_attr',    
               self.tokenizer, self.threshold)
예제 #5
0
 def test_dice_join_invalid_tokenizer(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               [], self.threshold)
예제 #6
0
 def test_dice_join_invalid_rtable(self):
     dice_join(self.A, [], 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold)
예제 #7
0
 def test_dice_join_invalid_r_join_attr(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.invalid_attr',
               self.tokenizer, self.threshold)
예제 #8
0
 def test_dice_join_invalid_comp_op_le(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold, '<=')
예제 #9
0
 def test_dice_join_invalid_r_out_attr(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold, '>=', True, False,
               ['A.attr'], ['B.invalid_attr'])
예제 #10
0
 def test_dice_join_invalid_tokenizer(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr', [],
               self.threshold)
예제 #11
0
 def test_dice_join_invalid_threshold_zero(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, 0)
예제 #12
0
 def test_dice_join_numeric_r_join_attr(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.int_attr',
               self.tokenizer, self.threshold)
예제 #13
0
 def test_dice_join_invalid_r_join_attr(self):
     dice_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.invalid_attr',
               self.tokenizer, self.threshold)
예제 #14
0
 def test_dice_join_invalid_rtable(self):
     dice_join(self.A, [], 'A.id', 'B.id', 'A.attr', 'B.attr',
               self.tokenizer, self.threshold)
예제 #15
0
 def time_dice_delim_07(self):
     dice_join(self.ltable, self.rtable, self.l_id_attr, self.r_id_attr,
               self.l_join_attr, self.r_join_attr, self.delim_tok, 0.7)
 def time_dice_delim_07(self):
     dice_join(self.ltable, self.rtable,
               self.l_id_attr, self.r_id_attr,
               self.l_join_attr, self.r_join_attr,
               self.delim_tok, 0.7)