code: def make_ner_labels(
      entity_types: Iterable[str], type_: NER_LABEL_TYPE = "BIO"
  ) -> List[str]:
      """Make BILUO or BIO style ner label from entity type list.
  
      Examples:
          >>> make_ner_labels(["PERSON"])
          ["-", "O", "U-PERSON", "B-PERSON", ...]
      """
      labels = ["-", "O"]
      prefixes = [p for p in type_ if p != "O"]
      for label in entity_types:
          for pref in prefixes:
              labels.append(pref + "-" + label)
      return list(dict.fromkeys(labels))
  
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 1 for calling a global function with example usage: make_ner_labels(entity_types, type_) and returns: list