Google Natural Language Processing API for Deep Connect
JavaScript
Google Natural Language Processing API for Deep Connect
Development
Get GOOGLE_CLOUD_KEYFILE:
In the Cloud Console, enable Cloud Natural Language API.
Go to the Create service account key page.
From the Service account list, select New service account.
In the Service account name field, enter a name.
From the Role list, select Project > Owner.
Click Create. Download the JSON file to src folder. Update filename in constants.js or in env.
Run yarn && yarn dev.
Demo
curl --location --request POST 'http://localhost:7819/v1/analyze' \
--header 'Content-Type: application/json' \
--data-raw '{ "text": "Hello I'\''m Hiep, I live in district 4th, Ho Chi Minh City. I work at Inapps Technology Company"}'