code: def __init__(self, field_value, mask=None):
      assert isinstance(field_value, list)
      self._words = field_value
      self._tokens = "".join(field_value)
  
      if not mask:
          self._mask = [ORIGIN] * len(field_value)
      else:
          assert len(mask) == len(field_value)
          for index, mask_item in enumerate(mask):
              if mask_item not in [ORIGIN, TASK_MASK, MODIFIED_MASK]:
                  raise ValueError(
                      "Not support mask value of {0}".format(mask_item)
                  )
          self._mask = mask
      super().__init__(field_value, field_type=list)
  
imports: from .cnsample import CnSample
  from ..field import ListField, Field
  from ....common.settings import ORIGIN, TASK_MASK, MODIFIED_MASK
label_desc: Use image node_id 1 to create a new DPCnTextField object from inherited base classes: Field with example: obj = DPCnTextField(field_value, mask)