A bit of refactoring for sample.py
rnnencdec -> nmt