Hello and thanks for your answers,

as I didn't catch any errors installing and loading the packages, I guess this shouldn't be the problem - unless I have to install something else than the packages "openNLP" and "openNLPmodels.de" in R.

I didn't find any help list regarding the R packages, so I thought this is the right place to post this - sorry if this is not the case.

Thanks,
Sascha W.

Am 06.12.2010 01:05, schrieb reinhard schwab:
i guess you have not installed the language models.
have you installed them?

because you get an error message

Error in .jnew("opennlp/maxent/io/SuffixSensitiveGISModelReader",
.jnew("java.io.File",  :
   java.io.FileNotFoundException: openNLPmodels.de (System cannot find
the specified file)

regards


Am 05.12.2010 23:30, schrieb Sascha Wolfer:
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.


Reply via email to