use try-with-resources for auto closing opened input stream
Merge pull request #32 from Marcon/opennlpsplitter

use try-with-resources for models InputStream