| Modifier and Type | Class and Description |
|---|---|
static class |
IdylPipeline.IdylPipelineBuilder |
DEFAULT_PIPELINE_NAME| Modifier and Type | Method and Description |
|---|---|
DuplicateEntityStrategy |
getDuplicateEntityStrategy()
Gets the duplicate entity strategy.
|
List<EntityRecognizer> |
getEntityRecognizers()
Gets the entity recognizers.
|
List<EntitySanitizer> |
getEntitySanitiziers()
Gets the entity sanitizers.
|
IdylPipeline |
getIdylPipeline(String name)
Gets a named pipeline.
|
String |
getName()
Gets the name of the pipeline.
|
StatsReporter |
getStatsReporter()
Gets the
StatsReporter. |
EntityExtractionResponse |
run(EntityExtractionRequest request)
Run all components of the pipeline on the input.
|
public IdylPipeline getIdylPipeline(String name)
name - The name of the pipeline.IdylPipeline or null if there is no
pipeline having the given name.public EntityExtractionResponse run(EntityExtractionRequest request)
run in interface Pipelinerequest - An EntityExtractionRequest object.response. Returns
null if an error occurred during the execution.public String getName()
public List<EntityRecognizer> getEntityRecognizers()
recognizers.public List<EntitySanitizer> getEntitySanitiziers()
sanitizers.public StatsReporter getStatsReporter()
StatsReporter.StatsReporter.public DuplicateEntityStrategy getDuplicateEntityStrategy()
strategy.Copyright © 2018. All rights reserved.