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

Unstructured Text Normalization

#nlp #data-processing #parsing #structure

Extracting and standardizing entities from a raw, noisy text block into a structured JSON format.

Process the following raw text block containing medical patient notes. Extract all instances of medications, dosages, and dates. Normalize the dates to ISO 8601 format (YYYY-MM-DD) and the dosages to standard metric units (mg, ml). Output the result strictly as a JSON object with keys: 'patient_id', 'medications' (array of objects with 'name', 'dosage', 'frequency'), and 'last_visit_date'. Omit any confidential identifiers not explicitly requested.