Logo Lanfrica

boaztulu/Building-an-Amharic-E-commerce-Data-Extractor

Domain:

natural language processing

Record type:

softwareproject
Creator:
boa
Host:
Telegram channel # πŸš€ EthioMart Amharic E-Commerce Data Extractor > **A unified pipeline** to scrape, preprocess, and extract key entities from Ethiopian Telegram-based e-commerce channels using cutting-edge NLP techniques. --- *Figure: High-level architecture showing Telegram ingestion β†’ preprocessing β†’ NER model β†’ downstream analytics.* --- ## πŸ“– Table of Contents 1. 🎯 Project Overview 2. πŸ› οΈ Features 3. βš™οΈ Installation & Setup 4. πŸ“¦ Project Structure 5. πŸš€ Usage 1. Task 1: Data Ingestion 2. Task 2: CoNLL Labeling 3. Task 3: Fine-Tune NER 6. πŸ“Š Sample Outputs 7. πŸ”§ Configuration 8. πŸ“ˆ Performance & Metrics 9. 🀝 Contributing 10. πŸ“œ License --- ## 🎯 Project Overview EthioMart aims to **centralize** all Ethiopian Telegram-based e-commerce channels into one platform. This repo provides: - **Real-time scraping** of product posts (text & images) from Telegram channels - **Amharic text cleaning** & normalization - **CoNLL-format** labeling of key entities (Product, Price, Location) - **Fine-tuning** of a multilingual transformer (XLM-RoBERTa) for Amharic NER - **Model explainability** via SHAP & LIME - **Vendor Scorecard** generation for micro-lending insights --- ## πŸ› οΈ Features - βœ… **Asynchronous Telegram Scraper** - 🧹 **Robust Amharic Text Cleaner** - ✍️ **Manual & Automated CoNLL Labeling** - πŸ€– **Transformer-based NER Fine-tuning** - πŸ” **Evaluation Metrics**: Precision, Recall, F1, Accuracy - πŸ“Š **Interpretability**: SHAP & LIME visualizations - πŸ’³ **Vendor Analytics Engine**: Posting frequency, views, lending score --- ## βš™οΈ Installation & Setup ```bash # Clone the repo git clone github.com cd EthioMart-Data-Extractor # (Optional) Create & activate venv python3 -m venv .venv && source .venv/bin/activate # Install dependencies pip install -r requirements.txt β”œβ”€β”€ README.md β”œβ”€β”€ requirements.txt β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ scrape_telegram.py # Task 1: Async scraper β”‚ β”œβ”€β”€ text_cleaner.py # Amharic normalization utilities β”‚ …