def __call__(self, record) :
        column = record[self.field]
        if column :
            try :
                centers = self.index.search(self.preprocess(column), 
                                            self.threshold)
            except __HOLE__ :
                raise AttributeError("Attempting to block with an index "
                                     "predicate without indexing records")

            l_str = str
            return [l_str(center) for center in centers]

        else :
            return ()
dataset/ETHPy150Open datamade/dedupe/dedupe/predicates.py/TfidfSearchPredicate.__call__