bug fix alternative weight setting
Merge github.com:moses-smt/mosesdecoder into hieu_opt_input