class_docstr: Base Sample class to hold the necessary info and provide atomic operations
class_docstr_tok: ["Base","Sample","class","to","hold","the","necessary","info","and","provide","atomic","operations"]
docstr: Get text field pos tags.
  :param str field: field name
  :return: pos tag list
docstr_tok: ["Get","text","field","pos","tags",".",":","param","str","field",":","field","name",":","return",":","pos","tag","list"]
code: def get_pos(self, field):
      r"""
      Get text field pos tags.
      :param str field: field name
      :return: pos tag list
  
      """
      field_obj = getattr(self, field)
      assert isinstance(
          field_obj, TextField
      ), f"{field} is not a text field, get pos tags failed!"
  
      return field_obj.pos_tagging[:]
  
imports: import copy
  from abc import ABC, abstractmethod
  from ..field import ListField, TextField
  from ....common.settings import MODIFIED_MASK
  from ....common.preprocess.en_processor import EnProcessor
label_desc: Use image node_id 8 for calling the Sample obj's underlying member method code with example usage: obj.get_pos(field) and returns: field_obj