code: def main():
      # TODO: turn this into a unit test, once a new CoreNLP is released
      words = ["Jennifer", "has", "the", "prettiest", "antennae"]
      tags = ["NNP", "VBZ", "DT", "JJS", "NNS"]
      expected = ["Jennifer", "have", "the", "pretty", "antenna"]
      result = process_text(words, tags)
      lemma = [x.lemma for x in result.words]
      print(lemma)
      assert lemma == expected
  
      with Morphology() as morph:
          result = morph.process(words, tags)
          lemma = [x.lemma for x in result.words]
          assert lemma == expected
  
file_path: stanza/stanza/server/morphology.py
imports: from stanza.protobuf import MorphologyRequest, MorphologyResponse
  from stanza.server.java_protobuf_requests import send_request, JavaProtobufContext
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types