class_docstr: UniversalEnhancer context window
  
  This is a context window which keeps a process open.  Should allow
  for multiple requests without launching new java processes each time.
code: def __init__(
      self, language=None, pronouns_pattern=None, classpath=None
  ):
      super(UniversalEnhancer, self).__init__(
          classpath, Document, ENHANCER_JAVA
      )
      if bool(language) == bool(pronouns_pattern):
          raise ValueError(
              "Should set exactly one of language and pronouns_pattern"
          )
      self.language = language
      self.pronouns_pattern = pronouns_pattern
  
file_path: stanza/stanza/server/ud_enhancer.py
imports: import stanza
  from stanza.protobuf import DependencyEnhancerRequest, Document, Language
  from stanza.server.java_protobuf_requests import send_request, add_sentence, JavaProtobufContext
label_desc: Use image node_id 1 to create a new UniversalEnhancer object from inherited base classes: JavaProtobufContext with example: obj = UniversalEnhancer(language, pronouns_pattern, classpath)