Logo Lanfrica

samuelGodad/Amharic_Spell_Checker

Domain:

natural language processing

Record type:

software
Creator:
sam
Host:
# Amharic Spell Checker A powerful spell checking solution for the Amharic language, built with FastAPI and React. ## 🌟 Overview This simple amharic spell-checking solution designed specifically for the Amharic language. It addresses the unique challenges of Amharic as a low-resource language by providing intelligent spelling assistance through advanced natural language processing techniques. The system aims to enhance writing accuracy and efficiency for Amharic text content. ## ✨ Key Features - πŸš€ **UltraFast Error Detection** - Efficient and quick spell checking - 🧠 **Context Aware Suggestion** - Intelligent suggestions based on context - 🏷️ **Part of Speech Tagging** - Accurate grammatical analysis - πŸ”Œ **API Interface** - Easy integration with other applications ## πŸ› οΈ Tech Stack ### Backend - Python 3.x - FastAPI - PyTorch - Natural Language Processing Tools ### Frontend - React - Vite - Material-UI - Axios ## πŸš€ Getting Started ### Prerequisites - Node.js (v14 or higher) - Python 3.x - pip - Git ## πŸ“ Project Structure ``` β”œβ”€β”€ Amharic-spell-checker/ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ spell_checker.py β”‚ β”‚ β”œβ”€β”€ spell_checker_pos.py β”‚ β”‚ β”œβ”€β”€ edit_distance.py β”‚ β”‚ β”œβ”€β”€ ngram.py β”‚ β”‚ β”œβ”€β”€ file_reader.py β”‚ β”‚ β”œβ”€β”€ tokenizer.py β”‚ β”‚ β”œβ”€β”€ normalizer.py β”‚ β”‚ β”œβ”€β”€ dictionary.py β”‚ β”‚ β”œβ”€β”€ utils.py β”‚ β”‚ β”œβ”€β”€ preprocessing.py β”‚ β”‚ └── main.py β”‚ β”‚ β”‚ β”œβ”€β”€ models/ β”‚ β”‚ β”œβ”€β”€ am_pos_model.pt β”‚ β”‚ β”œβ”€β”€ bigram_model.pt β”‚ β”‚ └── trigram_model.pt β”‚ β”‚ β”‚ β”œβ”€β”€ data/ β”‚ β”‚ β”œβ”€β”€ amharic_dictionary.txt β”‚ β”‚ └── amharic_corpus.txt β”‚ β”‚ β”‚ β”œβ”€β”€ tests/ β”‚ β”‚ β”œβ”€β”€ test_edit_distance.py β”‚ β”‚ β”œβ”€β”€ test_normalizer.py β”‚ β”‚ β”œβ”€β”€ test_preprocessing.py β”‚ β”‚ └── test_spell_checker.py β”‚ β”‚ β”‚ β”œβ”€β”€ requirements.txt β”‚ └── README.md β”‚ └── frontend/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ assets/ β”‚ β”œβ”€β”€ App.jsx β”‚ └── main.jsx β”‚ β”œβ”€β”€ public/ β”œβ”€β”€ index.html β”œβ”€β”€ package.json └── vite.config.js ``` ### πŸ”§ Setup #### Backend 1. **Navigate to the backend directory**: ```sh cd backend ``` 2. **Install the required dependencies**: ```sh pip install -r requirements.txt ``` …