def get_args(**kwargs):
    """Parse arguments from keyword parameters.
    
    Raises
    ------
    Exception
        In case an illegal argument is passed.
    
    Returns
    -------
    (boolean, boolean, boolean)
        Use heuristics, clean phonetics, clean compound.
    """
    guess = True
    phonetic = True
    compound = True
    for key, value in kwargs.items():
        if key == 'guess':
            guess = bool(value)
        elif key == 'phonetic':
            phonetic = bool(value)
        elif key == 'compound':
            compound = bool(value)
        else:
            raise Exception('Unkown argument: {0}'.format(key))
    return guess, phonetic, compound
