@classmethod
def _from_dict(cls, _dict):
    """Initialize a KeywordResult object from a json dictionary."""
    args = {}
    if 'normalized_text' in _dict:
        args['normalized_text'] = _dict.get('normalized_text')
    else:
        raise ValueError(
            "Required property 'normalized_text' not present in KeywordResult JSON"
            )
    if 'start_time' in _dict:
        args['start_time'] = _dict.get('start_time')
    else:
        raise ValueError(
            "Required property 'start_time' not present in KeywordResult JSON")
    if 'end_time' in _dict:
        args['end_time'] = _dict.get('end_time')
    else:
        raise ValueError(
            "Required property 'end_time' not present in KeywordResult JSON")
    if 'confidence' in _dict:
        args['confidence'] = _dict.get('confidence')
    else:
        raise ValueError(
            "Required property 'confidence' not present in KeywordResult JSON")
    return cls(**args)
