class_docstr: This class manages the querying of DBpedia and attaches the found entities to the document
class_docstr_tok: ["This","class","manages","the","querying","of","DBpedia","and","attaches","the","found","entities","to","the","document"]
docstr: The function makes a request to the endpoint, and if the request is successful, it returns the
  document. If the request is unsuccessful, it returns the document without updating it
  
  :param doc: the document to be processed
  :return: The document is being returned.
docstr_tok: ["The","function","makes","a","request","to","the","endpoint",",","and","if","the","request","is","successful",",","it","returns","the","document",".","If","the","request","is","unsuccessful",",","it","returns","the","document","without","updating","it",":","param","doc",":","the","document","to","be","processed",":","return",":","The","document","is","being","returned","."]
code: def __call__(self, doc):
      """
      The function makes a request to the endpoint, and if the request is successful, it returns the
      document. If the request is unsuccessful, it returns the document without updating it
  
      :param doc: the document to be processed
      :return: The document is being returned.
      """
  
      data = self.get_remote_response(doc)
      self.process_single_doc_after_call(doc, data)
      return doc
  
file_path: spacy-dbpedia-spotlight/spacy_dbpedia_spotlight/entity_linker.py
imports: import concurrent.futures
  import sys
  import requests
  import spacy
  from multiprocessing.pool import ThreadPool
  from loguru import logger
  from requests import HTTPError
  from spacy import util
  from spacy.language import Language
  from spacy.tokens import Doc, Span
label_desc: Use image node_id 5 for calling the EntityLinker obj's underlying member method code with example usage: obj.__call__(doc) and returns: doc