Description Usage Arguments Value Examples
Fetch NLPipe results
1 2 |
module |
Name of the NLPipe module to call (e.g. test_upper, corenlp_lemmatize) |
ids |
IDs of the task to get results for |
server |
NLPipe server or local folder (default: localhost:5001) |
format |
The format to download results as (e.g. csv) |
The processed text(s), or NA if status was not 'DONE'. If format is csv, return a single data frame with all result lines
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.