google-cloud-nl indicates a question relates to the Google Cloud NL API. The NL API provides natural language understanding technologies including syntax, entity recognition and linking, and sentiment analysis. Questions may relate to the API (such as how to call the API or technical issues with using it) or with the annotations (uses for them, quality issues, or ideas for new annotations).
Questions tagged [google-cloud-nl]
92 questions
1
vote
1 answer
Document Sentiment Magnitude != sum(Sentence Magnitude)
I am currently utilizing the google cloud NL api for some tests where I analyze news articles. I was initially curious about how document magnitude was calculated, and searches here yielded
Google Cloud Natural Language API - How is document…

Alfred Ang
- 13
- 3
1
vote
0 answers
"gcloud ml language analyze-sentiment" returns different results from Python client analyze_sentiment
I am trying to use the Google NLP API in my Python code and found that when I call using analyze_sentiment or analyze_entity_sentiment, I sometimes get null in "score", which is undocumented behavior. Hence, I tried to use "gcloud ml language…

Alvin
- 33
- 5
1
vote
1 answer
How to get a confidence score in Google Cloud NLU while analyzing named entities?
I have a text that can contain multiple named entities (say, for example, one person and two organizations).
I need to select one of the texts based on the confidence of the Named-Entity-Tagger. (Example at the end)
The project uses…

Abhishek Madhu
- 30
- 7
1
vote
0 answers
NLP (Natural Language processing), Machine Learning,deep Learning
i am developing an ASR system for my local kashmiri language and had Already had done some work collected some data and trained a CNN model on it with not so good accuracy but now i want to change the Strategy i want to do this work on phoneme level…

Kamran Dar
- 11
- 1
1
vote
1 answer
Difference between DialogFlow and Google Cloud Natural Language product
Both DialogFlow and Google Cloud NL (Natural Language) are under Google, and to me they are very similar. Does anyone know any specific on their differences and whether Google will consolidate into one product? If I am a new developer to use the…

Shan L
- 93
- 1
- 3
1
vote
0 answers
Detecting Calendar Events using the Google Cloud Natural Language service
Tried the Google Cloud Natural Language example. It worked nicely but I want it to be able to detect calendar events such as:
"Appointment at the Kendall Building at 800 Florida Ave NE on June 28th from 7p to 8p."
Would be nice to get the date/time…

Chad Taylor
- 337
- 1
- 3
- 9
1
vote
2 answers
String field 'google.cloud.language.v1beta2.TextSpan.content' contains invalid UTF-8 data when parsing a protocol buffer
I am trying to run Python script from
Google Cloud Natural Language API Python Samples
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/language/cloud-client/v1beta2/snippets.py
I have not made any modifications, so I expected…

complexitocous
- 11
- 2
1
vote
1 answer
Google NLP API - Companies identified as "Unknown"
I try to identify entities in French newspaper articles and very often organizations, even famous ones such as Apple, are identified as "Unknown", whereas the linked Wikipedia page is correct.
You can try using the content of this…

Rupert Schiessl
- 799
- 6
- 11
1
vote
2 answers
some fields get no value when converting the Google Cloud result to json using Protobuf
When I am trying to convert the message output from Google Cloud Natural Language API to json using protobuf, the sentiment and magnitude fields end up with no value at all. If I don't use it and just print them they will have values. How can this…

Mona Jalal
- 34,860
- 64
- 239
- 408
1
vote
1 answer
How to use Google Natural Language with portuguese sentences, with gcloud CLI tool?
I used this command:
"gcloud ml language analyse-syntax --language=pt-br --content="Capítulo"
and get this error:
ERROR: (gcloud.ml.language.analyze-syntax) Failed to read command line argument [--content=Cap\xedtulo] because it does not appear to…

Warley Andre
- 11
- 1
1
vote
0 answers
Google Cloud NL API term/classification quality and batch processing on Traditional Chinese (zh-Hant) data
I've tested Google Cloud NL API v1.0 these days. I mainly use Traditional Chinese(a.k.a. zh-Hant) data. After the testing, I find the quality is not satisfactory, classification is not right, too many one-character terms (many of them should be stop…

Scott Chu
- 972
- 14
- 26
1
vote
2 answers
Handling 50x errors in Google NLP API
Following an example in Google Sentiment Analysis Java API I have an application sending few hundred text samples for analysis to the service. Every now and then the API slows down significantly and when correlated with the timeline on the API…

Altair7852
- 1,226
- 1
- 14
- 23
1
vote
0 answers
How to pass application specific phrases to google-nlp api?
I'm using Google NLP for executing voice commands in our application.
Scenario:
Input text: "Generate Customer Profitability Report"
Now that 'Customer Profitability' is a single entity from application perspective, Is there a way to pass set of…

ashok
- 21
- 1
- 5
1
vote
2 answers
Google cloud Natural Language API customization for specific context
We are writting a demo app in which we make use of the Google's cloud Speech API and Natural Language API.
We are using it for voice control in TV sets and STBs.
Overall I must say that the APIs are working excellent.
However we are wondering if it…

Cooli
- 169
- 3
- 14
1
vote
1 answer
Does the Google Cloud Natural Language API actually support parsing HTML?
I'm trying to extract the main body content from news sites & blogs.
The docs make it seem as though documents.analyzeSyntax would work as expected with HTML by passing it a document with the content as the page's raw HTML (utf-8) and the document's…

fisch2
- 2,574
- 2
- 26
- 29