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
7
votes
2 answers

Can't access IBM Tone Analyzer API?

I'm trying to use the Tone Analyzer API in a Laravel application. No matter what I try, I always get the same response of {"code":401, "error": "Unauthorized"}. I suspect my issue is that I can't figure out how to pass in the API key, but the…
Jess
  • 307
  • 1
  • 2
  • 11
3
votes
2 answers

How to pass of node.js to html?

So, I am working with node.js for consume one API of IBM Cloud. I have this code and with that, I can to visualize the response but, I need pass this "res.send" to HTML. So, how can I do it? This is my code in Node.js. Thank you! var express =…
Isaac Alejandro
  • 247
  • 1
  • 3
  • 8
2
votes
1 answer

How to display output of IBM tone analyzer in pandas frame

My dataset has following features: "description", "word_count", "char_count", "stopwords". The feature "description" has datatype as string which contains some text. I am doing IBM tone_analysis on this feature which gives me correct output and…
Akhter
  • 59
  • 1
  • 6
2
votes
0 answers

Cannot get ui_guage to display each message after specified delay time

My experiment is to change the ui_guage according to the numbers from a csv file. Each number is delayed for 5 sec.(code at end) Input to csv file is a multi-line msg.payload with three values per line.i.e, name1, numerical1,numerical11 name2…
2
votes
1 answer

Python - Parsing Json Response from IBM Watson Tone Analyzer

I am having an issue parsing my JSON Response from IBM Watson's Tone Analyzer. I understand that I need to enter the dictionary and then move through each key until I get to the information that I need. Current Code from __future__ import…
1
vote
1 answer

Using `ToneAnalyzerV3` from the ibm_watson python package, how can I exclude a specific tone from being included?

This returns all tones from the analyzer # returns all tones (anger, fear, sadness, tentative, analytical tone_analysis = tone_analyzer.tone({'text': text}, content_type='application/json').get_result() How can I exclude the 'analytical' tone from…
lovelikelando
  • 7,593
  • 6
  • 32
  • 50
1
vote
1 answer

iOS/IBM Cloud/Swift: Post to Watson API using AlamoFire

I am trying to post to the Watson tone analyzer API using AlamoFire with the following code. It keeps getting a 401 error which apparently means failed authorization. The same userid/password info, however, works find with a curl request. So the…
user6631314
  • 1,751
  • 1
  • 13
  • 44
1
vote
0 answers

IBM Watson Tone Analyzer Gives Empty Response

I am using Tone Analyzer of IBM Watson in my Android Code,but i keep getting java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.List.get(int)' on a null object reference Following is my code public class…
user8412632
1
vote
1 answer

IBM Watson tone analyzer post request issue

I am student and learning to code and help from community is appreciated. I have hosted my code in heroku with domain name https://depionicapp.herokuapp.com/. When I am doing post request with postman I am getting Error 500 but with cloud 9 I am…
sri_cop
  • 11
  • 4
1
vote
2 answers

Analyzing json using Watson API Nodejs

I would like to analyze a JSON file I dynamically create with Watson's tone analyzer. I would like it to read the file, then analyze it. How can I make the tone_analyzer.tone method read the file? Thank you. app.get('/results', function(req, res)…
Alejandro
  • 623
  • 1
  • 9
  • 22
1
vote
1 answer

What validation does Watson Tone Analyzer have for version query parameter?

I am using the POST API for Watson Tone Analyzer. The version query parameter is required. https://gateway.watsonplatform.net/tone-analyzer/api/v3/tone?version=2016-05-19 This version is in the form yyyy-mm-dd. If a future date is given the API…
ShwetaJ
  • 462
  • 1
  • 8
  • 32
1
vote
0 answers

Does Watson Tone Analyzer have a limit on the input text size?

I am using the POST API for Watson Tone Analyzer. The documentation says, it can accept upto 128kb data, i.e. 1000 sentences at a time. But, when I give about 2500 words(17kb) only half of the sentences are returned in the analysis results. Could…
ShwetaJ
  • 462
  • 1
  • 8
  • 32
1
vote
0 answers

How to create a sample Java application using Tone Analyzer (IBM Watson)

I'm new to IBM Watson. I'm interested in using Tone Analyzer and I want to create a simple Java application with it. I've read the documentation and got here https://github.com/watson-developer-cloud/java-sdk/tree/master/tone-analyzer I don't…
NoobNe0
  • 385
  • 1
  • 6
  • 20
0
votes
0 answers

Accessing IBM Tone Analyzer with PHP and CURL

I would like to access IBM Tone Analyzer through PHP using CURL, however, I keep getting authorization errors like shown below. The code I use is shown in the code section. Although looking up numerous help pages and forums, I haven't found a…
0
votes
1 answer

not able to run the code due to module ibm-watson/auth is cant fund

The below code snippet is from the watson tone analyzer documentation. The issue : when I paste the code and run the code it runs perfectly fine. However, when I paste it in another cloud function, it is stating that module of ibm-watson/auth cant…
1
2 3