make_corpus | R Documentation |
Make corpus based on biotext class
make_corpus(
ret,
collapse = FALSE,
num_only = TRUE,
stem = FALSE,
preserve = TRUE,
ngram = 1
)
ret |
biotext class object |
collapse |
collapse all the sentences to one sentence |
num_only |
delete number only (not deleting XXX123) |
stem |
stem the words or not (default to FALSE) |
preserve |
preserve the original cases |
ngram |
n-gram |
Make corpus based on biotext class using tm. Ngram, stemming parameters can be specified by this function.
biotext class object
obtain_refseq("PNKP") |> make_corpus()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.