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
β β¦