Sentiment analysis
- What it does
- Inspects the given text and identifies the prevailing emotional opinion, such as a writer's attitude as positive, negative, or neutral
NLP is the AI field that lets software work with human language. See the core tasks Google Cloud documents, with a code example and how it connects to search.
Natural language processing (NLP) is the field of AI concerned with getting software to work with human language, such as classifying text, finding the entities in it, and judging sentiment. In search, models like BERT use it to interpret queries. Google Cloud's Natural Language API offers several of these analyses as an API.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
In search, Google's BERT model is an example. Google says BERT models can consider the full context of a word by looking at the words before and after it, which is particularly useful for understanding the intent behind search queries.
from google.cloud import language_v1
client = language_v1.LanguageServiceClient()
document = language_v1.Document(
content="Google Search Console shows which pages are indexed.",
type_=language_v1.Document.Type.PLAIN_TEXT,
)
response = client.analyze_entities(request={"document": document})
for entity in response.entities:
print(entity.name, entity.type_.name)4 questions people ask next, answered from the sources on this page.
NLP is a subfield of AI that deals with language. AI also covers vision, planning, and other areas.
Yes. The BERT paper describes a language representation model that can be fine-tuned for tasks such as question answering and language inference.
Yes. Google Cloud's Natural Language API can run sentiment, entity, syntactic, and classification analysis on text you send it. Check Google Cloud's pricing and quota pages before running it at scale.
No. Keyword research shows what people search for. NLP is how systems interpret language once they have it. Both inform what you write.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.