class_docstr: Main class which handles parsing with Spacy-BIST parser.
  
  Args:
      verbose (bool, optional): Controls output verbosity.
      spacy_model (str, optional): Spacy model to use
      (see https://spacy.io/api/top-level#spacy.load).
      bist_model (str, optional): Path to a .model file to load. Defaults pre-trained model'.
class_docstr_tok: ["Main","class","which","handles","parsing","with","Spacy-BIST","parser",".","Args",":","verbose","(","bool",",","optional",")",":","Controls","output","verbosity",".","spacy_model","(","str",",","optional",")",":","Spacy","model","to","use","(","see","https",":","\/\/spacy.io\/api\/top-level","#","spacy.load",")",".","bist_model","(","str",",","optional",")",":","Path","to","a",".model","file","to","load",".","Defaults","pre-trained","model","'","."]
code: def __init__(self, verbose=False, spacy_model="en", bist_model=None):
      validate(
          (verbose, bool),
          (spacy_model, str, 0, 1000),
          (bist_model, (type(None), str), 0, 1000),
      )
      if not bist_model:
          print("Using pre-trained BIST model.")
          _download_pretrained_model()
          bist_model = SpacyBISTParser._pretrained
  
      self.verbose = verbose
      self.bist_parser = BISTModel()
      self.bist_parser.load(
          bist_model if bist_model else SpacyBISTParser._pretrained
      )
      self.spacy_parser = SpacyInstance(
          spacy_model, disable=["ner", "vectors", "textcat"]
      ).parser
  
file_path: nlp-architect/nlp_architect/pipelines/spacy_bist.py
imports: from os import path, makedirs
  from nlp_architect.common.core_nlp_doc import CoreNLPDoc, _spacy_pos_to_ptb
  from nlp_architect.data.conll import ConllEntry
  from nlp_architect.models.bist_parser import BISTModel
  from nlp_architect import LIBRARY_OUT
  from nlp_architect.utils.io import download_unzip
  from nlp_architect.utils.io import validate
  from nlp_architect.utils.text import SpacyInstance
label_desc: Use image node_id 1 to create a new SpacyBISTParser object  with example: obj = SpacyBISTParser(verbose, spacy_model, bist_model)