Decoder for phrase-based machine translation.