class_docstr: Semgrex context window
  
  This is a context window which keeps a process open.  Should allow
  for multiple requests without launching new java processes each time.
class_docstr_tok: ["Semgrex","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, classpath=None):
      super(Semgrex, self).__init__(
          classpath, SemgrexResponse, SEMGREX_JAVA
      )
  
file_path: stanza/stanza/server/semgrex.py
imports: import argparse
  import copy
  import stanza
  from stanza.protobuf import SemgrexRequest, SemgrexResponse
  from stanza.server.java_protobuf_requests import send_request, add_token, add_word_to_graph, JavaProtobufContext, convert_networkx_graph
  from stanza.utils.conll import CoNLL
label_desc: Use image node_id 1 to create a new Semgrex object from inherited base classes: JavaProtobufContext with example: obj = Semgrex(classpath)