Using chatGPT API, generate a dictionary from an Arabic book

Mbyllur Postuar 3 javё mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

Hello! In order to help me learning Arabic, I would like to make a small dictionary with the help of chatGPT API. I would like to make it from 2 books. The first book is a book in Arabic and the second book is its translation in English.

Here is an extract from the book in Arabic ([login to view URL]):

فَمِنَ الْوَاجِبِ خَمْسُ صَلَوَاتٍ فِى الْيَوْمِ وَاللَّيْلَةِ

الظُّهْرُ وَوَقْتُهَا إِذَا زَالَتِ الشَّمْسُ إِلَى مَصِيرِ ظِلِّ كُلِّ شَىْءٍ مِثْلَهُ غَيْرَ ظِلِّ الِاسْتِوَاءِ.

وَالْعَصْرُ وَوَقْتُهَا مِنْ بَعْدِ وَقْتِ الظُّهْرِ إِلَى مَغِيبِ الشَّمْسِ.

وَالْمَغْرِبُ وَوَقْتُهَا مِنْ بَعْدِ مَغِيبِ الشَّمْسِ إِلَى مَغِيبِ الشَّفَقِ الأَحْمَرِ.

وَالْعِشَاءُ وَوَقْتُهَا مِنْ بَعْدِ وَقْتِ الْمَغْرِبِ إِلَى طُلُوعِ الْفَجْرِ الصَّادِقِ.

وَالصُّبْحُ وَوَقْتُهَا مِنْ بَعْدِ وَقْتِ الْعِشَاءِ إِلَى طُلُوعِ الشَّمْسِ

فَتَجِبُ هَذِهِ الْفُرُوضُ فِى أَوْقَاتِهَا عَلَى كُلِّ مُسْلِمٍ بَالِغٍ عَاقِلٍ طَاهِرٍ أَىْ غَيْرِ الْحَائِضِ وَالنُّفَسَاءِ.

Here is the corresponding extract from the book in English ([login to view URL]):

It is obligatory to perform five prayers throughout the day and the night. These are:

* The Noon Prayer (Dhuhr). (Four (4) rak^ahs): Its time begins when the sun has declined westward from the middle of the sky and remains until the length of the shadow of an object becomes equal to that of the object per se, in addition to the length of the shadow of that object when the sun was at its zenith.

* The Mid-afternoon Prayer (^Asr). (Four (4) rak^ahs): Its time begins after Dhuhr ends, and remains until sunset.

* The Sunset Prayer (Maghrib). (Three (3) rak^ahs): Its time begins after sunset, i.e., when ^Asr ends, and remains until the disappearance of the redness in the western horizon.

* The Nightfall Prayer (^Isha'). (Four (4) rak^ahs): Its time begins when Maghrib time ends and remains until the appearance of the true dawn (Fajr Sadiq).

* The Dawn Prayer (Subh). (Two (2) rak^ahs): Its time begins after ^Isha' time and remains until sunrise (Shuruq).

These obligatory prayers must be performed in their due times by every Muslim who is pubescent, sane, and pure.

I would like to process each word in Arabic and generate a JSON object with the word in Arabic, its translations in English, the Arabic type of the word, an example of sentence in Arabic and the corresponding sentence in English. In Arabic there are 3 types of word: noun (اسم), verb (فعل) and harf (حرف). If the word is an noun, I would like to have plural next to the singular. And if the word is a verb, I would like to have the past, present and noun.

Here are some examples:

[{

"ar": "مِن",

"eng": "from",

"type": "حرف",

"ar_sen": "فَمِنَ الْوَاجِبِ خَمْسُ صَلَوَاتٍ فِى الْيَوْمِ وَاللَّيْلَةِ",

"eng_sen": "It is obligatory to perform five prayers throughout the day and the night"

},

{

"ar": "وَاجِب وَاجِبَات",

"eng": "onus, obligation, duty, job, responsibility, task, assignment",

"type": "اسم",

"ar_sen": "فَمِنَ الْوَاجِبِ خَمْسُ صَلَوَاتٍ فِى الْيَوْمِ وَاللَّيْلَةِ",

"eng_sen": "It is obligatory to perform five prayers throughout the day and the night"

},

{

"ar": "يَوْم أَيَّام",

"eng": "day",

"type": "اسم",

"ar_sen": "فَمِنَ الْوَاجِبِ خَمْسُ صَلَوَاتٍ فِى الْيَوْمِ وَاللَّيْلَةِ",

"eng_sen": "It is obligatory to perform five prayers throughout the day and the night"

},

{

"ar": "جابَ يَجِبُ الجوب",

"eng": "ought, should, be necessary, become necessary",

"type": "فعل",

"ar_sen": "فَتَجِبُ هَذِهِ الْفُرُوضُ فِى أَوْقَاتِهَا عَلَى كُلِّ مُسْلِمٍ بَالِغٍ عَاقِلٍ طَاهِرٍ أَىْ غَيْرِ الْحَائِضِ وَالنُّفَسَاءِ",

"eng_sen": "These obligatory prayers must be performed in their due times by every Muslim who is pubescent, sane, and pure"

}

]

ChatGPT JSON Kodim GPT-4 Programim

ID Projekti: #38017010

Rreth projektit

10 propozimet Projekti në distancë Aktiv 2 javё mё parё

10 profesionistë freelancer dërguan një ofertë mesatare prej $214 për këtë punë

pivendev

I have many years of experience on JSON, ChatGPT

$120 USD për 3 ditë
(0 Përshtypje)
0.0
souyah

Hi, there! Having confirmed the job posting, it seems like you might be looking for a senior developer for your project - Generate a dictionary from an Arabic book using AI. I have worked with similar projects so tha Më shumë

$200 USD për 2 ditë
(0 Përshtypje)
0.0
derekjlaporte

Hello, Authmane T., Thank you for posting the job "Generate a dictionary from an Arabic book using AI". With my extensive experience in software development, I am confident that I can deliver perfect results for your b Më shumë

$200 USD për 2 ditë
(0 Përshtypje)
0.0
aiman61

I can develop a valuable resource for comparing the original text of (6500 w) to its English counterpart, adding my proficiency in both Arabic and English languages. This project aligns perfectly with my goal of helpi Më shumë

$250 USD për 7 ditë
(0 Përshtypje)
0.0
Alburale

işinizi yapmak için buradayım! GPT ile çeviri yapmak için geniş bir deneyime ve yeteneğe sahibim. Metinleri hızlı ve doğru bir şekilde çevirebilirim. İşinizi memnuniyetle üstlenebilirim.

$180 USD për 3 ditë
(0 Përshtypje)
0.0
ahmedaaalnaasan

As a seasoned IT professional with over 8 years of experience, I believe I am the perfect match for your project. Having worked extensively in the realm of information technology, I have gained profound expertise in ar Më shumë

$150 USD për 7 ditë
(0 Përshtypje)
0.0
MADA2486

Hello! I am Egyptian and my primary language is Arabic, the language of the Qur’an..................My religion is Muslim...I think I am best suited for this job I'm [mohamed maher ], a professional translator and exp Më shumë

$140.01 USD për 4 ditë
(0 Përshtypje)
0.0
MohmedAbdelwahab

As an experienced Python developer with a solid background in NLP, MLOps, and machine learning, I am more than suited for the challenge of using the chatGPT API to generate your Arabic-English dictionary. With regards Më shumë

$160 USD për 7 ditë
(0 Përshtypje)
0.0