class_docstr: A helper class that represents input string that to be modified.
  
  Text that Sample contains parsed in data set,
  ``TextField`` provides multiple methods for Sample to modify.
  
  Support sentence level and word level modification,
  default using word level API.
code: def replace_mask(self, values):
      if not isinstance(values, list):
          raise ValueError(f"Cant replace mask values with {values}")
      if len(values) != len(self.words):
          raise ValueError(
              f"Mask values length {len(values)} "
              f"unequal with words length {len(self.words)}"
          )
  
      for index, value in enumerate(values):
          self.set_mask(index, value)
  
imports: from .field import Field
  from ....common.utils.list_op import *
  from ....common.preprocess.en_processor import EnProcessor
  from ....common.settings import ORIGIN, TASK_MASK, MODIFIED_MASK
label_desc: Use image node_id 6 for calling the TextField obj's underlying member method code with example usage: obj.replace_mask(values) without return types