Compact machine translation system