| Package | Description |
|---|---|
| ai.idylnlp.model.nlp.ner |
| Modifier and Type | Method and Description |
|---|---|
EntityExtractionRequest |
EntityExtractionRequest.withConfidenceThreshold(int confidenceThreshold)
Sets the confidence threshold.
|
EntityExtractionRequest |
EntityExtractionRequest.withContext(String context)
Sets the extraction context.
|
EntityExtractionRequest |
EntityExtractionRequest.withDuplicateEntityStrategy(DuplicateEntityStrategy duplicateEntityStrategy)
Sets the duplicate entity
strategy. |
EntityExtractionRequest |
EntityExtractionRequest.withIncludeModelFileNameInMetadata(boolean includeModelFileNameInMetadata)
Whether or not to include the filename of the model that extracted the entity in
the entity's metadata.
|
EntityExtractionRequest |
EntityExtractionRequest.withLanguage(com.neovisionaries.i18n.LanguageCode language) |
EntityExtractionRequest |
EntityExtractionRequest.withLocation(Location location)
Sets a
location attribute for the entity extraction request. |
EntityExtractionRequest |
EntityExtractionRequest.withMetadata(Map<String,String> metadata)
Sets the entity metadata.
|
EntityExtractionRequest |
EntityExtractionRequest.withOrder(EntityOrder order)
The sort
order for the returned entities. |
EntityExtractionRequest |
EntityExtractionRequest.withType(String type)
Sets the type of entity to extract.
|
| Modifier and Type | Method and Description |
|---|---|
EntityExtractionResponse |
EntityRecognizer.extractEntities(EntityExtractionRequest request)
Extracts entities.
|
Copyright © 2018. All rights reserved.