code: def process_doc(doc, language=None, pronouns_pattern=None):
      request = build_enhancer_request(doc, language, pronouns_pattern)
      return send_request(request, Document, ENHANCER_JAVA)
  
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 2 for calling a global function with example usage: process_doc(doc, language, pronouns_pattern) and returns: send_request