Natural language
Natural language is a human language that develops through social use and is used for communication, in spoken or written form.
Natural Language Processing in Action, Second Edition
A natural language is a human language that develops and is used for communication rather than being defined solely by formal syntactic rules.
- How it is used
- Frames NLP as a way to process people’s own language rather than require computer-designed commands.
- How deep it goes
- Explains tokens, grammar, ambiguity, and contextual meaning, but defers knowledge-base techniques for interpreting implicit knowledge.
- Examples
- Uses “good morning,” a combination lock, and chatbot greeting recognition to distinguish contextual meaning from strict pattern matching.
- What you can do after
- Evaluate/understand when simple Python string processing can recognize a phrase and when broader language understanding needs more than rigid rules.
Read how Natural Language Processing in Action, Second Edition explains natural language →
LLMs in Production
A human communication system expressed through speech or writing and governed by linguistic conventions.
- How it is used
- Frames natural language as the shared medium that makes LLM-powered communication and assistance useful.
- How deep it goes
- Explains language as an information-losing abstraction of thoughts and feelings, then moves toward language modeling rather than linguistic mechanics.
- Examples
- Uses shopping and programming assistants, chatbots, and an abstraction diagram to make language-based interaction concrete.
- What you can do after
- Evaluate/understand it as an interface for assistants while recognizing that language-based applications are not suited to every latency or risk requirement.
Learn AI-Assisted Python Programming, Second Edition
A natural language is a human language that arises through ordinary human communication rather than being designed primarily for programming computers.
- How it is used
- Uses everyday language as a preferred interface for describing tasks to computers and large language models.
- How deep it goes
- Contrasts natural language with programming languages and explains ambiguity, variability, and errors without detailing language-model internals.
- Examples
- Uses a Python range example that intends to print 0 through 9 but instead prints 0 through 8.
- What you can do after
- Evaluate/understand why natural-language requests can simplify computer interaction yet still require checking generated code.
Read how Learn AI-Assisted Python Programming, Second Edition explains natural language →
How Large Language Models Work
Human language is a naturally evolved system of symbolic communication used by people.
- How it is used
- Frames human language as the input and output medium through which LLM capabilities and limitations become useful.
- How deep it goes
- Explains conversion to internal representations and links tokenization to code, but stops short of detailing representation formation.
- Examples
- Uses Python, Java, Modula-3, variable names, comments, and tokenized code to illustrate language relationships.
- What you can do after
- Evaluate how language representation influences what an LLM learns and how it can support software solutions.
Read how How Large Language Models Work explains natural language →
Related concepts
- morphologyhas part · Morphology is the study of word structure and the processes by which words are formed and grammatical information is expressed.
- syntaxhas part · Syntax is the set of rules governing how elements of a language or notation may be arranged to form valid expressions or constructs.
- phoneticshas part · Phonetics is the study of speech sounds, including their physical production, transmission, and perception.
- semanticshas part · Semantics is the meaning and behavior conveyed or assigned to expressions, constructs, representations, or their combinations in a language or symbolic system.
- pragmaticshas part · Pragmatics is the study of how context, speaker intentions, shared knowledge, and circumstances affect language meaning and use.
- language modelused by · A language model is a computational model that represents patterns in linguistic tokens to estimate sequence probabilities and predict or generate language from context.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



