The AI-powered Entity Audit
- Entity Extraction with the Google NLP API
- How Machines Decide What Your Page Is About
- Setup: Your Audit Stack, API Keys and What It Costs
APIs
In shortGoogle Cloud's pre-trained NLP API for entity analysis, sentiment, syntax, text classification and content moderation, usable without training a model.
The Google Cloud Natural Language API is a pre-trained natural language processing service on Google Cloud. You send it text (or HTML) and it returns structured analysis: entities, sentiment, grammatical structure, content categories and moderation flags. Because the models are already trained, it is one of the most beginner-friendly ways to bring machine learning into SEO work, and it runs from Google Sheets via Apps Script with no coding.
The API has separate methods (modules), each returning its own fields:
There are two versions. v2 offers entities, sentiment, classification and moderation but drops the entity sentiment and syntax methods, which remain in v1. The versions score the same text differently, so choose one and keep it for anything you track over time.
In MLforSEO’s comparison of NLP APIs, Google’s API returned the most entities by far (59 unique) for the same text that was sent to Amazon Comprehend, IBM Watson NLU and four chatbots, along with salience, sentiment and Knowledge Graph links for each. Volume is not accuracy, which is why the post also scores the core named entities.