Logo Lanfrica

martha-ketsela-mengistu/amharic-e-commerce-data-extractor-week4

Domain:

natural language processing

Record type:

datasetproject
Creator:
mar
Host:
# **EthioMart: Amharic NER for Telegram E-Commerce** ## **Project Overview** This project focuses on developing a **Named Entity Recognition (NER) system** for Amharic text extracted from Ethiopian Telegram e-commerce channels. The goal is to identify key business entities (products, prices, locations) to populate **EthioMart's** centralized database. ### **Key Features** - πŸ“₯ **Data Ingestion**: Scrapes Telegram channels for text and images - ✨ **Text Preprocessing**: Normalizes and tokenizes Amharic text - 🏷️ **Entity Labeling**: Converts raw text into CoNLL format for NER - πŸ€– **Model Fine-Tuning**: Adapts multilingual LLMs (XLM-Roberta, mBERT) for Amharic NER - πŸ“Š **Vendor Analytics**: Generates scorecard to evaluate vendor performance ## **Repository Structure** ``` β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ photos/ # Raw datasets (original data files) β”‚ β”œβ”€β”€ telegram_data_conll.txt # Labeled dataset β”‚ β”œβ”€β”€ telegram_data_processed.csv # Processed datasets β”‚ └── telegram_data.csv # Raw datasets β”œβ”€β”€ notebooks/ β”‚ β”œβ”€β”€ __init__.py β”‚ β”œβ”€β”€ data_preprocessig.ipynb # Notebook for preprocess and labeling β”‚ β”œβ”€β”€ model.ipynb # Notebook for model β”‚ └── scorecard.ipynb # Notebook for score card β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ __init__.py β”‚ β”œβ”€β”€ .env # environment variables β”‚ β”œβ”€β”€ data_ingestion.py # Script for extraction β”‚ β”œβ”€β”€ label.py # Script for labeling β”‚ └── data_preprocess.py # Script for preprocess β”œβ”€β”€ tests/ β”‚ β”œβ”€β”€ __init__.py β”‚ └── test_data_preprocess.py # Test for preprocess and labeling β”œβ”€β”€ .gitignore # Specifies files to ignore in Git β”œβ”€β”€ README.md # This file └── requirements.txt # Python dependencies ``` ## **Setup** 1. Clone: `git clone github.com` 2. Create venv: `python -m venv .venv` 3. Activate: `.venv\Scripts\activate` (Windows) 4. Install: `pip install -r requirements.txt` 5. Configure Telegram API - Obtain API_ID and API_HASH from Telegram Developer Portal. - Add credentials to .env: ```bash api_id = YOUR_API_ID api_hash = YOUR_API_HA …