rxn.onmt_utils.internal_translation_utils
Functions
|
Create the opt arguments by taking the defaults and overwriting a few values. |
Create the OpenNMT parser, adapted from OpenNMT-Py repo. |
Classes
|
Translator class that is very coupled to the internal OpenNMT implementation. |
|
Struct containing the result of a translation with OpenNMT. |