delex.lang package
Subpackages
- delex.lang.predicate package
- Submodules
- delex.lang.predicate.bootleg_predicate module
BootlegPredicate
BootlegPredicate.build()
BootlegPredicate.compute_scores()
BootlegPredicate.contains()
BootlegPredicate.deinit()
BootlegPredicate.index_col
BootlegPredicate.index_component_sizes()
BootlegPredicate.index_size_in_bytes()
BootlegPredicate.indexable
BootlegPredicate.init()
BootlegPredicate.is_topk
BootlegPredicate.op
BootlegPredicate.search_col
BootlegPredicate.search_index()
BootlegPredicate.sim
BootlegPredicate.streamable
BootlegPredicate.val
BootlegSim
CachedNameIndexKey
CachedNamesKey
- delex.lang.predicate.exact_match_predicate module
ExactMatchPredicate
ExactMatchPredicate.Sim
ExactMatchPredicate.build()
ExactMatchPredicate.compute_scores()
ExactMatchPredicate.contains()
ExactMatchPredicate.deinit()
ExactMatchPredicate.index_col
ExactMatchPredicate.index_component_sizes()
ExactMatchPredicate.index_size_in_bytes()
ExactMatchPredicate.indexable
ExactMatchPredicate.init()
ExactMatchPredicate.is_topk
ExactMatchPredicate.op
ExactMatchPredicate.search_col
ExactMatchPredicate.search_index()
ExactMatchPredicate.sim
ExactMatchPredicate.streamable
ExactMatchPredicate.val
- delex.lang.predicate.name_map module
- delex.lang.predicate.predicate module
Predicate
Predicate.build()
Predicate.contains()
Predicate.deinit()
Predicate.filter()
Predicate.filter_batch()
Predicate.index_component_sizes()
Predicate.index_size_in_bytes()
Predicate.indexable
Predicate.init()
Predicate.is_topk
Predicate.search()
Predicate.search_batch()
Predicate.sim
Predicate.streamable
- delex.lang.predicate.set_sim_predicate module
CosinePredicate
JaccardPredicate
OverlapCoeffPredicate
SetSimPredicate
SetSimPredicate.Sim
SetSimPredicate.build()
SetSimPredicate.contains()
SetSimPredicate.deinit()
SetSimPredicate.index_component_sizes()
SetSimPredicate.index_size_in_bytes()
SetSimPredicate.indexable
SetSimPredicate.init()
SetSimPredicate.invert()
SetSimPredicate.is_topk
SetSimPredicate.search_index()
SetSimPredicate.sim
SetSimPredicate.streamable
- delex.lang.predicate.string_sim_predicate module
EditDistancePredicate
JaroPredicate
JaroWinklerPredicate
SmithWatermanPredicate
StringSimPredicate
StringSimPredicate.Sim
StringSimPredicate.build()
StringSimPredicate.compute_scores()
StringSimPredicate.deinit()
StringSimPredicate.index_component_sizes()
StringSimPredicate.index_size_in_bytes()
StringSimPredicate.indexable
StringSimPredicate.init()
StringSimPredicate.invert()
StringSimPredicate.is_topk
StringSimPredicate.search()
StringSimPredicate.search_index()
StringSimPredicate.sim
StringSimPredicate.streamable
- delex.lang.predicate.threshold_predicate module
ThresholdPredicate
ThresholdPredicate.compute_scores()
ThresholdPredicate.contains()
ThresholdPredicate.filter_batch()
ThresholdPredicate.index_col
ThresholdPredicate.invertable
ThresholdPredicate.op
ThresholdPredicate.search_batch()
ThresholdPredicate.search_col
ThresholdPredicate.search_index()
ThresholdPredicate.val
- delex.lang.predicate.topk_predicate module
BM25TopkPredicate
BM25TopkPredicate.Sim
BM25TopkPredicate.build()
BM25TopkPredicate.contains()
BM25TopkPredicate.deinit()
BM25TopkPredicate.filter_batch()
BM25TopkPredicate.index_col
BM25TopkPredicate.index_component_sizes()
BM25TopkPredicate.index_size_in_bytes()
BM25TopkPredicate.indexable
BM25TopkPredicate.init()
BM25TopkPredicate.invertable
BM25TopkPredicate.is_topk
BM25TopkPredicate.k
BM25TopkPredicate.search_batch()
BM25TopkPredicate.search_col
BM25TopkPredicate.sim
BM25TopkPredicate.streamable
CachedBM25IndexKey
- Module contents
Submodules
delex.lang.program module
- class delex.lang.program.BlockingProgram(keep_rules: List[KeepRule], drop_rules: List[DropRule])
Bases:
object
a blocking program that can be turned into an execution plan
Methods
create a pretty string of the entire blocking program
validate
- pretty_str() str
create a pretty string of the entire blocking program
- validate()
delex.lang.rule module
- class delex.lang.rule.DropRule(predicates: List[Predicate])
Bases:
Rule
a drop rule for a blocking program
Methods
contains
(other)return True if self logically contains other else False.
pretty_str
()format the rule into a pretty string
validate
()check that all the predicates in this rule are streamable if not raise RuntimeError
- validate()
check that all the predicates in this rule are streamable if not raise RuntimeError
- class delex.lang.rule.KeepRule(predicates: List[Predicate])
Bases:
Rule
a keep rule for a blocking program
Methods
contains
(other)return True if self logically contains other else False.
pretty_str
()format the rule into a pretty string
validate
()check that this rule has at least one indexable predicate if not raise RuntimeError
- validate()
check that this rule has at least one indexable predicate if not raise RuntimeError
- class delex.lang.rule.Rule(predicates: List[Predicate])
Bases:
object
base class for a DropRule or KeepRule
Methods
contains
(other)return True if self logically contains other else False.
format the rule into a pretty string
- contains(other)
return True if self logically contains other else False. That is, for any given set of record pairs C, self(C) is a superset of other(C)
- pretty_str() str
format the rule into a pretty string