Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions Class Reference

Document enrichment settings for the configuration. More...

Properties

string extract [get, set]
 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 More...
 
bool sentiment [get, set]
 Show sentiment. More...
 
bool quotations [get, set]
 Show quotations. More...
 
bool showSouceText [get, set]
 Show source text. More...
 
bool hierarchicalTypedRelations [get, set]
 Show hierarchical typed relations. More...
 
string model [get, set]
 Required when using the typed-rel extract option. Should be set to the ID of a previously published custom Watson Knowledge Studio model More...
 
string language [get, set]
 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'] More...
 

Detailed Description

Document enrichment settings for the configuration.

Property Documentation

string IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.extract
getset

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

bool IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.hierarchicalTypedRelations
getset

Show hierarchical typed relations.

string IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.language
getset

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']

string IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.model
getset

Required when using the typed-rel extract option. Should be set to the ID of a previously published custom Watson Knowledge Studio model

bool IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.quotations
getset

Show quotations.

bool IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.sentiment
getset

Show sentiment.

bool IBM.Watson.DeveloperCloud.Services.Discovery.v1.EnrichmentOptions.showSouceText
getset

Show source text.


The documentation for this class was generated from the following file: