write_instances: Save a mallet InstanceList object to a file

write_instancesR Documentation

Save a mallet InstanceList object to a file

Description

Saves mallet instances to disk using MALLET's file writer. The result is then equivalent to mallet import-dirs or similar at the command line.

Usage

write_instances(instances, filename)

Arguments

instances

reference to the InstanceList

filename

name of file to write to

See Also

read_instances, make_instances


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