http://cran.r-project.org/src/contrib/

i dont see there any models for german.
i see there only models for english and spanish.
the maintainer for the english models is [email protected]
the mailing lists for R are listed here
http://www.r-project.org/mail.html

i guess you can install the german models from the download site of
opennlp and
keep the directory structure like the package for english.

reinh...@thord:>tar -zxvf openNLPmodels.en_0.0-4.tar.gz
openNLPmodels.en/
openNLPmodels.en/DESCRIPTION
openNLPmodels.en/inst/
openNLPmodels.en/inst/models/
openNLPmodels.en/inst/models/sentdetect/
openNLPmodels.en/inst/models/sentdetect/EnglishSD.bin.gz
openNLPmodels.en/inst/models/parser/
openNLPmodels.en/inst/models/parser/head_rules
openNLPmodels.en/inst/models/parser/tag.bin.gz
openNLPmodels.en/inst/models/parser/tagdict
openNLPmodels.en/inst/models/tokenize/
openNLPmodels.en/inst/models/tokenize/EnglishTok.bin.gz


regards
reinhard

Am 06.12.2010 09:06, schrieb Sascha Wolfer:
> 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