Examples

This section describes the metadata and sample reports for the WAND Sentiment Analysis Adapter.


Top of page

x
Reference: WAND Sentiment Analysis Adapter Metadata

The following table lists and describes the available metadata for the WAND Sentiment Analysis Adapter.

Metadata

Description

wandscore

Metadata is used for interacting with the WAND web service for sentiment analysis scoring.

The TEXT field would contain the textual data that is to be analyzed and scored by the WAND Taxonomy Server. Textual data can be joined from a column within a table to the TEXT field or set within a WHERE/IF condition.

The following example uses a JOIN statement:

JOIN DOCLINE IN wand/wandsampl/wand_sample_fix TO TEXT IN wand/wandscore
END                                                                    

The following example uses a WHERE/IF condition:

WHERE (TEXT CONTAINS 'The Facebook Adapter helps businesses')

A sentiment score between -1 and 1 is returned within the SCORERESULT field.

wandsampl/wand_sample_fix

Metadata that defines the sample text file (wandsampl/wand_sample.txt) used for the wand_sample_join and wand_sample_cluster sample reports.

wandsampl/wand_sample_cluster

Cluster join between wandsampl/wand_sample_fix and wandscore.



x
Reference: WAND Sentiment Analysis Adapter Sample Reports

The following table lists and describes the sample reports for the WAND Sentiment Analysis Adapter.

Sample Report

Description

wandsampl/wand_sample_join

Scores the text passed from the wandsampl/wand_sample.txt file performed through a JOIN statement.

wandsampl/wand_sample_cluster

Scores the text passed from the wandsampl/wand_sample.txt file using the Cluster Join master wandsampl/wand_sample_cluster.

wandsampl/wand_sample_where

Scores the text passed within a WHERE statement.


Information Builders