/puppet-nltk

puppet module that provides nltk and downloader functionality

Primary LanguagePuppetMIT LicenseMIT

puppet-nltk

This puppet module provides the nltk python package and also makes it easy to download various corpora using the nltk.downloader utility. It presently requires the use of the pip provider for installing the package. On a Debian/Ubuntu system, this might look something like this:

class { "nltk":
  require => Package['python-pip'],
}

# download the stopwords and punkt corpi
nltk::downloader { [ "stopwords", "punkt" ]: }