class_docstr: Replace verb with detachable words or a one a.
docstr: get the pos of sentence if we need
  
  :param str sentence: origin word
  :return: bool
docstr_tok: ["get","the","pos","of","sentence","if","we","need",":","param","str","sentence",":","origin","word",":","return",":","bool"]
code: def check_part_pos(sentence):
      """
      get the pos of sentence if we need
  
      :param str sentence: origin word
      :return: bool
      """
      if sentence == "":
          return False
      Processor = CnProcessor()
      pos = Processor.get_pos_tag(sentence)
      if len(pos) == 1 and pos[0][0] == "n":
          return True
      return False
  
file_path: textflint/textflint/generation/transformation/CWS/swap_verb.py
imports: from ..transformation import Transformation
  from ....common.settings import DETACHABLE_WORD_PATH, AONEA_PATH
  from ....common.utils.load import plain_lines_loader
  from ....common.utils.install import download_if_needed
  from ....common.preprocess.cn_processor import CnProcessor
  import random
label_desc: Use image node_id 6 for calling the SwapVerb obj's underlying member method code with example usage: obj.check_part_pos(sentence) and returns: False, False, True