def to_tuple(set_sentences):
    """
    Change each sentence to tuple of words.

    INPUT:  set_sentences    a set of sentences
    OUTPUT: set_tuples       a set of corresponding tuples
    """
    result = set()
    for sentence in set_sentences:
        result.add(tuple(sentence.split()))
    return result