class_docstr: Processor for the dataset.
class_docstr_tok: ["Processor","for","the","dataset","."]
code: def get_labels(self, cfg):
      labels = ["O"]
      for i in cfg.labels:
          labels.append("B-" + i)
          labels.append("I-" + i)
      labels.append("[CLS]")
      labels.append("[SEP]")
      return labels
  
file_path: DeepKE/src/deepke/name_entity_re/standard/tools/preprocess.py
imports: from .dataset import *
  import argparse
  import csv
  import json
  import logging
  import os
  import random
  import sys
  import numpy
  from hydra import utils
  import pickle
label_desc: Use image node_id 4 for calling the NerProcessor obj's underlying member method code with example usage: obj.get_labels(cfg) and returns: labels