status: Check NLPipe processing status

Description Usage Arguments Value Examples

Description

Check NLPipe processing status

Usage

1
2
status(module, ids, server = getOption("nlpiper.server", default =
  "http://localhost:5001"))

Arguments

module

Name of the NLPipe module to call (e.g. test_upper, corenlp_lemmatize)

ids

IDs of the task to check status

server

NLPipe server or local folder (default: localhost:5001)

Value

A string for each task indicating processing status

Examples

 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)

vanatteveldt/nlpiper documentation built on May 3, 2019, 2:59 p.m.