class_docstr: A client to the Stanford CoreNLP server. 
docstr: Send a request to the server which processes the text using SceneGraph
  
  This will require a new CoreNLP release, 4.5.5 or later
docstr_tok: ["Send","a","request","to","the","server","which","processes","the","text","using","SceneGraph","This","will","require","a","new","CoreNLP","release",",","4.5.5","or","later"]
code: def scenegraph(self, text, properties=None):
      """
      Send a request to the server which processes the text using SceneGraph
  
      This will require a new CoreNLP release, 4.5.5 or later
      """
      # since we're using requests ourself,
      # check if the server has started or not
      if self.start_server is not StartServer.DONT_START:
          self.ensure_alive()
  
      if properties is None:
          properties = {}
      # the only thing the scenegraph knows how to use is text
      properties["inputFormat"] = "text"
      ctype = "text/plain; charset=utf-8"
      # the json output format is much more useful
      properties["outputFormat"] = "json"
      try:
          r = requests.post(
              self.endpoint + "/scenegraph",
              params={"properties": str(properties)},
              data=text.encode("utf-8")
              if isinstance(text, str)
              else text,
              headers={"content-type": ctype},
              timeout=(self.timeout * 2) / 1000,
          )
          r.raise_for_status()
          if r.encoding is None:
              r.encoding = "utf-8"
          return json.loads(r.text)
      except requests.HTTPError as e:
          if r.text.startswith("Timeout"):
              raise TimeoutException(r.text)
          else:
              raise AnnotationException(r.text)
      except json.JSONDecodeError:
          raise AnnotationException(r.text)
  
imports: import atexit
  import contextlib
  import enum
  import io
  import os
  import re
  import requests
  import logging
  import json
  import shlex
  import socket
  import subprocess
  import time
  import sys
  import uuid
  from datetime import datetime
  from pathlib import Path
  from urllib.parse import urlparse
  from stanza.protobuf import Document, parseFromDelimitedString, writeToDelimitedString, to_text
label_desc: Use image node_id 12 for calling the CoreNLPClient obj's underlying member method code with example usage: obj.scenegraph(text, properties) and returns: json