EnrichmentOptions Class |
Namespace: IBM.Watson.DeveloperCloud.Services.Discovery.v1
public class EnrichmentOptions
The EnrichmentOptions type exposes the following members.
Name | Description | |
---|---|---|
EnrichmentOptions | Initializes a new instance of the EnrichmentOptions class |
Name | Description | |
---|---|---|
extract |
A comma sepeated list of analyses that should be applied when using the alchemy_language enrichment.
See the the service documentation for details on each extract option.
Possible values include: entity, keyword, taxonomy, concept, relation, doc-sentiment, doc-emotion,
typed-rels
| |
hierarchicalTypedRelations |
Show hierarchical typed relations.
| |
language |
If provided, then do not attempt to detect the language of the input document. Instead, assume the
language is the one specified in this field. You can set this property to work around
unsupported-text-language errors. Supported languages include English, German, French, Italian,
Portuguese, Russian, Spanish and Swedish.Supported language codes are the ISO-639-1, ISO-639-2,
ISO-639-3, and the plain english name of the language (e.g. "russian"). = ['english', 'german',
'french', 'italian', 'portuguese', 'russian', 'spanish', 'swedish', 'en', 'eng', 'de', 'ger', 'deu',
'fr', 'fre', 'fra', 'it', 'ita', 'pt', 'por', 'ru', 'rus', 'es', 'spa', 'sv', 'swe']
| |
model |
Required when using the typed-rel extract option. Should be set to the ID of a previously published
custom Watson Knowledge Studio model
| |
quotations |
Show quotations.
| |
sentiment |
Show sentiment.
| |
showSouceText |
Show source text.
|