class_docstr: Ssurgeon 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: ["Ssurgeon","context","window","This","is","a","context","window","which","keeps","a","process","open",".","Should","allow","for","multiple","requests","without","launching","new","java","processes","each","time","."]
docstr: Convenience method - build one operation, then apply it
docstr_tok: ["Convenience","method","-","build","one","operation",",","then","apply","it"]
code: def process_one_operation(
      self,
      doc,
      semgrex_pattern,
      ssurgeon_edits,
      ssurgeon_id=None,
      notes=None,
  ):
      """
      Convenience method - build one operation, then apply it
      """
      request = build_request_one_operation(
          doc, semgrex_pattern, ssurgeon_edits, ssurgeon_id, notes
      )
      return self.process_request(request)
  
imports: import argparse
  import copy
  import os
  import re
  import sys
  from stanza.models.common.utils import misc_to_space_after, space_after_to_misc
  from stanza.protobuf import SsurgeonRequest, SsurgeonResponse
  from stanza.server import java_protobuf_requests
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import ID, TEXT, LEMMA, UPOS, XPOS, FEATS, HEAD, DEPREL, DEPS, MISC, START_CHAR, END_CHAR, NER, Word, Token, Sentence
label_desc: Use image node_id 3 for calling the Ssurgeon obj's underlying member method code with example usage: obj.process_one_operation(doc, semgrex_pattern, ssurgeon_edits, ssurgeon_id, notes) and returns: self