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