It is possible to use the application from the command line.

The application reads data from stdin and
outputs the results to stdout.
Added a .gitignore file.

We want to ignore Eclipse files and the target directory.
Refactored the method for getting parameters in JUnit tests.
A question or exclamation mark can also trigger the end of the sentence.

Also: added some boundary case unit tests (e.g. empty input, one word input etc.).