kazu.steps.linking.post_processing.mapping_step¶
Classes
A wrapper for |
- class kazu.steps.linking.post_processing.mapping_step.MappingStep[source]¶
Bases:
ParserDependentStep
A wrapper for
StrategyRunner
, so it can be used in a pipeline.- __call__(doc)[source]¶
Process documents and respond with processed and failed documents.
Note that many steps will be decorated by
document_iterating_step()
ordocument_batch_step()
which will modify the ‘original’__call__
function signature to match the expected signature for a step, as the decorators handle the exception/failed documents logic for you.
- __init__(parsers, strategy_runner)[source]¶
- Parameters:
parsers (Iterable[OntologyParser]) – parsers that this step requires
strategy_runner (StrategyRunner)