load_mallet_model_directory: Load a model with conventional filenames from a directory

load_mallet_model_directoryR Documentation

Load a model with conventional filenames from a directory

Description

If you accept the defaults from write_mallet_model, you can read t results back in simply by passing the directory name here.

Usage

load_mallet_model_directory(
  f,
  load_topic_words = FALSE,
  load_sampling_state = FALSE,
  metadata_file = NULL
)

Arguments

f

directory name

load_topic_words

logical: load the full topic-word matrix?

metadata_file

document metadata file(s) (optional)

Details

The expected filenames are doc_topics.csv, doc_ids.txt, vocabulary.txt, top_words.csv, topic_words.csv, and params.txt.

Value

mallet_model object

See Also

load_mallet_model, load_from_mallet_state


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.