@classmethod
def _from_dict(cls, _dict):
    """Initialize a CustomWord object from a json dictionary."""
    args = {}
    if 'word' in _dict:
        args['word'] = _dict.get('word')
    if 'sounds_like' in _dict:
        args['sounds_like'] = _dict.get('sounds_like')
    if 'display_as' in _dict:
        args['display_as'] = _dict.get('display_as')
    return cls(**args)
