🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة
Advanced

Recursive Logic Parser

#logic #parsing #rules

Execute a series of conditional text transformations.

Process the input text according to these strictly conditional rules: 1) If a sentence contains a negation, invert the polarity of all adjectives within it. 2) If the text has more than 3 paragraphs, swap the second and second-to-last paragraphs. 3) If any proper noun is repeated more than twice, replace the third instance with a pronoun referencing the noun's role. Apply these rules recursively until no further changes occur, then output the final text.