def __init__(self, sentence=None, subject=None, action=None, object=None):
        """
        Initialize a SemanticRolesResult object.

        :param str sentence: (optional) Sentence from the source that contains the
        subject, action, and object.
        :param SemanticRolesResultSubject subject: (optional) The extracted subject from
        the sentence.
        :param SemanticRolesResultAction action: (optional) The extracted action from the
        sentence.
        :param SemanticRolesResultObject object: (optional) The extracted object from the
        sentence.
        """
        self.sentence = sentence
        self.subject = subject
        self.action = action
        self.object = object
def __init__ ( self , sentence = None , subject = None , action = None , object = None ) : self . sentence = sentence self . subject = subject self . action = action self . object = object
Initialize a SemanticRolesResult object.

        :param str sentence: (optional) Sentence from the source that contains the
        subject, action, and object.
        :param SemanticRolesResultSubject subject: (optional) The extracted subject from
        the sentence.
        :param SemanticRolesResultAction action: (optional) The extracted action from the
        sentence.
        :param SemanticRolesResultObject object: (optional) The extracted object from the
        sentence.