Machine translation
Machine translation is the automated computational conversion of text or speech from one natural language into another.
Inside AI
Automatic translation is the computational conversion of content from one human language to another.
- How it is used
- Illustrates both AI’s ability to support cross-language communication and its limits on seemingly straightforward language tasks.
- How deep it goes
- Explains failures through worked French-to-English examples and plausible causes, without detailing translation algorithms.
- Examples
- Uses a French saying mistranslated through an apparent idiom substitution and a sentence where “avocat” is rendered as “avocado.”
- What you can do after
- Evaluate/understand why online translations may need human checking when idioms or context-dependent words matter.
Starting Data Analytics with Generative AI and Python
Code conversion is the transformation of source code from one programming language into equivalent code in another language.
- How it is used
- Evaluates moving analytics code between languages to improve scalability or meet framework requirements.
- How deep it goes
- Explains conversion benefits and risks with paired code listings, but does not provide benchmarks or a step-by-step validation procedure.
- Examples
- Compares a Python bootstrap confidence-interval function with a Java implementation using Apache Commons Math.
- What you can do after
- Evaluate/understand it by weighing possible target-language benefits against conversion effort and the risk of new bugs.
Read how Starting Data Analytics with Generative AI and Python explains machine translation →
Learn Generative AI with PyTorch
The task of automatically translating text from one natural language to another.
- How it is used
- Uses English-to-French translation as a sequence-to-sequence task for building and training an encoder-decoder Transformer.
- How deep it goes
- Works through model construction and a training pipeline, from subword preparation to generating translations, rather than stopping at a task definition.
- Examples
- Uses English-to-French sentence pairs, including “I do not speak French” and “Je ne parle pas français,” plus a dataset of more than 47,000 pairs.
- What you can do after
- Build it from scratch, train an encoder-decoder Transformer on English-to-French pairs, and use it to translate common phrases.
Read how Learn Generative AI with PyTorch explains machine translation →
How Large Language Models Work
Machine translation is the automated conversion of text or speech from one human language into another by computational systems.
- How it is used
- Deploys machine translation as an automated aid for repetitive, mildly varying language work.
- How deep it goes
- Explains suitable task patterns and economic implications but stops short of describing translation algorithms or implementation.
- Examples
- Uses repetitive translation work, automated translation workflows, and changing demand for translation services as examples.
- What you can do after
- Apply it via automated tools for suitable translation tasks while evaluating novelty, workflow effects, and continuing human demand.
Read how How Large Language Models Work explains machine translation →
Data Analysis with LLMs
Translation is the conversion of content from a source language into an equivalent target language.
- How it is used
- Supports spoken communication across languages through a translator that turns speech in one language into speech in another.
- How deep it goes
- Traces transcription, prompt-based text translation, and speech generation through a working Python implementation.
- Examples
- Uses spoken English translated into French and English recast in a Shakespearean style.
- What you can do after
- Operate a speech translator by recording input and supplying a target language or style.
Read how Data Analysis with LLMs explains machine translation →
Introduction to Generative AI, Second Edition
Machine translation is the automated conversion of text or speech from one human language into another.
- How it is used
- Automates translation between languages and serves as a long-standing application of language models.
- How deep it goes
- Explains tokenization, representation, processing, decoding, and attention conceptually without detailing implementation.
- Examples
- Uses an English-to-Spanish sentence and traces the history from programmed rules to statistical and LLM-based translation.
- What you can do after
- Understand how a neural model turns an input sentence into a translation and uses attention to weigh relevant input.
Read how Introduction to Generative AI, Second Edition explains machine translation →
Microsoft Azure in Action
Machine translation is the automated conversion of text or speech from one natural language into another.
- How it is used
- Provides multilingual captions or dubbed audio for live events and recorded webinars.
- How deep it goes
- Explains the speech-recognition, translation, and optional speech-synthesis pipeline, and contrasts streaming with batch review.
- Examples
- Uses live Spanish and French captions for an author Q&A and dubbed audio for a recorded panel.
- What you can do after
- Apply it through Azure Speech SDKs or REST APIs to create live captions or batch translated transcripts and audio.
Read how Microsoft Azure in Action explains machine translation →
Data Without Labels
Machine translation is the automated conversion of text or speech from one human language to another.
- How it is used
- Positions machine translation as an NLP application for converting text between languages.
- How deep it goes
- Explains grammatical differences as a challenge and names deep learning as a good fit, but gives no translation-specific implementation.
Related concepts
- BLEU scoremeasured by · BLEU is an automatic text-generation evaluation metric that compares candidate text with reference text using modified n-gram precision and a brevity penalty.
- 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.
- encoderuses · An encoder is a component that transforms input data into an encoded representation for subsequent processing, reconstruction, comparison, or transmission.
- natural language processingkind of · Natural language processing is the field of computing concerned with computationally analyzing, interpreting, transforming, or generating human language.
- n-gram modelused by · An n-gram model is a probabilistic language model that estimates sequence probabilities using contiguous sequences of a fixed number of tokens, typically to predict a token from preceding 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.







