inspirehep.modules.disambiguation.core.db package

Submodules

inspirehep.modules.disambiguation.core.db.readers module

Disambiguation core DB readers.

inspirehep.modules.disambiguation.core.db.readers.get_all_curated_signatures()[source]

Get all curated signatures from the DB.

Walks through all Literature records and collects all signatures that were marked as curated in order to build the training set for BEARD.

Yields:dict – a curated signature.
inspirehep.modules.disambiguation.core.db.readers.get_all_publications()[source]

Get all publications from the DB.

Walks through all Literature records and collects all information that will be useful for BEARD during training and prediction.

Yields:dict – a publication.
inspirehep.modules.disambiguation.core.db.readers.get_all_signatures()[source]

Get all signatures from the DB.

Walks through all Literature records and collects all signatures in order to build the running set for BEARD.

Yields:dict – a signature.
inspirehep.modules.disambiguation.core.db.readers.get_signatures_matching_a_phonetic_encoding(phonetic_encoding)[source]

Get all signatures matching a phonetic encoding from ES.

Parameters:phonetic_encodings (str) – a phonetic encoding.
Yields:dict – a signature matching the phonetic encoding.

Module contents

Disambiguation core DB.