Questions tagged [tone-analyzer]

The IBM Watson Tone Analyzer API uses linguistic analysis to detect and interpret emotional, social, and writing cues found in text. Then, it also offers rhetorical suggestions for an author to improve the intended tone of their message.

The IBM Watson Tone Analyzer API uses linguistic analysis to detect and interpret emotional, social, and writing cues found in text. Then, it also offers rhetorical suggestions for an author to improve the intended tone of their message.

Tone Analyzer

Common uses for the Tone Analyzer service include

Analyzing email messages, presentations, or other customer communications before sending them Examining how readers might perceive your blog posts Help understand the potential impact of the word choice in any other text-based communications.

INPUT:
Any Text

OUTPUT:
JSON that provides a hierarchical representation of the analysis of the terms in the input message

38 questions
0
votes
1 answer

Unsupported API version when using 'Tone analyzer'

Using 2020 version of IBM Cloud It is very confusing that although I created my Tone Analyzer service with my Lite account, and I entered the correct API Key and URL from the credentials into the Tone Analyzer v3 node, I still cannot get my…
D.Cosmos
  • 1
  • 2
0
votes
1 answer

IBM tone analyzer work properly in local but can't work on prod

I want to integrate IBM tone analyzer API with Angular 8 and spring boot. I follow this (https://cloud.ibm.com/apidocs/tone-analyzer?code=java) URL for integration. Steps done by me: Create IBM Tone analyzer service. Use {apikey} and {url} from…
Harsh Patel
  • 51
  • 1
  • 6
0
votes
0 answers

How to get the number of 'free API calls left' for IBM Watson services?

I'm using IBM Watson machine learning services for a university project. The services are ToneAnalyzer, LanguageTranslator and PersonalityInsights. Each service can be used for free, if I stay under a certain threshold of API calls (for example 2500…
0
votes
1 answer

IBM Watson Tone Analyzer Invalid JSON Error

I must be missing something very simple here. I am following the Example Tutorial Instructions. I already created a free account and I have my API key and the URL. I copied the JSON file as instructed. Here is the command I issued: curl -X POST -u…
Neil
  • 4,578
  • 14
  • 70
  • 155
0
votes
1 answer

Integrating lambda with IBM tone_chat error

I'm trying to integrate my lambda function with IBM Tone_chat sentiment analyzer. I'm getting an error of: "errorMessage": "The first argument must be one of type string or Buffer. Received type undefined" here is my event: { "utterances": [ …
Libby
  • 45
  • 1
  • 9
0
votes
2 answers

Invalid credentials problem when consumig tone analizer from a nodejs app

I'm trying to consume a tone analyzer service from a nodejs app. I get unauthorized access problem, but these credentials work fine when I use them in a curl. Running locally, in my app.js file I've included the data of the tone analyzer as…
ACCaminero
  • 33
  • 4
0
votes
0 answers

How to access IBM Watson Tone Analyzer via Laravel 5.7?

I am able to run the following from the terminal curl -X POST -u "apikey:{apikey}" \ --header "Content-Type: application/json" \ --data-binary @{path_to_file}tone.json \ "{url}/v3/tone?version=2017-09-21&sentences=false" \ but not sure how to make…
Scott
  • 3
  • 5
0
votes
1 answer

Extracting data from list of dictionaries from Tone Analyser's JSON response

I am analysing text using IBM Watson's Tone analyser and I am trying to extract all information relating to the sentence tone (e.g; sentence_id, text, tones, tone_id, tone_name, score) and add that to a dataframe (with columns; sentence_id, text,…
Emm
  • 2,367
  • 3
  • 24
  • 50
0
votes
2 answers

Angular 5 GET REST Api with Authorization return stuts 500 Internal Error (from client)

I'm consuming tone analyser api from IBM Watson tools. As testing it by postman it's working fine, but in Angular it return error as 500 status. As tone analyser api it requires authorization which I put credentials into headers. Here is sample of…
Atom
  • 421
  • 2
  • 6
  • 16
0
votes
1 answer

Request header field apikey is not allowed by Access-Control-Allow-Headers in preflight response

I am trying to test the tone analyzer of IBM watson with JavaScript code (fetch API). Here's my code: async post(url,key,textData) { const response1 = await…
0
votes
1 answer

IOS/Swift/SwiftyJSON: Parse Nested JSON from IBM Watson/Bluemix API

I am receiving some JSON from IBM Watson's tone analyzer API in the format shown below for a piece of text. What I would like to do is capture JSON in an object with a property and value for the main tones, eg. anger:.218 disgust:2.20 etc. for each…
user6631314
  • 1,751
  • 1
  • 13
  • 44
0
votes
1 answer

Unknown pattern character X while running tone analyzer in Android

I am new to Android and IBM Watson. I am building a simple app which analyzes the tone of input text. However, while running the application, I get the following error: 05-23 15:14:04.808 25157-25157/? I/art: Late-enabling -Xcheck:jni 05-23…
0
votes
1 answer

IBM Watson ToneAnalyzerV3 WatsonException: Error: Invalid JSON input, Code: 400

The following set of code work when I have short text but when I give it a longer text of this form: https://pastebin.com/PLinyN65 import os import json from watson_developer_cloud import ToneAnalyzerV3 from glob import glob with…
samkhan13
  • 3,315
  • 2
  • 33
  • 54
0
votes
2 answers

What is the difference in the API or features of Watson Tone Analyzer service with standard & premium plan?

I am using the Watson Tone Analyzer service. At the time of service creation, there are two pricing plans - Standard & Premium. Is there any difference in the API or features of the API if the service is created with Premium plan? Does it have any…
ShwetaJ
  • 462
  • 1
  • 8
  • 32
0
votes
1 answer

Error on client side when using iBM Bluemix tone analyzer token fetched on server side

I've already gotten a token on the server side and stored it in a cookie, but I can't seem to figure out why I'm getting an error when I query the api with that token. Here's the jQuery ajax request I'm sending: $.ajax({ …
wordSmith
  • 2,993
  • 8
  • 29
  • 50