class_docstr: Detects abbreviations using the algorithm in "A simple algorithm for identifying
  abbreviation definitions in biomedical text.", (Schwartz & Hearst, 2003).
  
  This class sets the `._.abbreviations` attribute on spaCy Doc.
  
  The abbreviations attribute is a `List[Span]` where each Span has the `Span._.long_form`
  attribute set to the long form definition of the abbreviation.
  
  Note that this class does not replace the spans, or merge them.
  
  Parameters
  ----------
  
  nlp: `Language`, a required argument for spacy to use this as a factory
  name: `str`, a required argument for spacy to use this as a factory
  make_serializable: `bool`, a required argument for whether we want to use the serializable
  or non serializable version.
class_docstr_tok: ["Detects","abbreviations","using","the","algorithm","in","``","A","simple","algorithm","for","identifying","abbreviation","definitions","in","biomedical","text",".","``",",","(","Schwartz","&","Hearst",",","2003",")",".","This","class","sets","the","`","._.abbreviations","`","attribute","on","spaCy","Doc",".","The","abbreviations","attribute","is","a","`","List","[","Span","]","`","where","each","Span","has","the","`","Span._.long_form","`","attribute","set","to","the","long","form","definition","of","the","abbreviation",".","Note","that","this","class","does","not","replace","the","spans",",","or","merge","them",".","Parameters","--","--","--","--","--","nlp",":","`","Language","`",",","a","required","argument","for","spacy","to","use","this","as","a","factory","name",":","`","str","`",",","a","required","argument","for","spacy","to","use","this","as","a","factory","make_serializable",":","`","bool","`",",","a","required","argument","for","whether","we","want","to","use","the","serializable","or","non","serializable","version","."]
docstr: Converts the abbreviations into a short form that is serializable to enable multiprocessing
  
  Parameters
  ----------
  abbreviation: Span
      The abbreviation span identified by the detector
docstr_tok: ["Converts","the","abbreviations","into","a","short","form","that","is","serializable","to","enable","multiprocessing","Parameters","--","--","--","--","--","abbreviation",":","Span","The","abbreviation","span","identified","by","the","detector"]
code: def make_short_form_serializable(self, abbreviation: Span):
      """
      Converts the abbreviations into a short form that is serializable to enable multiprocessing
  
      Parameters
      ----------
      abbreviation: Span
          The abbreviation span identified by the detector
      """
      long_form = abbreviation._.long_form
      abbreviation._.long_form = long_form.text
      serializable_abbr = {
          "short_text": abbreviation.text,
          "short_start": abbreviation.start,
          "short_end": abbreviation.end,
          "long_text": long_form.text,
          "long_start": long_form.start,
          "long_end": long_form.end,
      }
      return serializable_abbr
  
file_path: scispacy/scispacy/abbreviation.py
imports: from typing import Tuple, List, Optional, Set, Dict
  from collections import defaultdict
  from spacy.tokens import Span, Doc
  from spacy.matcher import Matcher
  from spacy.language import Language
label_desc: Use image node_id 5 for calling the AbbreviationDetector obj's underlying member method code with example usage: obj.make_short_form_serializable(abbreviation) and returns: serializable_abbr