get_tokens.Rd
Access tokens of documents as a vector.
get_tokens(document) # S3 method for document get_tokens(document) # S3 method for documents get_tokens(document) # S3 method for corpus get_tokens(document)
document | A document as returned by the |
---|
# NOT RUN { init_textanalysis() # build document doc <- string_document("This is a document.") # extract tokens get_tokens(doc) # }