Translation model

The translation model can be considered the heart of the machine translation model. In the translation model, we are required to estimate the probability P(s/t), where s is the source language sentence and t is the target language sentence. Here, the source sentence is given, while the target is the one that we seek to find out. Hence, this probability can termed as the likelihood of the source sentence given the target sentence. For example, let's imagine that we are translating a source text from French to English. So, in the context of P(s/t), our target language is French and our source language is English, while in the context of the actual translation, that is, P(s/t)P(t), our source language is French and our target ...

Get Intelligent Projects Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.