code: def iob_to_biluo(tags: Iterable[str]) -> List[str]:
      out: List[str] = []
      tags = list(tags)
      while tags:
          out.extend(_consume_os(tags))
          out.extend(_consume_ent(tags))
      return out
  
file_path: spaCy/spacy/training/iob_utils.py
imports: import warnings
  from typing import Dict, Iterable, Iterator, List, Tuple, Union, cast
  from ..errors import Errors, Warnings
  from ..tokens import Doc, Span
label_desc: Use image node_id 1 for calling a global function with example usage: iob_to_biluo(tags) and returns: out