Questions tagged [google-natural-language]

The tag has no usage guidance.

-1
votes
0answers
2 views

Format of the input dataset for AutoML multi-label text classification

What should the format of the input dataset be for AutoML multi-label text classification?
0
votes
1answer
11 views

begin_offset is set to -1 Google NATURAL LANGUAGE API (entity_extraction)

Google Cloud CLOUD NATURAL LANGUAGE API (entity_extraction) returns -1 for begin_offset(both on nodejs and python). Am I missing any paramters from google.cloud import language from google.cloud....
-1
votes
1answer
15 views

More samples in AutoML did not yield better results

I uploaded more samples into AutoML, but this did not yield better results. Why can I improve the model performance?
0
votes
1answer
26 views

How much I can do with the evaluation tab in automl

I'm trying AutoML Natural Language, and find the "evaluation" tab has much information. I want to know how much tuning I can really do with this tab. For example: When I adjust the "score threshold", ...
-1
votes
1answer
38 views

dataset import error for AutoML text classification

I have trying to import dataset into AutoML NL Text Classification. However, the Ui gave me an error of Invalid row in CSV file , Error details: Error detected: "FILE_TYPE_NOT_SUPPORTED" I am ...
-1
votes
1answer
24 views

How long does the automl text classification training take

I want to understand if the training duration is decided by the document number? Say 100 documents cost 4 hours, and 200 documents will need 8 hours? I'm not seeing such linear relationship in my ...
-1
votes
1answer
28 views

How to define when auto training should stop?

In AutoML Natural Language is there a way I can define parameters/thresholds where training should stop, e.g., after training for 5 hours or when reaching 50% accuracy? In the documentation there is ...
1
vote
1answer
35 views

How does Google Language API split text into sentences to assign sentiment?

The question is in the title. I have joined sentences into a large text, which I then call analyze_sentiment on. The goal is to pull sentiments for the individual sentences - exactly the ones ...
1
vote
1answer
83 views

Dialogflow Knowledge (beta feature)

I am trying to create FAQ using dialogflow knowledge. Ideally, either the conversation intent or FAQ must trigger. When I type in the FAQ, it does fetch the response from knowledge base but at the ...
1
vote
0answers
28 views

Receiving: 'Auth error:Error: read ECONNRESET' when connecting to google cloud platform behind a proxy

I've been working on a Node.js project that accesses the google cloud api. When I'm in an external network the request works fine and I'm receiving the expected answer. Yet when I'm behind my ...
0
votes
1answer
34 views

Named entities extraction with Google NL API and Open Calais API

I am trying to identify the Named entities from the text and categorize them into People, Places, and Organization. I am using Cloud Natural Language API by Google and Open Calais API to identify the ...
0
votes
1answer
49 views

Google cloud natural language API adding own context classifier

I have been searching how to create a new entity in google natural language API, and found nothing. Can anybody help how to create a new classifier such that if I pass a sentence and I want to detect ...
0
votes
1answer
113 views

How to use Google Natural Language processing from Google Cloud Storage?

