code: def hf_annotations():
      return [
          [
              NamedEntityAnnotation(entity="PER", start=11, end=16),
              NamedEntityAnnotation(entity="LOC", start=31, end=39),
              NamedEntityAnnotation(entity="LOC", start=41, end=51),
          ],
          [NamedEntityAnnotation(entity="PER", start=4, end=10)],
          [NamedEntityAnnotation(entity="LOC", start=0, end=14)],
          [],
      ]
  
file_path: haystack/e2e/pipelines/test_named_entity_extractor.py
imports: import pytest
  from haystack import Document, Pipeline, ComponentError
  from haystack.components.extractors import NamedEntityAnnotation, NamedEntityExtractor, NamedEntityExtractorBackend
label_desc: Use image node_id 2 for calling a global function with example usage: hf_annotations() and returns: list