Sorry, I do not know much about the R package. Its not a part of the project
here. Maybe they have their own mailing list where you can ask?
Jörn
On 12/5/10 11:30 PM, Sascha Wolfer wrote:
Dear list,
after searching for several hours in documentations and the web and
stuff, I didn't find any solution for my problem, so here it goes...
I want to use openNLP with R, using the package "openNLP" and the
model for german. So I did the following in R:
> install.packages("openNLP")
> install.packages("openNLPmodels.de", type = "source", repos =
"http://datacube.wu.ac.at")
Everything seems to be installed correctly. So I tried this simple
example:
> s <- "Dies ist ein Satz. Und hier ist noch einer."
> sentDetect(s, model = "openNLPmodels.de")
Now here goes the error I get when doing this:
Fehler in .jnew("opennlp/maxent/io/SuffixSensitiveGISModelReader",
.jnew("java.io.File", :
java.io.FileNotFoundException: openNLPmodels.de (Das System kann die
angegebene Datei nicht finden)
Translation:
Error in .jnew("opennlp/maxent/io/SuffixSensitiveGISModelReader",
.jnew("java.io.File", :
java.io.FileNotFoundException: openNLPmodels.de (System cannot find
the specified file)
Does anyone have an idea what the problem is? Perhaps I'm doing
something awefully wrong here... do I have to install more than the R
package(s) to get this running in R?
I'm on Win 7 with R 2.12.0, but I get exactly the same error on my Mac.
Thanks in advance,
Sascha W.