🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
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.