Logo Lanfrica

imrelboti/Morocco-Regulatory-Intelligence-Platform

Domain:

natural language processing

Record type:

software
Creator:
imr
Host:
# Morocco Regulatory Intelligence Platform **Automated regulatory monitoring and compliance intelligence for Morocco's financial sector** ## Architecture Philosophy - **Rules for Structure** → Deterministic extraction (dates, amounts, articles) - **AI for Meaning** → Classification, impact scoring, summaries ## Project Scope - **Target Industry**: Finance (Banking, Capital Markets, Insurance) - **Primary Source**: Bank Al-Maghrib (BAM) + AMMC + Other regulators - **Languages**: Arabic & French ## System Components ### 1. Data Infrastructure - Web crawler for regulatory sources - Document change detection - PostgreSQL/SQLite storage - PDF archival with content hashing ### 2. Preprocessing Pipeline - PDF text extraction - Language detection (AR/FR) - Text cleaning & normalization ### 3. Rule-Based Extraction (99%+ precision target) - Dates (multiple formats) - Percentages & monetary amounts - Article references - Effective dates - Affected entities ### 4. AI Layer (Precision-focused) - Document classification - Impact severity scoring - Executive summaries (citation-enforced) ### 5. Validation Engine - Confidence scoring - Rule/AI consistency checks - Human review flagging ### 6. Dashboard - Streamlit interface - Filtering & search - Alert management ## Tech Stack - Python 3.10+ - PostgreSQL / SQLite - BeautifulSoup / Scrapy - spaCy / Transformers - Streamlit ## Development Phases 1. ✅ Data Infrastructure (Crawler + Storage) 2. ✅ Preprocessing Pipeline 3. ✅ Rule-Based Extraction 4. AI Layer Implementation 5. Validation Engine 6. Dashboard Development 7. Intelligence Upgrades (amendment tracking, deadline management) --- **Status**: MVP Development