code: def tokenize(self, s):
      from nltk.tokenize import word_tokenize
  
      if self.moses_tok:
          s = " ".join(word_tokenize(s))
          s = s.replace(
              " n't ", "n 't "
          )  # HACK to get ~MOSES tokenization
          return s.split()
      else:
          return word_tokenize(s)
  
imports: import time
  import numpy
  import torch
  from torch import nn
  import textattack
label_desc: Use image node_id 12 for calling the InferSentModel obj's underlying member method code with example usage: obj.tokenize(s) and returns: s, word_tokenize