Description Usage Arguments Examples
Access tokens of documents as a vector.
1 2 3 4 5 6 7 8 9 10 | get_tokens(document)
## S3 method for class 'document'
get_tokens(document)
## S3 method for class 'documents'
get_tokens(document)
## S3 method for class 'corpus'
get_tokens(document)
|
document |
A document as returned by the |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
init_textanalysis()
# build document
doc <- string_document("This is a document.")
# extract tokens
get_tokens(doc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.