Home - GateNLP/gateplugin-Tagger_GoogleNLP GitHub Wiki

GATE Tagger Plugin for the Google NLP service

This plugin allows to use the GATE natural language API (see https://cloud.google.com/natural-language/) with GATE.

To use this plugin, you must first obtain a Google service account and make sure that the key is authorised to use the NLP API and that the NLP API is enabled. This may require to have an active billing account.

Once the service account is created, download the JSON key file for it, this should be a file with a name of the form <projectname>-<keyidprefic>.json. The location of this file needs to be specified as a runtime parameter or by setting the environment variable GOOGLE_APPLICATION_CREDENTIALS to its location prior to starting GATE.

The plugin supports the full functionality of the Google NLP API.

IMPORTANT: since the Google NLP API is still in beta, the way of how to use it could change in the future and consequently the functionality of this plugin could also change or a plugin version could stop working with a new Google NLP API version.

Processing Resources

Tagger_GoogleNLP annotate documents using the Google NLP API