skillner.core.Pipeline#
- class skillner.core.Pipeline[source]#
Pipeline class to define the way of enriching documents.
The pipeline defines sequential way of enriching documents.
- Attributes:
- dict_nodes: Dict[str, Node]
A dictionary that stores the enrichers (nodes) and their corresponding names.
Methods
__init__()add_node(enricher, name)Append
enricherto the pipeline.run(doc)Run the pipeline on document.