Logo Lanfrica

wondifraw/Amharic-E-commerce-Data-Extractor

Domain:

natural language processing

Record type:

project
Creator:
won
Host:
# Amharic NER for E-commerce Analytics An enterprise-grade Named Entity Recognition (NER) system for Amharic e-commerce data analysis, featuring automated Telegram channel scraping, multi-model training, and comprehensive vendor analytics for micro-lending risk assessment. ## πŸš€ Key Features ### Core Capabilities - **πŸ”„ Data Pipeline**: Automated Telegram channel scraping with rate limiting - **πŸ“ Text Processing**: Amharic-specific preprocessing and normalization - **🏷️ Smart Labeling**: CoNLL format annotation with semi-automated labeling - **πŸ€– Multi-Model Training**: Fine-tuning of XLM-RoBERTa, DistilBERT, and mBERT - **πŸ“Š Model Evaluation**: Comprehensive performance comparison and selection - **πŸ” Interpretability**: SHAP and LIME model explanations - **πŸ’Ό Vendor Analytics**: Risk assessment and micro-lending scorecard generation ### Business Intelligence - Real-time vendor performance tracking - Market trend analysis and insights - Automated risk scoring (0-100 scale) - Interactive analytics dashboard - Export capabilities (PDF, Excel, JSON) ## πŸ› οΈ Installation & Setup ### Prerequisites - Python 3.9+ - Telegram API credentials - 8GB+ RAM (for model training) ### Quick Start ```bash # Clone repository git clone github.com cd Amharic-E-commerce-Data-Extractor # Setup environment pip install -r requirements.txt cp .env.example .env # Configure credentials (edit .env file) # TELEGRAM_API_ID=your_api_id # TELEGRAM_API_HASH=your_api_hash # Run full pipeline python main_pipeline.py ``` ### Quick Run for All Tasks ```bash # 1. Data Collection python -m src.data_ingestion.telegram_scraper # 2. Data Preprocessing python -m src.preprocessing.text_cleaner # 3. Data Labeling python -m src.labeling.conll_formatter # 4. Model Training python -m src.training.train_models # 5. Model Evaluation python -m src.evaluation.compare_models # 6. Model Interpretability python -m src.interpretability.explain_models # 7 …