# Natural Language Processing

> 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.

Canonical: https://scaplet.com/glossary/natural-language-processing

Glossary Glossary · Fundamentals

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.

2 min

read

5

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

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.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnatural-language-processing%20(%22Natural%20Language%20Processing%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnatural-language-processing%20(%22Natural%20Language%20Processing%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnatural-language-processing%20(%22Natural%20Language%20Processing%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnatural-language-processing%20(%22Natural%20Language%20Processing%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 2 minutes.

1. [What NLP is 01](#what-nlp-is)
2. [Core NLP tasks 02](#core-nlp-tasks)
3. [Example: entity analysis in Python 03](#example-entity-analysis-in-python)
4. [NLP and SEO 04](#nlp-and-seo)

_01_Explained

## What NLP is

NLP covers methods that let software read, label, and extract information from text. Instead of matching exact strings, an NLP system works with [tokens](/glossary/tokenization), entities, and the meaning of whole sentences.

In search, Google's [BERT](/glossary/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.

_02_At a glance

## Core NLP tasks

Google Cloud's Natural Language API documents these analysis types. The descriptions below follow its basics page.

Task

### 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

Task

### [Entity](/glossary/entity) analysis

What it does

Inspects the given text for known entities (proper and common nouns) and returns information about them

Task

### Entity sentiment analysis

What it does

Inspects the text for known entities and identifies the prevailing emotional opinion of each entity

Task

### Syntactic analysis

What it does

Extracts linguistic information, breaking the text into a series of sentences and tokens

Task

### Content classification

What it does

Analyzes text content and returns a content category for it

_03_Check it

## Example: entity analysis in Python

The [snippet](/glossary/snippet) below calls the Natural Language API to list the entities in a sentence. It needs a Google Cloud project with the API enabled and credentials set up.

Entity analysis with the Natural Language API

```
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)
```

_04_Checklist

## NLP and SEO

Google's ranking systems guide describes BERT as an AI system that helps it understand how combinations of words express different meanings and intent, and neural matching as one that understands representations of concepts in queries and pages. Google's own guidance for writers is simpler. The SEO Starter Guide says creating content that people find compelling and useful will likely influence your website's presence in search results more than any of the other suggestions in the guide, and that keyword stuffing is against Google's spam policies.

1. 01 Name things clearly. Use the full name of a product, person, or place at least once, so entity analysis has something to find.
2. 02 Answer the question near the top of the page, in plain sentences.
3. 03 Use headings that describe each section, so a reader or a model can tell what each part covers.
4. 04 Run your own copy through the entity analysis above if you want to see which entities a model extracts.

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- arxiv.org
- blog.google

1. 01 [Google Cloud: Natural Language API basics](https://docs.cloud.google.com/natural-language/docs/basics) docs.cloud.google.com · checked 2026-10-24
2. 02 [arXiv: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://arxiv.org/abs/1810.04805) arxiv.org · checked 2026-10-24
3. 03 [Google blog: Understanding searches better than ever before (BERT)](https://blog.google/products-and-platforms/products/search/search-language-understanding-bert/) blog.google · checked 2026-10-24
4. 04 [Google Search Central: A guide to Google Search ranking systems](https://developers.google.com/search/docs/appearance/ranking-systems-guide) developers.google.com · checked 2026-10-24
5. 05 [Google Search Central: SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide) developers.google.com · checked 2026-10-24

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What is the difference between NLP and AI?

NLP is a subfield of AI that deals with language. AI also covers vision, planning, and other areas.

_02_ Is BERT an NLP model?

Yes. The BERT paper describes a language representation model that can be fine-tuned for tasks such as question answering and language inference.

_03_ Can I try NLP on my own content?

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.

_04_ Does NLP replace keyword research?

No. Keyword research shows what people search for. NLP is how systems interpret language once they have it. Both inform what you write.

## Keep learning

[All glossary](/glossary)

[Learn BERT Fundamentals](/glossary/bert) [Related Conversational search Guides](/ai-search/conversational-search) [Read next Large Language Model AI search](/glossary/large-language-model) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[MX record (mail exchange)](/glossary/mx-record) [NAP consistency](/glossary/nap-consistency) [Negative SEO](/glossary/negative-seo) [Net revenue retention (NRR)](/glossary/net-revenue-retention)

More in Fundamentals
[Brand awareness](/glossary/brand-awareness) [Content Management System](/glossary/content-management-system) [Customer journey](/glossary/customer-journey) [Enterprise SEO](/glossary/enterprise-seo) [Go-to-market (GTM)](/glossary/go-to-market) [Google dance](/glossary/google-dance) [Growth loop](/glossary/growth-loop) [Headless CMS](/glossary/headless-cms) [LinkedIn SEO](/glossary/linkedin-seo) [manifest.json (web app manifest)](/glossary/manifest-json) [Marketing funnel](/glossary/marketing-funnel) [Marketing qualified lead (MQL)](/glossary/marketing-qualified-lead) [Natural Language Processing](/glossary/natural-language-processing) [Network effect](/glossary/network-effect) [Organic search](/glossary/organic-search) [Outbound marketing](/glossary/outbound-marketing) [Pinterest SEO](/glossary/pinterest-seo) [PPC](/glossary/ppc) [Product marketing](/glossary/product-marketing) [RankBrain](/glossary/rankbrain) [Ranking factors](/glossary/ranking-factors) [SaaS SEO](/glossary/saas-seo) [Sales qualified lead (SQL)](/glossary/sales-qualified-lead) [Search algorithm](/glossary/search-algorithm)

Terms on this page
[Tokenization](/glossary/tokenization) [BERT](/glossary/bert) [Entity](/glossary/entity) [Search snippet](/glossary/snippet)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
