OpenNMT Forum

Freezing words with opneemt-lua

Hello!
Is there any way to freeze some word to not be translated? For instance, only translate certain word in a sentence and keep the rest as it is?

Cheers
Claudia

Hi,

I don’t think there was a specific option for that. But as always, you could probably find ways to express this task in the training data itself.