nordlys.logic.elr.field_mapping module

Field Mapping for ELR

Computes PRMS field mapping probabilities.

Author:Faegheh Hasibi
class nordlys.logic.elr.field_mapping.FieldMapping(elastic_uri, n)[source]

Bases: object

DEBUG = 0
MAPPING_DEBUG = 0
map(en_id)[source]

Gets PRMS mapping probability for a clique type

Return Dictionary {field:
 weight, ..}
nordlys.logic.elr.field_mapping.arg_parser()[source]
nordlys.logic.elr.field_mapping.load_entities(annot_file, th=0.1)[source]
nordlys.logic.elr.field_mapping.main(args)[source]