code: def probs(self, s):
      if s not in self.cache:
          r = self.tg.unmask(s)
          self.cache[s] = [(a, exp_normalize(b)) for a, b in r]
          if not self.onepass:
              self.cache[s] = self.cache[s][:1]
      return self.cache[s]
  
imports: from .None import utils
  from .None import anchor_base
  from .None import anchor_explanation
  import numpy
  import json
  import os
  import string
  import sys
  from io import open
  import numpy
label_desc: Use image node_id 3 for calling the SentencePerturber obj's underlying member method code with example usage: obj.probs(s) and returns: self