search for: a3w

Displaying 1 result from an estimated 1 matches for "a3w".

Did you mean: a3
2013 Sep 04
0
Error in Parts of Speach Tagging using openNLP in Cloud environment
...e that I am using: tagPOS <- function(x, ...) { s <- as.String(x) word_token_annotator <- Maxent_Word_Token_Annotator() a2 <- Annotation(1L, "sentence", 1L, nchar(s)) a2 <- annotate(s, word_token_annotator, a2) a3 <- annotate(s, PTA, a2) a3w <- a3[a3$type == "word"] POStags <- unlist(lapply(a3w$features, `[[`, "POS")) POStagged <- paste(sprintf("%s/%s", s[a3w], POStags), collapse = " ") list(POStagged = POStagged, POStags = POStags) } cl <- makeCluster(mc <-...