code: def predict(self, data, idx):
      if self.model_type == "sentence":
          return self._predict_sentence(data, idx)
  
      return Exception(
          "{} is unexpected model_type. Possbile value is {}".format(
              self.model_type, self.TYPES
          )
      )
  
imports: from nlpaug.model.word_rule.word_rule import WordRule
label_desc: Use image node_id 3 for calling the Shuffle obj's underlying member method code with example usage: obj.predict(data, idx) and returns: Exception, self