Testing the IBM Watson Tone Analyzer service
Before consuming the IBM Watson Tone Analyzer service in an application, administrators can test whether the service analyzes a given text correctly. To test the Tone Analyzer service, administrators can use one of the following options:
- Document Tone Analysis—Provide sample input text from a document, such as an email.
- User Engagement Tone Analysis—Provide sample input text from a user response such as a chat conversation.
Before you begin
- Ensure that you have subscribed to the appropriate service license and configured the Tone Analyzer service.
- Ensure that you have created a configuration UI for testing.
To test the Tone Analyzer service by using a document
- Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
- Click the configuration UI that you created earlier.
For example, select Cognitive Tone Analysis > Tone Analysis Testing. - On the Tone Analysis Testing page, click Document Tone Analysis.
- From the Language list, select the language of the document.
The Tone Analyzer service supports only English and French languages. - (Optional) If the document contains HTML tags, select the Document Text Contains HTML check box so that the tags are omitted from the analysis.
- In Document Text, add the text for which you want to analyse the tone.
- (Optional) If you want to override the tenant-level threshold, in Tone Score Threshold, specify the value. You can enter a value between 0.5 and 1.0.
- (Optional) If you want to see the tone analysis results for each sentence in the document, select the Include Sentence-level Analysis check box.
If you do not select this check box, the tone analysis results for the entire document are displayed. - Click Analyze Tone.
The tone analysis results for the entire document are displayed in the Document Tone section and the results for each sentence in the document are displayed in the Sentence Tones section, as shown in the following image:
To test the Tone Analyzer service by using utterances in a conversation
- Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
- Click the configuration UI that you created earlier.
For example, select Cognitive Tone Analysis > Tone Analysis Testing. - On the Tone Analysis Testing page, click User Engagement Tone Analysis.
- From the Language list, select the language of the document.
The Tone Analyzer service supports only English and French languages. - In Utterances, add the user conversation for which you want to analyze the tone.
- (Optional) If you want to override the tenant-level threshold, in Tone Score Threshold, specify the value. You can enter a value between 0.5 and 1.0.
- Click Analyze Tone.
The results of the Tone Analyzer service are displayed in the Utterance Tones field, as shown in the following image:
Where to go from here
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*