class_docstr: This masks out tokens according to the given tokenizer.
  
  The masked variables are
  
  output_type : "string" (default) or "token_ids"
docstr: Save a Text masker to a file stream.
          
code: def save(self, out_file):
      """Save a Text masker to a file stream."""
      super().save(out_file)
      with Serializer(out_file, "shap.maskers.Text", version=0) as s:
          s.save("tokenizer", self.tokenizer)
          s.save("mask_token", self.input_mask_token)
          s.save("collapse_mask_token", self.collapse_mask_token)
          s.save("output_type", self.output_type)
  
imports: import math
  import re
  import numpy
  from .._serializable import Deserializer, Serializer
  from ..utils import safe_isinstance
  from ..utils.transformers import SENTENCEPIECE_TOKENIZERS, getattr_silent, parse_prefix_suffix_for_tokenizer
  from ._masker import Masker
label_desc: Use image node_id 11 for calling the Text obj's underlying member method code with example usage: obj.save(out_file) without return types