Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
The trivial solution does unfortunately not work
I extended the loading routine with a platform check and attempted to load the
crfsuite.exe file
return new
RuntimeProvider("classpath:/de/tudarmstadt/ukp/dkpro/tc/crfsuite/").getFile(
"crfsuite.exe").getAbsolutePath();
It seems the RuntimeProvider class can't handle the '.' in the executable's
name.
Does anyone have an idea how to solve this. Is there an alternative way to
loading the binary or would I have to load the file manually by using the class
loader, stream it as a resource and copy it into the temp folder directly?
Original comment by Tobias.H...@gmail.com
on 3 Mar 2015 at 4:19
How about just removing the ".exe" from the executable - that's how it is done
in DKPro Core SFST and TGrep modules (but I think I never tested them on
windows).
Original comment by richard.eckart
on 3 Mar 2015 at 4:35
This worked :) Thx.
Original comment by Tobias.H...@gmail.com
on 4 Mar 2015 at 7:35
Original issue reported on code.google.com by
Tobias.H...@gmail.com
on 27 Feb 2015 at 10:55