ArabicLT is a repository containing a SQLite database and a CSV file with a comprehensive collection of Arabic synonyms, antonyms, qawafi (rhymes), and plurals. This toolkit also includes a simple Python script to extract the data from the SQLite database and the CSV files.
- Comprehensive collection of Arabic language resources, including:
- Synonyms
- Antonyms
- Qawafi (rhymes)
- Plurals
- SQLite database for efficient storage and retrieval
- CSV files for easy data manipulation
- Simple Python script to extract data
-
Clone the repository:
git clone https://github.com/mdanok/arabicLT.git
-
Change the working directory:
cd arabicLT
The arabiclt.py
script can be used to extract and manipulate data from the SQLite database. The script provides various functions to work with the data, such as searching for synonyms, antonyms, qawafi, and plurals.
Example usage:
import arabiclt
synonyms = arabiclt.get_synonyms('كبير')
print(synonyms)
antonyms = arabiclt.get_antonyms('صغير')
print(antonyms)
qawafi = arabiclt.get_qawafi('بيت')
print(qawafi)
plurals = arabiclt.get_plurals('كتاب')
print(plurals)
This data has been taken from Radif App, decompile using apktool.
You can download the SQL database from db
folder, and you can download the csv version in csv
folder.
We welcome contributions from the community! If you would like to contribute, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature-branch
) - Create a Pull Request
This project is licensed under the MIT License. See the LICENSE file for more information.