Package jazzparser :: Package utils :: Package nltk
[hide private]
[frames] | no frames]

Package nltk

source code

Jazz Parser extensions to NLTK classes.

NLTK is optionally used by the Jazz Parser. This module provides extensions to NLTK classes. You shouldn't load anything from this package unless you're willing to have errors raised in the case that NLTK isn't installed, alerting the user that they can't use this feature without NLTK.

NLTK is imported initially here so that it gets tested when the module is loaded.

Note: the way the codebase is currently setup, you'd never not have NLTK installed (it's an external). However, it's theoretically nice to keep stuff the depends directly on NLTK separate so that we can handle its absence graciously.

Author: Mark Granroth-Wilding <>

Submodules [hide private]

Variables [hide private]
  STORERS = [<class 'jazzparser.utils.nltk.hmm.HiddenMarkovModel...
  __package__ = 'jazzparser.utils.nltk'
Variables Details [hide private]


[<class 'jazzparser.utils.nltk.hmm.HiddenMarkovModelTaggerStorer'>,
 <class ''>,
 <class ''>,
 <class ''>,
 <class ''>,
 <class ''>,
 <class ''>,
 <class ''>,