I have a sample code here. It is json { "document":{ "type":"PLAIN_TEXT", "content":"Joanne Rowling, who writes under the pen names J. K. Rowling and Robert Galbraith, is a British novelist ...
2
votes
1answer
130 views

How to populate dataframe from dictionary in loop

I am trying to perform entity analysis on text and I want to put the results in a dataframe. Currently the results are not stored in a dictionary, nor in a Dataframe. The results are extracted with ...
0
votes
0answers
53 views

Get polar opposite for every word in google cloud nlp api

I'm working with Google Cloud NLP Api with Python(3.6), my client asked to get polar-opposite/replaced-word-for-opposite-word for every word of provided text file. Here's what I have tried: From ...
0
votes
1answer
62 views

fetching name and age from a text file

I have a .txt file from which I have to fetch name and age. The .txt file has data in the format like: Age: 71 . John is 47 years old. Sam; Born: 05/04/1989(29). Kenner is a patient Age: 36 yrs ...
0
votes
2answers
120 views

Google cloud Natural Language API error:google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials

I use Google cloud's Natural Language API from this link: And I use this command in powershell : $env:GOOGLE_APPLICATION_CREDENTIALS="D:\analyze_sentiment\MyFirstProject-bbe4f7bccb98.json" Then ...
0
votes
1answer
22 views

Cloud Natural Language API service

I want to develop an application that will detect duplicate sentence or question. Can I use Cloud Natural Language API service for detecting duplicate sentence?
0
votes
1answer
63 views

Google Cloud Platform Natural Language API v1beta2

I am doing my dissertation on sentiment analysis on transcriptions of oral testimonies and have a few questions/clarifications regarding the programming behind Google Cloud's Natural Language API ...
0
votes
2answers
198 views

env variable GOOGLE_APPLICATION_CREDENTIALS last only one day on Google cloud

In Google shell which is a part of Google cloud, I set environment variable GOOGLE_APPLICATION_CREDENTIALS because It is need it for PHP NLP project [info: https://cloud.google.com/natural-language/...
1
vote
1answer
171 views

Demo app from Google NLP not working - “code”: 403

Could some one help me with sample application from this site: https://cloud.google.com/natural-language/docs/quickstart-client-libraries#client-libraries-install-php. I did, at least I think I did, ...
0
votes
0answers
48 views

I want to develop rasa-nlu component to integrate with Google CLOUD NATURAL LANGUAGE API

In the pipeline of Rasa NLU, I want to add my custom component which talks with google CLOUD NATURAL LANGUAGE API. I want to know, is it a good idea to use google service instead of default engines ...
-1
votes
1answer
38 views

How can I use Google Natural Processing API to extract emails from a text?

I want to extract emails from a text which I get from the business cards using Google Vision API. How can I do that using Natural Language API? (I'm using Python)
-1
votes
1answer
67 views

What Text Classification algorithms I can use to classify customer chat messages?

I am working on classifying customer chat messages into 5 categories. The example of categories are - Login, SSL etc. For Instance, if customer is having login issues, the message may read something ...
1
vote
1answer
450 views

ImportError: cannot import name language in Google Cloud Language API

I am trying to use this sample code from the Google Natural Language API to get a sentiment score back. However, each time I run the code, I get an "ImportError: cannot import name language." error on ...
0
votes
1answer
104 views

Unable to use dataflow with google cloud nature language API

I have a dataflow pipepline to use google cloud natural language API for sentimental analysis. So, i include jar for cloud language & dataflow runner as below: <dependency> <groupId>...
0
votes
0answers
18 views

Finding the glossary terms using natural language processing (NLP)

I wanted to develop a software which can find the glossary terms from the software requirements document using the natural language processing. Can anyone explain which is best language and technique ...
-2
votes
2answers
241 views

How to build deep learning model that picks words from serval distinct bags and forms a meaningful sentence [closed]

Image of Bags and how to choose from them Imagine I have 10 bags,Ordered one after other.ie Bag 1 , Bag 2 ......... Bag n. Each bag has distinct set of words. In order to understand what a bag is, ...
0
votes
0answers
37 views

Using Google Natural Language API to clean up 'dark' data in Google Sheets

Long ago, I built a Google Form to allow a supervisor to enter daily notes about the progress of a job. The form was unfortunately a little vague, and I only have fields for: Date Number of ...
0
votes
0answers
59 views

is the a machine learning api for combining words into a sentence

There are many machine learning api for scanning images but they just return a bunch of tags. https://azure.microsoft.com/en-gb/services/cognitive-services/computer-vision/ { "tags": [ "train", "...
0
votes
1answer
18 views

how to solve python issue with NoneType

When the following code runs, its getting type error as follows: Traceback (most recent call last): File "Example.py", line 174, in <module> for i,sentence in enumerate(clusters[cluster]): ...
1
vote
1answer
82 views

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 ...
-1
votes
1answer
36 views

How to find freqeuntly occuring phrases in a text document [closed]

I have a text document that has multiple paragraphs. I need to find frequently occurring phrases together. For example Patient name xyz phone no 12345 emailid [email protected] Patient name abc address ...
0
votes
0answers
20 views

Extract Syntax information from Google Natural Language Processing Module

Google Cloud Natural Language Processing Tool Development. I was trying to find the location of this outline in the Syntax module. I want to locate the "for my printer" adp+noun prhase throughout ...
0
votes
2answers
70 views

Google cloud platform throws me API key error

I am working on Google cloud platform (Natural Language processing and Vision API) I set up google cloud API (PHP) and to further authenticate my requests google suggested me like below: First, ...
1
vote
1answer
239 views

Python Packages

I tried run this code that uses Google cloud. import signal import sys from google.cloud import language, exceptions # create a Google Cloud Natural Languague API Python client client = language....