moses-smt/mosesdecoder — pull request #37 by neubig (2013-06-01 03:41:08+00:00)
Title: Fixed crash in interpolation for small lambdas

The EMS crashed when interpolating language models when the ideal lambdas included numbers so small that they required scientific notation (eg: 1.332e-07). This patch adds "e" and "-" to the acceptable numbers to fix this problem