onmt.Translator

Undocumented methods

* onmt.Translator.declareOpts(cmd) * onmt.Translator(args) * onmt.Translator:buildData(srcBatch, srcFeaturesBatch, goldBatch, goldFeaturesBatch) * onmt.Translator:buildTargetTokens(pred, predFeats, src, attn) * onmt.Translator:translateBatch(batch) * onmt.Translator:translate(srcBatch, srcFeaturesBatch, goldBatch, goldFeaturesBatch)