#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1134
Task: ,</think>

Write a Python function that transforms a given list of sentences into a list of lists, where each sublist contains the unique syllables in the corresponding sentence, with syllables define
Generated: 2026-02-12T21:32:24.780827
"""

import re

def extract_unique_syllables(sentences):
    syllables_list = []
    for sentence in sentences:
        words = sentence.split()
        syllables = set()
        for word in words:
            # Use regex to find syllables: vowels followed by consonants
            syllables_in_word = re.findall(r'[aeiou]+[bcdfghjklmnpqrstvwxyz]', word, re.IGNORECASE)
            for syllable in syllables_in_word:
                syllables.add(syllable.lower())
        syllables_list.append(list(syllables))
    return syllables_list

if __name__ == '__main__':
    example_sentences = [
        "The cat sat on the mat.",
        "She sells seashells by the seashore.",
        "Peter Piper picked a peck of pickled peppers."
    ]
    result = extract_unique_syllables(example_sentences)
    for i, sentence_syllables in enumerate(result):
        print(f"Sentence {i+1} unique syllables: {sentence_syllables}")