Questions tagged [google-cloud-nl]

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).

92 questions
0
votes
1 answer

Recreating google natural language entity display

I've been playing around with google's entity analyser, and it looks really good! But I've been bashing my head against this for a while - I'm trying to replicate the image below (seen on google's natural language api page) This is the format of…
Ollie
  • 1,104
  • 7
  • 24
  • 45
0
votes
1 answer

How to get name/confidence individually from classify_text?

Most of the other methods in the language api, such as analyze_syntax, analyze_sentiment etc, have the ability to return the constituent elements like sentiment.score sentiment.magnitude token.part_of_speech.tag etc etc etc.... but I have not…
Josh Flori
  • 295
  • 1
  • 2
  • 13
0
votes
1 answer

Calling GCP Translate API within Dataproc pyspark map

I am trying to call the language detection method of the translate client api from pyspark for each row in a file. I created a map method as the following but the job seems to just freeze with no error. If I remove the call to the translate API it…
Adam Taub
  • 69
  • 4
0
votes
1 answer

Passing entities string using Google NLP API to Main Activity (Android)

I was able to pass a string (a sentence) to Google's NLP API (configured in a separate class called NLPService.java) from my Main Activity Class, but I want to be able to return the result (a certain entity string) from the NLPService Class back to…
rp1314
  • 1
  • 1
0
votes
2 answers

gcloud ml language Request had insufficient authentication scopes

For a relatively small academic research project, I am trying to use Google Cloud Natural Language API. From what I understood on the Authentication Overview, it looks like an API key would be the best and simplest approach to authentication, rather…
tony_tiger
  • 789
  • 1
  • 11
  • 25
0
votes
0 answers

contractions in Google Natural Language

I'm using cloud NL to analyze text from Google Speech and it seems to be having trouble with tokenizing contractions for example "I don't like you" comes back as tokens whose content_text are: "I" "do" "n't" "like" "you" escaping quotes did not…
user9548
  • 33
  • 1
  • 1
  • 7
0
votes
1 answer

Does google nl api support "word hints"

This article references a feature called "Word Hints." But I am not able to find more info on how to use that. Anyone run into…
jjreddick
  • 285
  • 2
  • 11
0
votes
0 answers

What tags does Google NL API use in its annotate syntax response?

I am using Google NL API's annotate syntax method and using Brat to visualize the response. Where can I find the exact list of "Tags" or "Labels" for words and dependency relations that are used in Google NL API. "partOfSpeech": { "tag":…
0
votes
2 answers

Which natural languages are supported by Google Cloud Natural Language API?

I can't find this crucial information in the official docs or here. Which natural languages are supported by the service? Which languages will be supported in the near future? I'm interested in POS tagging with lemmatization and dependency parsing.…
adam.ra
  • 1,068
  • 1
  • 10
  • 16
0
votes
1 answer

Is it possible to make a massive call to Google Natural Language API?

I am using the Natural Language API from Google to analyse the sentiment of some sentences, but it seems that you can only send sentences one by one. Is it possible to make a massive call of the API? Is it possible to send many sentences in a single…
0
votes
1 answer

Dataflow pipeline reading csv from GCS and writing to BigBuery with calls to Vision and NL API

I want to write a Dataflow program(Java and maven Implementation). Here are the steps I want to perform: Dataflow should read a csv file from google cloud storage. The csv file is in following format: Product Name, Image URL, Category,…
0
votes
1 answer

Problems with Google NL's Location Entities Recognition

I've been playing with Google Natural Language API and in particular used the locations recognition to extract the locations from HN's "Who Is Hiring" page. If I pass a text like Blockai | San Francisco, CA | CV/ML and Front-end Engineers - …
sovo2014
  • 487
  • 7
  • 17
0
votes
1 answer

The Cloud Natural Language API response for entity analysis shows entity offset of -1 no matter what text I give it. Is this the expected behavior?

I was expecting to get the offset set based on the position of the entity within the request text block, however, for all the entities identified the offset is set at -1 in the response.
Dan Holevoet
  • 9,183
  • 1
  • 33
  • 49
-1
votes
1 answer

How to count the number of noun appeared in a paragraph with Google's NL api using ruby?

Trying to count the number of noun appeared in a paragraph with Google's NL api using ruby. Been looking up the document, couldn't find how to do this. Work out a solution last night text = 'xxxxxxxxxx' response = language.analyze_syntax content:…
S.cll
  • 123
  • 1
  • 1
  • 6
-1
votes
1 answer

Is "salience" property unavailable for Japanese?

I tried Google NLP API on this page. And I found that when I try a Japanese sentence, all the responses' "salience" property would be 0. Is there any problem? Thanks.