← View in Interactive Graph

15. Machine Translation

1. What is Machine Translation?

Machine Translation is the task of automatically converting text from one natural language (source language) to another (target language) using computational methods.

2. Types of Machine Translation

1. Rule-Based Machine Translation (RBMT)

Definition: Relies on a set of linguistic rules (syntactic, morphological, semantic) along with bilingual dictionaries.

Architecture:

  1. Analysis Phase: Parses source sentence (morphology & syntax).

  2. Transfer Phase: Applies rules to convert source structure to target.

  3. Generation Phase: Generates correct target language sentence.

Example (English to Hindi):

Pros & Cons:

2. Statistical Machine Translation (SMT)

Definition: Uses statistical models built from bilingual parallel corpora to generate translations based on probability.

Architecture:

Example:

Pros & Cons:

3. Neural Machine Translation (NMT)

Definition: Uses deep learning models (Encoder-Decoder with Attention) to translate end-to-end.

Architecture:

Example:

Pros & Cons:

3. Comparison Table

Feature Rule-Based (RBMT) Statistical (SMT) Neural (NMT)
Approach Linguistic rules Probabilistic models Deep learning
Input Morphological analysis Word/phrase alignment Word embeddings
Output Quality Grammatically correct Phrase-accurate Fluent & contextual
Idiom Handling Poor Moderate Good
Resources Linguists Parallel corpus Big Data + GPU
Google Translate Early (Pre-2007) 2007–2016 2016–Present

4. Challenges in MT

  1. Word Sense Disambiguation: e.g., "bank" (river vs. finance).

  2. Named Entity Recognition (NER): Translating names properly.

  3. Low-resource Languages: Lack of parallel corpora.

  4. Idioms: "Kick the bucket" \neq kicking a literal bucket.

  5. Politeness/Formality: Varies by language (e.g., Japanese honorifics).


Tags: #math #statistics

Natural_Language_Processing_NLP