public class NerPipeline extends Object implements Pipeline<EntityExtractionResponse>
Pipeline.| Modifier and Type | Class and Description |
|---|---|
static class |
NerPipeline.NerPipelineBuilder
Facilitates the construction of an
NerPipeline. |
| Modifier and Type | Method and Description |
|---|---|
DuplicateEntityStrategy |
getDuplicateEntityStrategy()
Gets the duplicate entity strategy.
|
EntityOrder |
getEntityOrder()
Gets the entity order for the pipeline.
|
List<EntityRecognizer> |
getEntityRecognizers()
Gets the entity recognizers.
|
List<EntitySanitizer> |
getEntitySanitiziers()
Gets the entity sanitizers.
|
Set<String> |
getEntityTypes()
Gets the entity types for the pipeline.
|
com.neovisionaries.i18n.LanguageCode |
getLanguageCode()
Gets the language code for the pipeline.
|
SentenceDetector |
getSentenceDetector()
Gets the sentence detector used by the pipeline.
|
StatsReporter |
getStatsReporter()
Gets the
StatsReporter. |
Tokenizer |
getTokenizer()
Gets the tokenizer used by the pipeline.
|
ai.idylnlp.zoo.IdylNLPModelZoo |
getZoo()
Gets the model zoo client for the pipeline.
|
static Set<Entity> |
removeDuplicateEntities(Set<Entity> entities)
Remove duplicate entities having a lower confidence.
|
EntityExtractionResponse |
run(String text) |
public EntityExtractionResponse run(String text)
run in interface Pipeline<EntityExtractionResponse>public static Set<Entity> removeDuplicateEntities(Set<Entity> entities)
public SentenceDetector getSentenceDetector()
SentenceDetector used by the pipeline.public Tokenizer getTokenizer()
Tokenizer used by the pipeline.public List<EntityRecognizer> getEntityRecognizers()
recognizers.public List<EntitySanitizer> getEntitySanitiziers()
sanitizers.public StatsReporter getStatsReporter()
StatsReporter.StatsReporter.public DuplicateEntityStrategy getDuplicateEntityStrategy()
strategy.public com.neovisionaries.i18n.LanguageCode getLanguageCode()
LanguageCode for the pipeline.public EntityOrder getEntityOrder()
EntityOrder for the pipeline.public ai.idylnlp.zoo.IdylNLPModelZoo getZoo()
IdylNLPModelZoo client for the pipeline.Copyright © 2018. All rights reserved.