Description Usage Arguments Value Examples
For instructions for setting up an NLPipe server, see https://github.com/vanatteveldt/nlpipe
1 2 | process_async(module, texts, server = getOption("nlpiper.server", default =
"http://localhost:5001"), ids = NULL, as_ascii = F)
|
module |
Name of the NLPipe module to call (e.g. test_upper, corenlp_lemmatize) |
texts |
Texts to process |
server |
NLPipe server or local folder (default: localhost:5001) |
ids |
optional explicit ids |
as_ascii |
if TRUE, force convert text to ascii before processing |
IDs of the tasks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## setup corenlp, e.g. run corenlp docker.
## For instructions see <https://github.com/vanatteveldt/nlpipe>
## start process
task_id = nlpiper::process_async("corenlp_lemmatize", c("This is an example.", "This as well."))
## check status
nlpiper::status("corenlp_lemmatize", ids = task_id)
## retrieve results
nlpiper::result('corenlp_lemmatize', ids = task_id, format = 'csv')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.