class_docstr: Base Chinese Sample class to hold the necessary info and provide atomic operations
class_docstr_tok: ["Base","Chinese","Sample","class","to","hold","the","necessary","info","and","provide","atomic","operations"]
docstr: Get text string of given textfield
  
  :param str field: field name
  :return string: text
docstr_tok: ["Get","text","string","of","given","textfield",":","param","str","field",":","field","name",":","return","string",":","text"]
code: def get_text(self, field):
      r"""
      Get text string of given textfield
  
      :param str field: field name
      :return string: text
  
      """
      field_obj = getattr(self, field)
      assert isinstance(
          field_obj, CnTextField
      ), f"{field} is not a text field, get text failed!"
  
      return field_obj.text
  
imports: import copy
  from abc import ABC, abstractmethod
  from textflint.input.component.field.list_field import ListField
  from ..field import CnTextField
  from ....common.settings import MODIFIED_MASK
  from ....common.preprocess.cn_processor import CnProcessor
label_desc: Use image node_id 5 for calling the CnSample obj's underlying member method code with example usage: obj.get_text(field) and returns: field_obj