load_mallet_model_directory | R Documentation |
If you accept the defaults from write_mallet_model
, you can read t
results back in simply by passing the directory name here.
load_mallet_model_directory( f, load_topic_words = FALSE, load_sampling_state = FALSE, metadata_file = NULL )
f |
directory name |
load_topic_words |
logical: load the full topic-word matrix? |
metadata_file |
document metadata file(s) (optional) |
The expected filenames are doc_topics.csv
, doc_ids.txt
,
vocabulary.txt
, top_words.csv
, topic_words.csv
, and
params.txt
.
mallet_model
object
load_mallet_model
,
load_from_mallet_state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.