Learn R Programming

Rwordseg (version 0.3-2)

parseSentence: Parse a string of text.

Description

Runs the CoreNLP annotators to parse a string of text.

Usage

parseSentence(text)

Arguments

text

A vector of strings for parsing.

Value

A list of:

parse

A data frame of the results of syntactic parsing tree.

token

A data frame of the results of word segmentation.

depenencies

A data frame of the results of dependency parsing.