Open ChristophLeonhardt opened 4 years ago
mallet_instance_list_store adopts save.mallet.instances from the mallet R package. But the counterpart to load the instance_list again is missing and would be useful in the package itself:
mallet_instance_list_store
save.mallet.instances
load.mallet.instances <- function(filename) { rJava::J("cc.mallet.types.InstanceList")$load(rJava::.jnew("java/io/File", filename)) }
taken from: https://github.com/mimno/RMallet/blob/master/mallet/R/mallet.R
mallet_instance_list_store
adoptssave.mallet.instances
from the mallet R package. But the counterpart to load the instance_list again is missing and would be useful in the package itself:taken from: https://github.com/mimno/RMallet/blob/master/mallet/R/mallet.R