PolMine / bignlp

Tools to process large corpora line-by-line and in parallel mode
1 stars 1 forks source link

Minor remarks for the documentation of corenlp_annotate() #35

Open ChristophLeonhardt opened 2 years ago

ChristophLeonhardt commented 2 years ago

The documentation of corenlp_annotate() includes two consecutive calls of the function:

https://github.com/PolMine/bignlp/blob/e6a6bda102d338880be787caf53b1f03a728600a/R/corenlp.R#L52-L65

Two remarks here:

Another minor remark would be that in the documentation for "Scenario 2b" it is necessary to instantiate the Pipe object. This is done in "Scenario 2a" but if it should be possible to run the examples independently, the object is missing. It might be redundant, but I think it would be clearer if the Pipe object is instantiated in "Scenario 2b" as well.