class_docstr: A ``Process`` type to capture everything, that the ``spaCy`` project can do for a given language.
  
  .. note::
      ``spacy`` has only partial functionality available for some languages.
  
  >>> from cltk.languages.example_texts import get_example_text
  >>> process_spacy = SpacyProcess(language="lat")
  >>> isinstance(process_spacy, SpacyProcess)
  True
  
  # >>> from spacy.models.common.doc import Document
  # >>> output_doc = process_spacy.run(Doc(raw=get_example_text("lat")))
  # >>> isinstance(output_doc.spacy_doc, Document)
  True
class_docstr_tok: ["A","``","Process","``","type","to","capture","everything",",","that","the","``","spaCy","``","project","can","do","for","a","given","language",".","..","note",":",":","``","spacy","``","has","only","partial","functionality","available","for","some","languages",".",">",">",">","from","cltk.languages.example_texts","import","get_example_text",">",">",">","process_spacy","=","SpacyProcess","(","language=","''","lat","''",")",">",">",">","isinstance","(","process_spacy",",","SpacyProcess",")","True","#",">",">",">","from","spacy.models.common.doc","import","Document","#",">",">",">","output_doc","=","process_spacy.run","(","Doc","(","raw=get_example_text","(","``","lat","''",")",")",")","#",">",">",">","isinstance","(","output_doc.spacy_doc",",","Document",")","True"]
code: def run(self, input_doc: Doc) -> Doc:
      output_doc = deepcopy(input_doc)
      spacy_wrapper = self.algorithm
      if output_doc.normalized_text:
          input_text = output_doc.normalized_text
      else:
          input_text = output_doc.raw
      spacy_doc = spacy_wrapper.parse(input_text)
      cltk_words = self.spacy_to_cltk_word_type(spacy_doc)
      output_doc.words = cltk_words
      output_doc.spacy_doc = spacy_doc
  
      return output_doc
  
imports: from copy import deepcopy
  from dataclasses import dataclass
  from typing import Any, Dict, List, Literal, Optional, Tuple
  import spacy
  import stanza
  from boltons.cacheutils import cachedproperty
  from cltk.core.data_types import Doc, MorphosyntacticFeature, Process, Word
  from cltk.dependency.spacy_wrapper import SpacyWrapper
  from cltk.dependency.stanza_wrapper import StanzaWrapper
  from cltk.dependency.tree import DependencyTree
  from cltk.morphology.morphosyntax import MorphosyntacticFeatureBundle, from_ud, to_categorial
label_desc: Use image node_id 2 for calling the SpacyProcess obj's underlying member method code with example usage: obj.run(input_doc) and returns: output_doc