Natural Language Processing (NLP)

The branch of AI focused on understanding and generating human language.

What would it take to answer a visitor’s message?

A visitor writes, “Could you move my print-room booking from Friday to Monday?” Different language tasks contribute different pieces.

  1. Recognize the request

    A classifier could label this a booking change. A keyword search for “Friday” would miss which day the visitor wants.

  2. Identify the roles

    Extract the room, the existing day and the requested day. Reversing the two dates changes the action.

  3. Compose a reply

    The reply can ask which Monday is intended or state the result returned by the booking system. Confirming the change requires a recorded booking update.

Choose the task before choosing a model

Natural language processing includes classification, extraction, translation and generation. A small classifier or a set of rules may handle a narrow request. Evaluate the part the visitor depends on, such as assigning each day to its correct role, alongside the quality of the written reply.

What NLP Covers

NLP includes many kinds of tasks. Some are analytical, such as sentiment analysis, aspect-based sentiment analysis, document classification, entity extraction, and search. Others are generative, such as summarization, question answering, translation, and dialogue. Modern NLP also overlaps heavily with speech systems and multimodal interfaces that combine text with images or audio.

The field has evolved from rule-based and statistical methods into systems built on deep learning and Transformers. Today's large language models are a major part of NLP, but they are not the whole field. NLP also includes many smaller, targeted language systems.

Follow the idea

Named Entity Recognition (NER) · Named entity recognition can identify mentions of dates and places.

Text summarization condenses a longer visitor message.

Related concepts (6)

Examples in the AI guides

Related Yenra articles (12)

Source · spaCy documentation on language processing pipelines

Return to Natural Language Processing (NLP) in the A–Z glossary