Click or drag to resize

EnrichmentOptions Class

Document enrichment settings for the configuration.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.Discovery.v1EnrichmentOptions

Namespace:  IBM.Watson.DeveloperCloud.Services.Discovery.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class EnrichmentOptions

The EnrichmentOptions type exposes the following members.

Constructors
  NameDescription
Public methodEnrichmentOptions
Initializes a new instance of the EnrichmentOptions class
Top
Properties
  NameDescription
Public propertyextract
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
Public propertyhierarchicalTypedRelations
Show hierarchical typed relations.
Public propertylanguage
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']
Public propertymodel
Required when using the typed-rel extract option. Should be set to the ID of a previously published custom Watson Knowledge Studio model
Public propertyquotations
Show quotations.
Public propertysentiment
Show sentiment.
Public propertyshowSouceText
Show source text.
Top
See Also