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.Conversions Class Reference

The configuration's document conversion settings. More...

Properties

PdfSettings pdf [get, set]
 A list of PDF conversion settings, including the conversions applied to different types of headings as defined by font attributes. More...
 
WordSettings word [get, set]
 A list of Word conversion settings, including the conversions applied to different types of headings as defined by font attributes and to different formatting styles of text. More...
 
HtmlSettings html [get, set]
 A list of HTML conversion settings, including tags that are to be excluded completely; tags that are to be discarded but their content kept; content that is to be excluded as defined by xpaths; content that is to be kept as defined by xpaths; and tag attributes that are to be excluded. More...
 
NormalizationOperation[] json_normalizations [get, set]
 An array of JSON normalization operations, including one or more of the following: More...
 

Detailed Description

The configuration's document conversion settings.

Property Documentation

HtmlSettings IBM.Watson.DeveloperCloud.Services.Discovery.v1.Conversions.html
getset

A list of HTML conversion settings, including tags that are to be excluded completely; tags that are to be discarded but their content kept; content that is to be excluded as defined by xpaths; content that is to be kept as defined by xpaths; and tag attributes that are to be excluded.

NormalizationOperation [] IBM.Watson.DeveloperCloud.Services.Discovery.v1.Conversions.json_normalizations
getset

An array of JSON normalization operations, including one or more of the following:

copy — Copies the value of the source_field to the destination_field. If the destination_field already exists, the value of the source_field overwrites the original value of the destination_field.

move — Renames (moves) the source_field to the destination_field.If the destination_field already exists, the value of the source_field overwrites the original value of the destination_field. Rename is identical to copy, except that the source_field is removed after the value has been copied to the destination_field. It is the same as a copy followed by a remove.

merge — Merges the value of the source_field with the value of the destination_field. The destination_field is converted into an array if it is not already an array, and the value of the source_field is appended to the array. This operation removes the source_field after the merge. If the source_field does not exist in the current document, the destination_field is converted into an array if it is not already an array. This is ensures the type for destination_field is consistent across all documents.

remove — Deletes the source_field. The destination_field is ignored for this operation.

remove_nulls — Removes all nested null (blank) leaf values from the JSON tree. The source_field and destination_field are ignored by this operation because remove_nulls operates on the entire JSON tree. Typically, remove_nulls is invoked as the last normalization operation; if it is invoked, it can be time-expensive. The array also lists the source_field and destination_field for each operation. If no JSON normalization operations are specified, the method returns an empty array.

PdfSettings IBM.Watson.DeveloperCloud.Services.Discovery.v1.Conversions.pdf
getset

A list of PDF conversion settings, including the conversions applied to different types of headings as defined by font attributes.

WordSettings IBM.Watson.DeveloperCloud.Services.Discovery.v1.Conversions.word
getset

A list of Word conversion settings, including the conversions applied to different types of headings as defined by font attributes and to different formatting styles of text.


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