Specialty Digest

Global English edition Learners’ Study Dashboard — in development

Natural Language Processing

nounArtificial Intelligencealso NLP; computational linguistics

In one line

The branch of artificial intelligence focused on enabling computers to understand, interpret, and generate human language.

Natural language processing, often abbreviated NLP, is the branch of artificial intelligence focused on enabling computers to understand, interpret, and generate human language in both written and spoken form. Human language is full of ambiguity, context-dependence, idioms, and shifting meaning that make it dramatically harder for a computer to process than structured data like numbers in a spreadsheet, and natural language processing combines linguistics, statistics, and machine learning to bridge that gap. The field touches an enormous range of everyday technology, including search engines, spam filters, voice assistants, translation tools, and the chatbots and writing assistants built on modern large language models.

Core Tasks

Natural language processing breaks the broad goal of understanding language into a set of more specific tasks. Tokenization splits raw text into individual words or smaller meaningful pieces, called tokens, which serve as the basic units later processing steps work with. Part-of-speech tagging labels each token with its grammatical role, such as noun or verb, while parsing analyzes how words relate to one another grammatically, building a structural representation of a sentence. Named entity recognition identifies and classifies specific items in text, such as the names of people, places, organizations, or dates, which is essential for tasks like extracting structured information from news articles or legal documents. Sentiment analysis estimates the emotional tone behind a piece of text, powering tools that track public opinion about a product or event across large volumes of social media posts or reviews. Machine translation converts text from one language into another while trying to preserve both meaning and natural phrasing, and text summarization condenses a longer document into a shorter version that still captures its key points.

For decades, natural language processing relied heavily on hand-crafted rules and statistical models built from carefully engineered features extracted from text. That changed dramatically with the rise of word embeddings, which represent each word as a list of numbers, or vector, positioned so that words with similar meanings end up near each other in that numerical space, letting a computer work with meaning mathematically rather than treating words as arbitrary symbols. The transformer architecture, introduced in 2017, took this further by letting a model weigh the relevance of every other word in a passage when interpreting any given word, an approach called attention, which dramatically improved performance on nearly every natural language processing task and became the foundation for modern large language models.

From Rules to Large Language Models

Today’s most capable natural language processing systems are large language models, transformer-based neural networks trained on enormous quantities of text to predict the next word in a passage, a deceptively simple training objective that turns out to teach the model a remarkably broad command of grammar, factual knowledge, and reasoning patterns embedded in its training data. These models power conversational assistants, automatic summarization tools, machine translation systems that now rival professional human translators for many language pairs, and code-generation tools that translate natural-language descriptions directly into working software. Despite this progress, natural language processing systems still struggle with tasks requiring genuine common-sense reasoning, consistent factual accuracy, and robust understanding of rare languages or dialects with little available training data, which remain active areas of ongoing research.

Evaluating and Testing Language Systems

Because language has no single objectively correct output for many tasks, evaluating natural language processing systems is its own challenge. Translation and summarization systems are often scored using automated metrics that compare generated text against one or more human-written reference answers, while other tasks rely on standardized benchmark datasets covering reading comprehension, logical reasoning, and factual question answering, letting researchers compare different systems on common ground. Human evaluation remains essential as well, since automated metrics can miss subtle issues such as a translation that is grammatically correct but captures the wrong tone, or a summary that is fluent but omits a crucial detail from the original text.

Bias is another ongoing concern, since a language model trained on large amounts of text scraped from books, websites, and other real-world sources inevitably absorbs some of the patterns, stereotypes, and factual errors present in that training data. Researchers and companies building natural language processing systems invest significant effort in filtering training data, fine-tuning models on curated examples, and testing systems for problematic outputs before deployment, though eliminating bias entirely from a system trained on real human-generated text remains an unsolved and actively researched problem.

Frequently Asked Questions

What is the difference between natural language processing and a large language model? Natural language processing is the broader field covering any technique for getting computers to work with human language, including older rule-based and statistical methods. A large language model is one specific, currently very successful approach within that field, built on transformer neural networks trained on massive amounts of text.

Why is human language so hard for computers to process? Human language is ambiguous, highly context-dependent, and full of idioms, sarcasm, and shifting meaning that depend on real-world knowledge and social context a computer does not automatically possess. The same sentence can mean different things depending on tone, prior conversation, or cultural context, which makes language processing far harder than tasks with more rigidly defined rules.

What everyday applications rely on natural language processing? Search engines use it to understand queries beyond simple keyword matching, email providers use it to detect spam and phishing attempts, voice assistants use it to interpret spoken commands, and translation apps use it to convert text between languages, often all working quietly behind the scenes without users ever noticing the underlying technology doing the work.

Key facts

  • NLP covers tasks like tokenization, parsing, named entity recognition, and sentiment analysis.
  • Word embeddings represent words as numerical vectors capturing meaning.
  • The transformer architecture's attention mechanism greatly improved NLP performance.
  • Large language models are the current leading approach within NLP.
  • Ambiguity and context-dependence make human language difficult for computers to process.
Quick checkWhat changed natural language processing most dramatically in recent years?Show answer

The introduction of the transformer architecture in 2017 and its attention mechanism let models weigh the relevance of every other word in a passage, which became the foundation for large language models and produced major improvements across nearly every NLP task.

Sources

  1. Speech and Language Processing (Jurafsky & Martin); Attention Is All You Need (Vaswani et al., 2017)

Editorially reviewed by Specialty Digest Editorial TeamLast reviewed November 2, 2026Researched and drafted with AI assistanceReport an issue