class_docstr: `SpacyWrapper` has been made to be an interface
  between spaCy and CLTK.
class_docstr_tok: ["`","SpacyWrapper","`","has","been","made","to","be","an","interface","between","spaCy","and","CLTK","."]
docstr: :param language: One of the officially supported languages by CLTK. It selects a default model for
  :param nlp: A `Language` instance from spaCy (not used by default).
  :param interactive: Are downloads interactive?
  :param silent: Is it verbose?
docstr_tok: [":","param","language",":","One","of","the","officially","supported","languages","by","CLTK",".","It","selects","a","default","model","for",":","param","nlp",":","A","`","Language","`","instance","from","spaCy","(","not","used","by","default",")",".",":","param","interactive",":","Are","downloads","interactive","?",":","param","silent",":","Is","it","verbose","?"]
code: def __init__(
      self,
      language: str,
      nlp: Optional[SpacyLanguage] = None,
      interactive: bool = True,
      silent: bool = False,
      # spacy_model_name: Optional[str] = None
  ):
      """
  
      :param language: One of the officially supported languages by CLTK. It selects a default model for
      :param nlp: A `Language` instance from spaCy (not used by default).
      :param interactive: Are downloads interactive?
      :param silent: Is it verbose?
      """
      self.language: str = language
      self.nlp: Optional[SpacyLanguage] = nlp
      self.interactive: bool = interactive
      self.silent: bool = silent
      self.spacy_model: Optional[SpacyLanguage] = None
      # self.spacy_debug_level = spacy_debug_level
  
      if self.interactive and self.silent:
          raise ValueError(
              "``interactive`` and ``silent`` options are not compatible with each other."
          )
  
      self.wrapper_available: bool = self.is_wrapper_available()
      if not self.wrapper_available:
          raise UnknownLanguageError(
              f"Language '{self.language}' either not in scope for CLTK or the project does know about it. If you know of a publicly available spaCy model for '{self.language}', please open a pull request (with this message) at `https://github.com/cltk/cltk/issues`."
          )
      self.spacy_code: str = self._get_spacy_code()
      self.spacy_model_name: str = self._get_spacy_model_name()
      self.spacy_model_url: str = self._get_spacy_model_url()
  
      if not self._is_model_present():
          self._download_model()
  
      # if not self.spacy_model:
      if not self.nlp:
          self.nlp = self._load_model()
  
file_path: cltk/src/cltk/dependency/spacy_wrapper.py
imports: import logging
  import subprocess
  from typing import Any, Optional
  import spacy
  from spacy import Language
  from spacy.tokens import Doc
  from cltk.core.exceptions import CLTKException, UnknownLanguageError
  from cltk.utils.utils import query_yes_no
label_desc: Use image node_id 1 to create a new SpacyWrapper object  with example: obj = SpacyWrapper(language, nlp, interactive, silent)