Description Usage Arguments Value
The data is sorted by aid, sentence, and offset, and the words are pasted together to a single character value. The word.column parameter specifies which column to use for the words. If multiple columns arse given (e.g. lemma and POS) they are pasted together with a slash ("Like/IN this/DT")
1 | get_text(tokens, word.column = "word")
|
tokens |
a data frame of tokens containing id, parent, and relation columns |
word.column |
the column(s) containing the words to use. |
the text as a single character value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.