NLTK Documentation
Installation
More
Language Model Utilities
Convenience function for computing logarithms with base 2.