docs: def _from_dict(cls, _dict):
          """Initialize a SemanticRolesResultObject object from a json dictionary."""
          args = {}
          if 'text' in _dict:
              args['text'] = _dict.get('text')
          if 'keywords' in _dict:
              args['keywords'] = [
                  SemanticRolesKeyword._from_dict(x)
                  for x in (_dict.get('keywords'))
              ]
          return cls(**args)