nltk.classify.config_megam()

nltk.classify.config_megam(bin=None)[source]

Configure NLTK’s interface to the megam maxent optimization package.

Parameters:bin (str) – The full path to the megam binary. If not specified, then nltk will search the system for a megam binary; and if one is not found, it will raise a LookupError exception.