joshua-decoder/joshua — pull request #65 by lukeorland (2012-11-05 03:47:01+00:00)
Title: fix bug when input ends with newline. FIXME: hangs when line is just whi...

* The `Translations` public class was moved from inside the `Decoder` class out into its own file so that it could be unit tested.

* found another bug: hangs when line is just whitespace.

e.g. try this command:

echo "1\n \n2\n" | ./joshua-decoder

* This brings up a design question: If an input line is only whitespace, should it be skipped? That's the current intended behavior, except it's not working.