code: def test_conll_writer_one_token_multiple_entities2():
      text = "This is entity1 entity2"
      dataset = InternalBioNerDataset(
          documents={"1": text},
          entities_per_document={
              "1": [
                  Entity(
                      (text.find("entity1"), text.find("entity1") + 2),
                      "E",
                  ),
                  Entity(
                      (text.find("tity1"), text.find("tity1") + 5), "E"
                  ),
              ]
          },
      )
  
      assert_conll_writer_output(
          dataset,
          ["This O +", "is O +", "entity1 B-E +", "entity2 O -"],
      )
  
imports: import inspect
  import logging
  import os
  import tempfile
  from operator import itemgetter
  from pathlib import Path
  from typing import Callable, List, Optional, Type
  import pytest
  from tqdm import tqdm
  import flair
  from flair.data import Sentence, Token, _iter_dataset
  from flair.datasets import ColumnCorpus, biomedical
  from flair.datasets.biomedical import CoNLLWriter, Entity, HunerDataset, InternalBioNerDataset, filter_nested_entities
  from flair.splitter import NoSentenceSplitter, SentenceSplitter
  from flair.tokenization import SpaceTokenizer
label_desc: Use image node_id 10 for calling a global function with example usage: test_conll_writer_one_token_multiple_entities2() without return types