CoreNLP

Use CoreNLP to annotate text. For more information, check out https://stanfordnlp.github.io/CoreNLP/.

RPCS

CoreNLP.annotate(text: String, annotators: List<String>?)

Annotate text using the provided annotators.

Arguments:

  • text: String (String) - the text to annotate
  • annotators: List<String>? (List | String) - a list of the annotators to use

Returns: Object (Object) - structured data containing the annotation results

CoreNLP.getAnnotators()

Get a list of all the supported annotators. The complete list is available at https://stanfordnlp.github.io/CoreNLP/annotators.html.

Returns: List<String> (List | String) - list of supported annotators