code: def get_ner_labels(
      labels: Union[List[str], Path], type_: NER_LABEL_TYPE = "BIO"
  ):
      labels = _get_labels(labels)
      if all(
          label[:2] in {"-", "O", "I-", "B-", "L-", "U-"}
          for label in labels
      ):
          return labels
      return make_ner_labels(labels, type_)
  
file_path: camphr/packages/camphr/camphr/ner_labels/utils.py
imports: import yaml
  from pathlib import Path
  from typing import IO, Dict, Iterable, List, Optional, Union
  import json
  from typing_extensions import Literal
label_desc: Use image node_id 3 for calling a global function with example usage: get_ner_labels(labels, type_) and returns: make_ner_labels, labels