Global

Methods

createRequest(method) → {function}

Parameters:
Name Type Description
method
Source:
Returns:
Type
function

detectContentType(buffer) → {String|undefined}

Determine content-type header for .zip, .png, and .jpg files (The only formats currently supported by the service)

based on https://github.com/watson-developer-cloud/node-sdk/issues/333

Parameters:
Name Type Description
buffer Buffer
Source:
Returns:
Type
String | undefined

Type Definitions

Word

Type:
  • Object
Properties:
Name Type Description
word String

the word as written

translation String

The phonetic or sounds-like translation for the word. A phonetic translation is based on the SSML format for representing the phonetic string of a word either as an IPA or IBM SPR translation. A sounds-like translation consists of one or more words that, when combined, sound like the word.

Source:

Word

Type:
  • Object
Properties:
Name Type Description
word String

The word as written

translation String

The phonetic or sounds-like translation for the word. A phonetic translation is based on the SSML format for representing the phonetic string of a word either as an IPA or IBM SPR translation. A sounds-like translation consists of one or more words that, when combined, sound like the word.

Source: