Description Usage Arguments Value Examples
Parse the elements of a character vector into a dataframe of sentences with additional identifiers.
1 | sentenceParse(text, docId = "create")
|
text |
Character vector to be parsed into sentences |
docId |
A vector of document IDs with length equal to the length of |
A data frame with 3 columns and n
rows, where n
is the number of sentences found by the routine. Column 1: docId
document id for the sentence. Column 2: sentenceId
sentence id for the sentence. Column 3: sentence
the sentences found in the routine.
1 2 3 | sentenceParse("Bill is trying to earn a Ph.D.", "You have to have a 5.0 GPA.")
sentenceParse(c("Bill is trying to earn a Ph.D.", "You have to have a 5.0 GPA."),
docId=c("d1","d2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.