Questions tagged [watson-nlu]

Watson NLU uses deep linguistic parsing, statistical natural language processing, and machine learning to analyze your content, extracting semantic meta-data: information about people, places, companies, topics, languages, and more.

56 questions
1
vote
3 answers

TypeError: Object of type 'Entities' is not JSON serializable IBM Cloud natural language understanding

import json from watson_developer_cloud import NaturalLanguageUnderstandingV1 import watson_developer_cloud.natural_language_understanding.features.v1 \ as Features natural_language_understanding =…
Pulkit Kedia
  • 83
  • 2
  • 10
1
vote
1 answer

Natural Language Understanding - Analyze

NLU (Natural Language Understanding) Analyze call is failing with the error codes below, {"error": "cannot analyze: downstream issue", "code": 500 } {"error": "failure to communicate with server", "code": 500 } {"error": "requested service timeout",…
Sukanto
  • 41
  • 1
1
vote
2 answers

IBM Watson Natural Language Understanding error "attempt to fetch failed: :closed

I'm trying to test a site out using the IBM Watson Natural Language Understanding service. I'm doing so using this tool (https://natural-language-understanding-demo.mybluemix.net/) and entering a URL from our site to test. Using our production…
1
vote
1 answer

I'm using Sentiment on NLU, getting this error: "warnings": [ "sentiment: cannot locate keyphrase"

when I enter this request: { "text": " Il sindaco pensa solo a far realizzare rotonde...non lo disturbate per le cavolate! ,Che schifo! ", "features": { "sentiment": { "targets": [ "aggressione", "aggressioni", "agguati",…
Gi4n57
  • 11
  • 1
1
vote
0 answers

IBM Watson NLU - Understanding is being blocked by robots.txt

I'm using the IBM Watson Natural Language API to scan specific webpage to determine keywords and categories. But I've run into a issue with some sites which have their robots.txt set to block website scanner. I'm working directly with these sites…
peterb
  • 11
  • 1
1
vote
1 answer

Processing conditions based on context variables in Watson Conversation Service

Is it possible to set the value of a context variable based on a set of conditions which depend on value of another context value? I am trying to integrate NLU(Natural Language Understanding) service with Conversation service and would like to set…
dk_cog
  • 60
  • 5
1
vote
1 answer

IBM Watson NLU Bluemix API not working for entities.sentiment=true

I'm using the Watson NLU service to get sentiment by entities and keywords, but the output has only document sentiment. I don't know what's going wrong. I want to know the count of occurrences and the sentiment for keywords and entities. Example…
0
votes
1 answer

IBM Watson NLU gives a "training validation failed. Too few samples for label class. Minimum of 5 required" Error

I am trying to train my model in IBM Watson NLU. I have to classify emails into 2 labels. The instance has been created and I am passing the correct Model ID too. model_id = model['model_id'] model_to_view =…
0
votes
1 answer

Watson NLU sentiment inconsistencies

I have 2 very simple sentences which produce very different sentiment values from the IBM Watson NLU engine. So I am at a loss how to configure the APIs to handle each sentence consistently. "text": "WidgetX has been recently created. It is…
ImTalkingCode
  • 353
  • 1
  • 3
  • 14
0
votes
1 answer

Struggling to create a dictionary to store results from IBM Watson Entity Analysis

Am struggling to capture the results from the IBM Watson entity analysis in a dictionary. I would like to extract the sentiment of each link through a function. I have a function created to extract a single url. But the dictionary am trying to store…
0
votes
1 answer

What happened to the metadata object in IBM's Natural Language Understanding?

I used to work with IBM's Natural Language Understanding API for analyzing URLs. I am using Python's IBM Watson SDK 5.1 on Python 3.8. I successfully used the code below [all approprioate options have been imported] to extract metadata, in addition…
Joost Vos
  • 31
  • 4
0
votes
1 answer

IBM Watson NLU: How to determine remaining credits via API Endpoint?

I am using a Free plan for IBM Watson Natural Language Understanding. I'd like to check the remaining credits of my plan for the given resource with a single API call. I've seen something like Get credit pools in the IBM Cloud docs, but I am not…
0
votes
0 answers

IBM Cloud Natural Language Understanding API android.os.NetworkOnMainThreadException Error

I'm using IBM's Natural Language Understanding API to return information about tokens in the input text. This is the code that I have in my onActivityResult to make a syntax feature request: authenticator =…
Bert Hanz
  • 417
  • 1
  • 7
  • 16
0
votes
1 answer

Service issue with IBM Watson Natural Language Understanding

While using IBM Watson Natural Language Understanding, I got this issue: Service returned status code 500: cannot analyze: downstream issue.
0
votes
1 answer

Is it possible to get sentiment for emojis using IBM Watson NLU?

I am using IBM Watson to get sentiments of social media texts. But many of these texts are just emojis. Currently, I am not able to get any sentiment for emojis. I get unsupported text language error. Is there anyway to get the sentiments for emojis…