apache/opennlp — pull request #1 by aaronbinns (2014-02-23 18:53:53+00:00)
Title: Trim whitespace from input string.

Fixes bug in command-line tool for Parser where an input string comprised of whitespace only will trigger an array index exception in parseLine()
```
String text = sb.substring(0, sb.length() - 1);
```
because the whitespace won't produce any tokens.

By trimming the input string, it is treated the same as an empty string/blank line.