liveBook · Manning

Natural language processing

As explained in Deep Learning with R, Third Edition

Natural language processing is the computational analysis and generation of human language.

Natural language processing (NLP) uses computers to interpret and manipulate human language. Because natural language is ambiguous, inconsistent, and constantly changing, practical systems must handle more than fixed grammar rules. section 14.1

A practical NLP workflow begins with manageable text tasks:

  • Preprocess text input into numeric input suitable for computation. section 14.0
  • Build simple text classification models as a foundation for more complicated architectures. section 14.0
  • Account for context and generalization rather than relying only on hand-written language rules. section 14.1

From hand-coded translation to modern applications

An early Russian-to-English system used six grammar rules and a small lookup table to translate 60 selected sentences. Its success on curated examples contrasted with the difficulty of building a robust general translator. Later NLP advances supported chatbots, programming assistants, transcription, and improved machine translation. section 14.1 section 1.9

How Deep Learning with R, Third Edition covers it

How deep it goes
Progresses from definition and history to numeric preprocessing and simple classifiers, while deferring more complicated models such as Transformers.
Examples
Uses an early Russian-English translation system, chatbots, programming assistants, transcription, and machine translation as examples.
What you can do after
Build it from scratch by preprocessing text into numeric input and constructing simple text classifiers.
How it connects
Links natural language processing to text classification, machine translation, deep learning, and Transformers.

Also explained in

Compare how 15 books explain natural language processing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.