nimare.extract
.download_mallet
- download_mallet(data_dir=None, overwrite=False)[source]
Download the MALLET toolbox for LDA topic modeling.
New in version 0.0.2.
- Parameters
data_dir (
pathlib.Path
orstr
, optional) – Path where data should be downloaded. By default, files are downloaded in home directory.overwrite (
bool
, optional) – Whether to overwrite existing files or not. Default is False.
- Returns
data_dir (
str
) – Updated data directory pointing to MALLET files.