Displaying 2 results from an estimated 2 matches for "sentdetect".
Did you mean:
ntdetect
2010 Dec 02
1
openNLP package error
...NLP")
> install.packages("openNLPmodels.de", repos =
"http://datacube.wu.ac.at/", type = "source")
> library(openNLPmodels.de)
> library(openNLP)
So I installed the main package as well as the supplementary german
model. Now, I try to use the "sentDetect" function:
> s <- c("Das hier ist ein Satz. Und hier ist noch einer - sogar mit
Gedankenstrich. Ist das nicht toll?")
> sentDetect(s, language = "de", model = "openNLPmodels.de")
I get the following error message which I can't make any sense of:...
2012 Jun 15
1
help in sentDetect() fuction
...and
irritated.Iraq?s political crisis entered its second week one step closer to
the potential.dissolution of the government, with a call for elections by a
vital coalition partner and a suicide attack that extended the spate of
violence. that has followed the withdrawal.of U.S. troops"
> sentDetect(s, language = "en")
#getting output in the following way
[1] "I am very happy, excited, and optimistic.I am very scared, annoyed, and
irritated.Iraq?s "
[2] "political crisis entered its second week one step closer to the
potentia...