def time_cosine_delim_07(self): dl = create_delimiter_tokenizer() cosine_join(self.ltable, self.rtable, 'id', 'id', 'attr', 'attr', dl, 0.7)
def test_cosine_join_invalid_r_out_attr(self): cosine_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr', self.tokenizer, self.threshold, ['A.attr'], ['B.invalid_attr'])
def test_cosine_join_invalid_threshold_zero(self): cosine_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr', self.tokenizer, 0)
def test_cosine_join_invalid_tokenizer(self): cosine_join(self.A, self.B, 'A.id', 'B.id', 'A.attr', 'B.attr', [], self.threshold)
def test_cosine_join_invalid_l_join_attr(self): cosine_join(self.A, self.B, 'A.id', 'B.id', 'A.invalid_attr', 'B.attr', self.tokenizer, self.threshold)
def test_cosine_join_invalid_rtable(self): cosine_join(self.A, [], 'A.id', 'B.id', 'A.attr', 'B.attr', self.tokenizer, self.threshold)