Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

kwabenaowusujnr/ghana-ai-legal-chatbot

Domaine:

natural language processing

Type de record:

softwaredataset
Créateur:
kwa
Hôte:
# Ghana AI Legal Chatbot **Design and Implementation of an AI Legal Chatbot to Support Legal Awareness Among Low-Income Citizens in Ghana** ## Overview This repository contains the complete dataset and codebase for an AI-powered legal chatbot designed to improve legal awareness among low-income citizens in Ghana. The system provides general legal information in multiple Ghanaian languages (English, Twi, Ga, and Ewe) while adhering to strict ethical guidelines. ### Key Features - **Multilingual Support**: English, Twi, Ga, and Ewe - **Hybrid NLP Pipeline**: Intent classification + Named Entity Recognition + Constrained response generation - **Ethical Guardrails**: Prevents personalized legal advice, ensures disclaimers, maintains bias-neutral language - **Domain Coverage**: Tenancy disputes, employment rights, domestic violence, inheritance law, constitutional rights, and legal procedures ## Repository Structure ``` ghana-ai-legal-chatbot/ │ ├── dataset/ # Legal text and conversational datasets │ ├── constitution/ # 1992 Constitution articles │ ├── statutes/ # Civil statutes (tenancy, employment, DV, inheritance) │ ├── conversations/ # Synthetic legal queries (200+ utterances) │ ├── multilingual/ # Aligned translations (EN, Twi, Ga, Ewe) │ ├── annotations/ # Intent labels and NER annotations │ └── docs/ # Dataset documentation │ ├── data/ │ └── sample/ # Sample data for quick testing │ ├── models/ │ ├── intent_classifier/ # Trained intent classification model │ ├── ner_model/ # Trained NER model │ └── prompts/ # Response templates and system prompts │ ├── training/ │ ├── train_intent.py # Intent classifier training script │ ├── train_ner.py # NER model training script │ └── train_pipeline.py # Full training pipeline │ ├── evaluation/ │ ├── evaluate_intent.py # Intent classifier eva …

Visit

github.com

Tasks

named entity recognitioninformation extraction

Languages

AkanBwamu, CwiDinka, SoutheasternÉwéTwi