Natural Language Processing (NLP)
The study and engineering of methods that enable computers to interpret, generate, and analyze human language, drawing on linguistics, statistics, and machine learning.
Overview
Natural language processing (NLP) is the area of computer science and artificial intelligence concerned with enabling machines to understand, produce, and reason about human ("natural") languages. It sits at the intersection of computer science, artificial intelligence and linguistics, combining knowledge of language structure with statistical and machine learning methods to process text and speech automatically.
Image gallery
4 ImagesCore tasks and components
NLP is organized around a set of recurring tasks and building blocks. Typical components include tokenization (splitting text into words or subwords), part-of-speech tagging, syntactic parsing, named entity recognition, coreference resolution, and semantic role labeling. Higher-level tasks often built from these components include:
- Machine translation: converting text between languages.
- Summarization: producing concise representations of longer documents.
- Question answering and information retrieval: finding and extracting answers from text.
- Sentiment analysis and opinion mining: detecting sentiment, stance, or emotion.
- Dialogue systems and conversational agents: managing multi-turn interactions.
Methods and historical development
Early NLP work relied heavily on hand-written rules and symbolic grammars. Later decades shifted toward statistical approaches that learn from annotated corpora. The rise of machine learning brought classifiers and probabilistic models; more recently, deep learning and distributed representations (word embeddings) have dominated the field. A major advance came with large neural architectures, especially transformer-based models, which enabled more fluent generation and transfer learning from massive unlabeled text collections.
Data, resources, and evaluation
Progress in NLP depends on datasets and benchmarks: parallel texts for translation, annotated corpora for tagging and parsing, and question-answer sets for comprehension. Evaluation uses task-specific metrics such as BLEU for translation, F1 for tagging, and human judgments for generation quality. Pretrained models are often fine-tuned on smaller task datasets to adapt their general knowledge to particular applications.
Applications and importance
NLP powers search engines, virtual assistants, machine translation services, automated summarization, content moderation, and many business intelligence tools. It is increasingly used in specialized domains such as healthcare (clinical note analysis), law (contract review), and education (automated feedback). The technology enables automation of routine language tasks and improves accessibility across languages.
Challenges and considerations
Natural language is ambiguous, context-dependent, and culturally grounded, which creates persistent difficulties for models. Key concerns include handling low-resource languages, maintaining factual accuracy in generated text, mitigating bias embedded in training data, protecting privacy, and interpreting model decisions. Ongoing research aims to make systems more robust, transparent, and fair while expanding capabilities across diverse languages and modalities.
Notable distinctions
"Natural" languages refer to human languages rather than programming languages. NLP overlaps with but is distinct from computational linguistics, which emphasizes formal language description and linguistic theory; NLP tends to focus more on engineering and application. For further background on linguistic foundations, see linguistics resources.
Related articles
Author
AlegsaOnline.com Natural Language Processing (NLP) Leandro Alegsa
URL: https://en.alegsaonline.com/art/68770