Interface for calculating logarithmic perplexity of a given text.
JavaDocs added.
Javadoc changed.