我是R新手。我必须在我的代码中使用POSTagger。我使用openNLP与R.在尝试下面的示例代码(在Sample.R文件): library("NLP")
library("openNLP")
s <- paste(c("Pierre Vinken, 61 years old, will join the board as a ",
"nonexecutive director Nov.
我是NLP和OpenNLP库的新手,目前我正在玩一些功能,特别是图书馆提取组织名称的功能。如果我用一个简单的字符串,如 "Bill worked at Microsoft Corp., JP Morgan Chase, Monsanto and General Motors and was amazed at what went on in Congress. "
我的代码滴出: Detect