nlp_architect.models.cross_doc_coref.system.sieves package

Submodules

nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system module

class nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.RunSystemsEntity(topic: nlp_architect.common.cdc.topics.Topic, resources)[source]

Bases: nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.RunSystemsSuper

class nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.RunSystemsEvent(topic, resources)[source]

Bases: nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.RunSystemsSuper

class nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.RunSystemsSuper(topic: nlp_architect.common.cdc.topics.Topic)[source]

Bases: object

get_results()[source]
run_deterministic()[source]
static set_sieves_from_config(config, get_rel_extraction)[source]
nlp_architect.models.cross_doc_coref.system.sieves.run_sieve_system.get_run_system(topic: nlp_architect.common.cdc.topics.Topic, resource: nlp_architect.models.cross_doc_coref.system.sieves_container_init.SievesContainerInitialization, eval_type: str)[source]

nlp_architect.models.cross_doc_coref.system.sieves.sieves module

class nlp_architect.models.cross_doc_coref.system.sieves.sieves.SieveClusterMerger(excepted_relation: Tuple[nlp_architect.data.cdc_resources.relations.relation_types_enums.RelationType, float], relation_extractor: nlp_architect.data.cdc_resources.relations.relation_extraction.RelationExtraction)[source]

Bases: object

run_sieve(cluster_i: nlp_architect.common.cdc.cluster.Cluster, cluster_j: nlp_architect.common.cdc.cluster.Cluster) → bool[source]
Parameters:
  • cluster_i
  • cluster_j
Returns:

bool -> indicating whether to merge clusters (True) or not (False)

Module contents