public static interface CreateEnrichment.Type
* `classifier`: Creates a document classifier enrichment from a document classifier model that you create by using the [Document classifier API](/apidocs/discovery-data#createdocumentclassifier). **Note**: A text classifier enrichment can be created only from the product user interface.
* `dictionary`: Creates a custom dictionary enrichment that you define in a CSV file.
* `regular_expression`: Creates a custom regular expression enrichment from regex syntax that you specify in the request.
* `rule_based`: Creates an enrichment from an advanced rules model that is created and exported as a ZIP file from Watson Knowledge Studio.
* `uima_annotator`: Creates an enrichment from a custom UIMA text analysis model that is defined in a PEAR file created in one of the following ways:
* Watson Explorer Content Analytics Studio. **Note**: Supported in IBM Cloud Pak for Data instances only.
* Rule-based model that is created in Watson Knowledge Studio.
* `watson_knowledge_studio_model`: Creates an enrichment from a Watson Knowledge Studio machine learning model that is defined in a ZIP file.
Modifier and Type | Field and Description |
---|---|
static String |
CLASSIFIER
classifier.
|
static String |
DICTIONARY
dictionary.
|
static String |
REGULAR_EXPRESSION
regular_expression.
|
static String |
RULE_BASED
rule_based.
|
static String |
UIMA_ANNOTATOR
uima_annotator.
|
static String |
WATSON_KNOWLEDGE_STUDIO_MODEL
watson_knowledge_studio_model.
|
static final String CLASSIFIER
static final String DICTIONARY
static final String REGULAR_EXPRESSION
static final String UIMA_ANNOTATOR
static final String RULE_BASED
static final String WATSON_KNOWLEDGE_STUDIO_MODEL
Copyright © 2023 IBM Cloud. All rights reserved.