corpus_to_tibble.Rd
Convert a corpus to a tibble.
corpus_to_tibble(corpus) # S3 method for corpus corpus_to_tibble(corpus)
corpus | A corpus, as returned vy |
---|
# NOT RUN { init_textanalysis() # build document doc1 <- string_document("First document.") doc2 <- string_document("Second document.") corpus <- corpus(doc1, doc2) corpus_to_tibble(corpus) # }