Description Usage Arguments Examples
Read Serialized Matrix Market from path or as_serialized_mmcorpus
.
1 |
file |
path or return value of |
1 2 3 4 5 6 7 8 9 10 11 12 13 | docs <- prepare_documents(corpus)
dict <- corpora_dictionary(docs)
corpora <- doc2bow(dict, docs)
# file to hold matrix market
fl <- "corpus.mm"
# serialize
## Not run: corpus_mm <- serialize_mmcorpus(corpora, file = fl)
# read and delete
## Not run: (mm <- read_serialized_mmcorpus(corpus_mm))
## Not run: delete_mmcorpus(corpus_mm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.