code: def sofia_process_text():
      
      if request.method == 'OPTIONS':
          return {}
      response = request.body.read().decode('utf-8')
      body = json.loads(response)
      text = body.get('text')
      auth = body.get('auth')
      sp = sofia.process_text(text, auth=auth)
      return _stmts_from_proc(sp)
docs: Process text with Sofia and return INDRA Statements.