Click or drag to resize

EnrichmentOptions Properties

The EnrichmentOptions type exposes the following members.

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