clearnlp/clearnlp-dictionary — pull request #1 by xcurry (2014-08-23 04:19:25+00:00)
Title: Add ability to return needed resource without having to unzip package

We are thinking about using the clearnlp package for our products, but ran into issues right out of the gate. We could not compile the clearnlp as the tests their are expecting the dictionary files to be in your local directory in a zip file format. While trying to change that, noticed that extraction of a 'resource' requires to unzip the file and look for it which is somewhat painful.

I have added a simple class which will return the resource as a stream.

Second, I am not sure that all resources here are of type 'dictionary'. Suggest changing the name to clearnlp-resources or something along those lines. If this is acceptable, I will start to change the clearnlp package to use this API to load the needed resources.

Third, you will notice that I have created a separate branch for this. Hopefully this will make it easier for you to track the changes from master.

Thanks.