code: def EntityLinker(**classifierargs):
      from warnings import warn
  
      warn(
          "The EntityLinker class is deprecated and will be removed in Flair 1.0. Use SpanClassifier instead!"
      )
      return SpanClassifier(**classifierargs)
  
imports: import logging
  import re
  from functools import lru_cache
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Optional, Set, Union
  from unicodedata import category
  import torch
  import flair.embeddings
  import flair.nn
  from flair.data import Dictionary, Sentence, Span
  from flair.file_utils import cached_path
label_desc: Use image node_id 1 for calling a global function with example usage: EntityLinker() and returns: SpanClassifier