NLP tools and resources for Ethiopian languages
Project description
AbugidaNLP
Natural Language Processing tools and resources for Ethiopian languages.
Introduction
AbugidaNLP is an open-source library focused on developing NLP tools tailored to Ethiopian languages. The library aims to support tasks like calendar system conversion, numeral conversion, and transliteration between Ethiopic and Latin scripts. As one of the first steps towards bridging the gap in NLP tools for underrepresented languages, AbugidaNLP aspires to grow into a comprehensive toolkit for linguists, researchers, and developers.
Key Features
AbugidaNLP is currently in its infancy, offering:
- Transliteration: Convert text between Ethiopic and Latin scripts.
- Calendar System Conversion: Seamlessly convert dates between Ethiopic and Gregorian calendars.
- Numeral System Conversion: Translate numbers between Ge'ez and Hindu-Arabic numeral systems.
Installation
Prerequisites
- Python 3.8 or higher
- pip
Installation
Install AbugidaNLP using pip:
pip install abugida
Quick Start
Here’s how to get started with AbugidaNLP:
from abugida import ScriptConverter # Import the ScriptConverter class from AbugidaNLP
# Initialize the ScriptConverter
converter = ScriptConverter()
# Forward transliteration: Convert Ethiopic script to Latin script
result_fwd = converter.transliterate("በመተባበራችን", "fwd")
print(result_fwd) # Output: bemetebaberacn
# Backward transliteration: Convert Latin script to Ethiopic script
result_bwd = converter.transliterate("merejawoc", "bwd")
print(result_bwd) # Output: መረጃዎች
Explanation:
- Import the library: The
ScriptConverterclass handles script conversions. - Initialize: Create an instance of the
ScriptConverterto use its methods. - Transliteration:
- Use the
"fwd"mode for Ethiopic to Latin conversion. - Use the
"bwd"mode for Latin to Ethiopic conversion.
- Use the
Documentation
Documentation for AbugidaNLP is under construction. Stay tuned for detailed usage examples and API references.
Contributing
We welcome contributions to AbugidaNLP! Whether it's improving documentation, adding new features, or fixing bugs, your help is valuable.
Steps to Contribute:
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Special thanks to the following resources for their inspiration and insights:
Contact
For questions or support, please open an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file abugida-0.3.4.tar.gz.
File metadata
- Download URL: abugida-0.3.4.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48051bf2903ff8263c792db5d08ee92788c6929e4f8855cdd6b6a2a9b35313ff
|
|
| MD5 |
963138d30f9515ebdd9d0e8371684981
|
|
| BLAKE2b-256 |
3e38aace1f9138ed71b9464e1d78e92d0037b39a1dd9923b67af5679c7b00dd0
|
File details
Details for the file abugida-0.3.4-py3-none-any.whl.
File metadata
- Download URL: abugida-0.3.4-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7367668ec313c7c9c33fb8b7fa99195105d0c4d3b6aae759ccb7eead4d71dae5
|
|
| MD5 |
6131f5c746f413811ba544b3273a0439
|
|
| BLAKE2b-256 |
f639766b91cf6d4f82f30064c1d7351ffc57140a4be4e1718b5f4f1087941545
|