Natural language processing (NLP) is the interdisciplinary field that aims to get computers to help people by performing useful tasks involving human language, in text and in speech. Other names for the field include computational linguistics, speech recognition and, most recently, language modeling. Jurafsky and Martin's textbook calls it the new heart of modern AI, with long-standing links to linguistics, psychology, philosophy and cognitive science.
Language models are becoming the foundation for almost all major language technologies, according to Stanford's HELM authors. Large language models (LLMs) are neural networks, particularly transformers, trained on very large amounts of text to predict the next token. For model teams, NLP is also a data discipline: tagging tasks are scored against human gold labels, and post-training can use human-written instructions and human preference judgments.
Natural Language Processing (NLP) at a Glance
| Also called | Computational linguistics; language modeling; spoken language processing (for speech) |
|---|---|
| What it does | Converts text into tokens a model can compute on, then labels, extracts, translates, answers or generates language |
| Where it's used in model development | Pretraining on large text corpora, instruction tuning, preference alignment, benchmarks and human evaluation |
| The human role | Annotation guidelines, gold labels, written demonstrations, preference rankings and human evaluation of outputs |
| Limits | Confabulation, performance gaps between languages and sub-groups, and evaluations that report accuracy alone and hide trade-offs |
How Natural Language Processing Works
Natural language processing works by converting language into tokens, learning statistical patterns from large corpora, and then adapting the resulting model to specific tasks.
From hand-built rules to learned models
Many of NLP's early theories and methods came from linguistics. In the early 1990s the field shifted to empirical methods. Larger corpora let statistical machine learning methods learn the transformations that earlier systems performed with hand-built rules. In 2017 the Transformer architecture replaced recurrence and convolutions with attention mechanisms alone. In 2018 BERT showed that a model pretrained on unlabeled text could be fine-tuned with one additional output layer, setting new state-of-the-art results on eleven NLP tasks.
Tokens, pretraining and post-training
- Tokenization. A token is a word or word-part. In other languages, tokens tend to be smaller than words; one German sentence in the Jurafsky and Martin textbook has 27 tokens for 12 words.
- Pretraining. The model learns to predict the next word, again and again, across a very large corpus. Knowledge of language, concepts and the world comes from that objective.
- Post-training. Instruction tuning, also called supervised fine-tuning (SFT), trains on instructions paired with responses. Preference alignment (sometimes called RLHF or DPO) trains a separate model to judge how well a response matches human preferences, then uses it to fine-tune the base model. Reinforcement learning with verifiable rewards (RLVR) uses tasks with a clear right answer, such as programming or math.
Classic NLP tasks
Many traditional tasks are sequence labeling, where the system assigns one label to each word, as in part-of-speech tagging. Named entity recognition (NER) finds spans of text that are proper names and tags their type, most often PER, LOC, ORG or GPE.
Where NLP Is Used in Model Development and Evaluation
In model development, NLP shows up in two places: the language data a model is trained on and the tests used to judge it.
Training data
- Instruction data. Instruction tuning needs far less data than pretraining: at most millions of examples rather than trillions of tokens. Some sets are written by people; a subset of the Aya corpus holds 204K instruction and response instances written by 3,000 fluent speakers of 65 languages.
- Preference data. The InstructGPT work fine-tuned GPT-3 on labeler demonstrations, then used rankings of model outputs for reinforcement learning from human feedback. In human evaluations on its prompt distribution, outputs from the 1.3B-parameter InstructGPT model were preferred to those of the 175B GPT-3.
Evaluation
NLP adopted blind, cross-system evaluations with the MUC series, followed by TREC and DUC. Those efforts led to metrics such as BLEU and ROUGE, which are computed automatically. GLUE grouped a diverse set of language understanding tasks into one benchmark with a hand-crafted diagnostic suite. HELM measures 7 metrics (accuracy, calibration, robustness, fairness, bias, toxicity and efficiency) for each of 16 core scenarios when possible. Before HELM, models had been evaluated on average on just 17.9% of its core scenarios.
Limits of NLP and the Human Role
Key limits of natural language processing include confabulation, uneven performance across languages and groups, and linguistic ambiguity.
Known failure modes
- Confabulation. NIST defines it as confidently stated but erroneous or false content, known colloquially as hallucination.
- Harmful bias. NIST lists performance disparities between sub-groups or languages, possibly due to non-representative training data. The world has about 7,000 languages, written in more than 150 scripts.
- Ambiguity. In two English corpora, 55 to 67% of word tokens in running text have more than one possible part of speech. NER adds boundary and type ambiguity: "JFK" can be a person or an airport.
Where people stay in the loop
Part-of-speech tagging accuracy is the percentage of test set tags that match human gold labels. English part-of-speech tagging sits near 97%, which is also about human performance, while a most-frequent-tag baseline reaches about 92%, only 5 points lower. NLP datasets are often produced by crowdworkers following carefully written annotation guidelines, and human-written supervised data is time consuming and costly to develop. Unlike instructions, preference judgments do not require people to know how to do the task; they only need an opinion about the result.
Natural Language Processing (NLP) vs. Large Language Models (LLMs)
Natural language processing is the field; a large language model is one kind of system the field builds, and increasingly the foundation of its major technologies.
| Aspect | NLP | LLM |
|---|---|---|
| What it is | A research and engineering field | A neural network, usually a transformer, trained to predict the next token |
| Methods | Rules, statistical models, sequence labelers and neural networks | Pretraining, then instruction tuning and preference alignment |
| Typical outputs | Tags, entities, parses, translations, answers, generated text | Generated text, from which many task outputs are derived |
| Evaluation | Task metrics against gold labels, BLEU, ROUGE | Multi-metric suites such as HELM plus human preference ratings |
Natural Language Processing (NLP) at Hugo
Hugo helps AI companies build and manage dedicated human teams. Several of its service lines involve language data: preference alignment and model post-training, domain-expert prompt generation, multilingual review, and transcription and diarization. Each team is calibrated to the client's own taxonomy, rubric or harness and managed through every cycle. Hugo is not a crowd marketplace, a labeling-software platform or a model vendor.
Related Terms
- Large Language Model (LLM)
- Machine Learning (ML)
- Data Annotation
- AI Model Training
- Generative AI (GenAI)
- Prompt Engineering
- Automatic Speech Recognition (ASR)
- Inter-Annotator Agreement (IAA)
Natural Language Processing (NLP) FAQs
What is natural language processing in simple terms?
Natural language processing is the branch of AI that gets computers to perform useful tasks with human language, such as translating, answering questions or recognizing speech. The field is also called computational linguistics and, more recently, language modeling. Its methods have moved from hand-built rules to statistical machine learning to large neural networks trained on text. Stanford's HELM authors describe language models as becoming the foundation for almost all major language technologies; these models are pretrained to predict the next token, then post-trained. For a team scoping a project, the useful first question is which task the system must do and how its output will be checked.
How does natural language processing work?
Natural language processing works by splitting text into tokens, training a model on large corpora to predict the next token, and then adapting that model to tasks. A token is a word or word-part; one German sentence in the Jurafsky and Martin textbook has 27 tokens for 12 words. Adaptation now usually means post-training: instruction tuning on instruction and response pairs, preference alignment such as RLHF or DPO, and reinforcement learning with verifiable rewards for math or code. Older pipelines instead trained separate models for tasks like part-of-speech tagging and named entity recognition. Both approaches still depend on labeled or judged data.
Is NLP the same as machine learning?
NLP is not the same as machine learning: NLP is the field concerned with human language, and machine learning is the family of methods most of it now uses. A NIST-hosted report traces the shift to the early 1990s, when larger corpora let statistical learning methods replace hand-built linguistic rules. The Transformer and BERT, for example, are machine learning models built and tested on language tasks. In practice, an NLP project is a machine learning project whose inputs and outputs are text or speech, so its data needs center on language-specific labels, instructions and judgments.
How are NLP models evaluated?
NLP models are evaluated with automatic metrics against reference data, multi-task benchmarks and human judgments. Tagging tasks report accuracy against human gold labels; English part-of-speech tagging reaches about 97%, roughly human performance. BLEU and ROUGE are computed automatically, and GLUE bundles a diverse range of language understanding tasks. Stanford's HELM measures 7 metrics, including calibration, robustness, fairness and toxicity, across 16 core scenarios. InstructGPT relied on human evaluators who compared model outputs. A useful practice is to report more than accuracy, because HELM's authors designed its multi-metric approach to expose trade-offs.
What role do humans play in NLP?
Humans define what correct language output looks like in NLP: they write annotation guidelines, produce gold labels, write demonstrations and rank model outputs. Many NLP datasets are produced by crowdworkers following carefully written guidelines. The InstructGPT work used labeler demonstrations for supervised fine-tuning, then rankings of model outputs for reinforcement learning from human feedback. A subset of the Aya instruction corpus was written by 3,000 fluent speakers of 65 languages. When choosing reviewers, match expertise to the task: preference judgments need only an opinion about the result, but written demonstrations require knowing how to do the task.
How much does NLP training data cost?
The sources cited here give no standard price for NLP training data; one key cost driver is how much of the data people must write by hand. Jurafsky and Martin note that developing high-quality supervised data with human writers is time consuming and costly. A cheaper route converts existing NLP datasets into instructions with templates. The most common method, per the same authors, is to have language models write instruction data. Instruction tuning also needs at most millions of examples, far less than pretraining. Ask any provider to price the human-written, human-reviewed and machine-generated portions separately.
When should an AI company outsource NLP data work?
An AI company should consider outsourcing NLP data work when it needs sustained human judgment, such as preference ranking, multilingual review or expert demonstrations, at a volume its own staff cannot cover. Those tasks recur across instruction tuning, preference alignment and evaluation cycles. NIST lists performance disparities between sub-groups or languages as a generative AI risk, so check which languages a team can cover. Before signing, ask how reviewers are calibrated to your guidelines, how disagreements between reviewers are resolved, and how the team handles guideline changes between cycles.
Sources
- Daniel Jurafsky and James H. Martin (Stanford University). Introduction. Speech and Language Processing (3rd ed. draft). Updated August 19, 2026. Accessed November 9, 2026.
- Daniel Jurafsky and James H. Martin (Stanford University). Sequence Labeling for Parts of Speech and Named Entities. Speech and Language Processing (3rd ed. draft). Updated August 19, 2026. Accessed November 9, 2026.
- Daniel Jurafsky and James H. Martin (Stanford University). Post-training. Speech and Language Processing (3rd ed. draft). Updated August 19, 2026. Accessed November 9, 2026.
- Liz Liddy, Eduard Hovy, Jimmy Lin, John Prager, Dragomir Radev, Lucy Vanderwende, Ralph Weischedel (NIST MINDS workshops). Natural Language Processing. Accessed November 9, 2026.
- National Institute of Standards and Technology (NIST). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile. NIST AI 600-1. Updated July 2024. Accessed November 9, 2026.
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, Illia Polosukhin. Attention Is All You Need. Updated August 2, 2023. Accessed November 9, 2026.
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Updated May 24, 2019. Accessed November 9, 2026.
- Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, Samuel R. Bowman. GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding. ICLR 2019. Updated February 22, 2019. Accessed November 9, 2026.
- Percy Liang, Rishi Bommasani, Tony Lee, et al. (Stanford CRFM). Holistic Evaluation of Language Models. Transactions on Machine Learning Research (TMLR). Updated October 1, 2023. Accessed November 9, 2026.
- Long Ouyang, Jeff Wu, Xu Jiang, et al. Training language models to follow instructions with human feedback. Updated March 4, 2022. Accessed November 9, 2026.




