IBM Watson Natural Language Classification

Uses IBM Watson Natural Language classifier to analyse and label text into categories. This uses Watson's Natural Language Classifier APIs.


Configuration

To use this task go to the task tab in your job. Select the task from the drop down and click the plus circle to configure the task. Click done after making any changes to save.

Condition check

It will execute the task when the condition's result is 'true', 't', 'on', '1', or 'yes' (case-insensitive), or run on all conditions if left empty. This condition is evaluated for each document, determining whether the task should be executed based on the specified values.

Example: If I only want to run this task for PDF documents I would use the expression: equals('#{rd.mimetype}',"application/pdf")

The IAM API Key for IBM Cloud

See instructions here on how to get it.

The Classifier ID

The ID of you classifier, created in Watson.

Field to process If left blank

the task will search for the field 'content'.

Field to store the Watson response

If left blank, the field name will be 'nlc'.

Comma delimited list of file extensions

Which content types to process or leave blank to process all.


API Keys

Processor: watsonLanguageClassifierTask

Key

Display Name

Type

use_condition Check a condition before executing this task. Boolean

task_condition

Condition

String

task_stop_proc

Stop Processing

Boolean

iamkey

The IAM API Key for IBM Cloud.

String

classifier

The classifier id.

String

procfield

Field to process. If left blank, the task will search for the field 'content'

String

addfield

Field to store the Watson response. If left blank, the default name will be 'nlc'.

String

extprocess

Comma delimited list of file extensions to process or leave blank to process all.

String