class_docstr: Base class for the neural UD Processors (tokenize,mwt,pos,lemma,depparse,sentiment,constituency) 
class_docstr_tok: ["Base","class","for","the","neural","UD","Processors","(","tokenize",",","mwt",",","pos",",","lemma",",","depparse",",","sentiment",",","constituency",")"]
code: def __init__(self, config, pipeline, device):
      super().__init__(config, pipeline, device)
  
      # UD model resources, set up is processor specific
      self._pretrain = None
      self._trainer = None
      self._vocab = None
      if not hasattr(self, "_variant"):
          self._set_up_model(config, pipeline, device)
  
      # build the final config for the processor
      self._set_up_final_config(config)
  
imports: from abc import ABC, abstractmethod
  from stanza.models.common.doc import Document
  from stanza.pipeline.registry import NAME_TO_PROCESSOR_CLASS, PIPELINE_NAMES, PROCESSOR_VARIANTS
label_desc: Use image node_id 1 to create a new UDProcessor object from inherited base classes: Processor with example: obj = UDProcessor(config, pipeline, device)