Logo Lanfrica

Yihenew21/Amharic-E-commerce-Data-Extractor

Domain:

natural language processing

Record type:

project
Creator:
Yih
Host:
# πŸ›οΈ Amharic E-commerce Data Extractor ## πŸ“Œ Project Overview The **Amharic E-commerce Data Extractor** is an end-to-end pipeline for transforming unstructured Telegram e-commerce posts (text and images) into structured, business-ready data using **Named Entity Recognition (NER)**. It extracts key entities β€” **Product**, **Price**, **Location**, **Brand**, **Size**, and **Contact** β€” to power EthioMart, a centralized Amharic e-commerce hub. The project addresses the challenge of decentralized commerce on Telegram by scraping, processing, labeling, and analyzing messages from various channels. It includes fine-tuning and comparing transformer models for Amharic NER, model interpretability, and vendor analytics for micro-lending. --- ## πŸ—‚οΈ Project Structure ```bash β”œβ”€β”€ .github/ β”‚ └── workflows/ # CI/CD & model evaluation workflows β”œβ”€β”€ configs/ β”‚ └── scraping_config.yaml # Telegram API config (IDs, target channels) β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ raw/ # Raw scraped messages & images β”‚ β”œβ”€β”€ processed/ β”‚ β”‚ └── cleaned.parquet # Preprocessed data (OCR + text) β”‚ └── labeled/ β”‚ β”œβ”€β”€ raw_for_annotation/ β”‚ β”‚ └── messages_for_manual_labeling.json β”‚ β”œβ”€β”€ v1/ β”‚ β”‚ β”œβ”€β”€ train.conll β”‚ β”‚ β”œβ”€β”€ val.conll β”‚ β”‚ └── test.conll β”‚ └── README.md # Labeling rules and entity definitions β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ *_finetuned/ # Fine-tuned model checkpoints (ignored by git) β”‚ └── model_cards/ # Evaluation results, model cards β”œβ”€β”€ reports/ β”‚ └── vendor_scorecard.csv # Vendor analytics output β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ analytics/ β”‚ β”‚ └── vendor_scoring.py # Vendor analytics & scorecard β”‚ β”œβ”€β”€ data_pipeline/ β”‚ β”‚ β”œβ”€β”€ scraper.py # Telegram scraper β”‚ β”‚ β”œβ”€β”€ preprocessor.py # OCR & cleaning logic β”‚ β”‚ └── labeling_tool.py # Sampling & CoNLL conversion β”‚ β”œβ”€β”€ ml_pipeline/ β”‚ β”‚ β”œβ”€β”€ training.py # Model …