Hi Rupert, All,

I was playing with the implementation of DataFileprovider service provided
by OpenNLP. It provides the InputStream of the data to the bundle (that's
what DataFileProvider  service do). I want to get the location (URL) of the
model file from where it is parsed i.e.
eg. 'stanbol/datafile/path/to/file' or
'jar:file:/home/.m2/repository/jarfile.jar!/path/to/file'

Sphinx needs the URL to load the model files. No such api has been provided
yet by Sphnix to load the model as Stream ( I confirmed it from the
discussion forum ).

Is there a way to get the URL,
DataFileproviderEvent.getActualFileLocation() returns information of
location of file, if I am correct can this service be used or I have to
develop an api to provide the service of accessing URL of file?

Regards,
Suman Saurabh

Reply via email to