class_docstr: ABC for Language Models.
  
  Cannot be directly instantiated itself.
docstr: Evaluate the log score of this word in this context.
  
  The arguments are the same as for `score` and `unmasked_score`.
docstr_tok: ["Evaluate","the","log","score","of","this","word","in","this","context",".","The","arguments","are","the","same","as","for","`","score","`","and","`","unmasked_score","`","."]
code: def logscore(self, word, context=None):
      """Evaluate the log score of this word in this context.
  
      The arguments are the same as for `score` and `unmasked_score`.
  
      """
      return log_base2(self.score(word, context))
  
imports: import random
  import warnings
  from abc import ABCMeta, abstractmethod
  from bisect import bisect
  from itertools import accumulate
  from nltk.lm.counter import NgramCounter
  from nltk.lm.util import log_base2
  from nltk.lm.vocabulary import Vocabulary
label_desc: Use image node_id 5 for calling the LanguageModel obj's underlying member method code with example usage: obj.logscore(word, context) and returns: log_base2