bayda-maghreb 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -14
- package/bayda-transpile.cjs +1 -1
- package/lahjat/dzair/dzair.franko.bayda +0 -2
- package/lahjat/dzair/dzair1.bayda +0 -2
- package/lahjat/libya/libya.franko.bayda +0 -2
- package/lahjat/libya/libya1.bayda +0 -1
- package/lahjat/tounsi/tounsi.franko.bayda +0 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
# Bayda Maghreb 🌙 - Franco & Arabic Dialects
|
|
2
2
|
|
|
3
|
-
North African dialect transliteration library - Kabyle, Libya, Tunisia, Algeria, Mauritania
|
|
4
|
-
|
|
5
|
-
## v1.0 -
|
|
6
|
-
|
|
7
|
-
| Code | Name | File |
|
|
8
|
-
|
|
9
|
-
| kab | Kabyle |
|
|
10
|
-
| kab-lat | Kabyle Latin | kabyle-latin.json |
|
|
11
|
-
| ly | Libya | libya.json |
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
| dz | Dzair
|
|
16
|
-
| dz-latn | Dzair Franco | algeria_franco.json | 174 | ✅ |
|
|
3
|
+
North African dialect transliteration library - Kabyle, Libya, Tunisia, Algeria, Mauritania.
|
|
4
|
+
|
|
5
|
+
## v1.0 - 7 dialects green ✅
|
|
6
|
+
|
|
7
|
+
| Code | Name | File | Entries |
|
|
8
|
+
|------|------|------|-------|
|
|
9
|
+
| kab | Kabyle | kabyle.json | 68 |
|
|
10
|
+
| kab-lat | Kabyle Latin | kabyle-latin.json | 103 |
|
|
11
|
+
| ly | Libya | libya.json | 245 |
|
|
12
|
+
| mauritania | Mauritania | mauritania.json | 177 |
|
|
13
|
+
| tn-latn | Tounsi | tunisia_franco.json | 188 |
|
|
14
|
+
| dz | Dzair Arabic | algeria.json | 97 |
|
|
15
|
+
| dz-latn | Dzair Franco | algeria_franco.json | 100 |
|
|
17
16
|
|
|
18
17
|
## Install
|
|
19
18
|
|
package/bayda-transpile.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _load(file){
|
|
|
8
8
|
if(_cache.has(key)) return _cache.get(key);
|
|
9
9
|
const data=JSON.parse(fs.readFileSync(file,'utf8'));
|
|
10
10
|
const map=new Map();
|
|
11
|
-
const CORE=new Set('if else while for break continue function return true false null let const switch import export class new try catch finally throw await async'.split(' '));
|
|
11
|
+
const CORE=new Set('if else while do var this for break continue function return true false null let const switch import export class new try catch finally throw await async'.split(' '));
|
|
12
12
|
const LIB=new Set('Array String Number Object Boolean filter map reduce find push pop console.log sort replace split join stringify promise error call apply bind global module process prompt length'.split(' '));
|
|
13
13
|
const ALIAS={print:'console.log',log:'console.log'};
|
|
14
14
|
if(data.keywords) for(const [w,c] of Object.entries(data.keywords)){
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
cat > lahjat/dzair/dzair.franko.bayda << 'EOF'
|
|
2
1
|
# DZAIRI FRANKO COMPLET 300+ - Chera3 + IT + AI + Internet
|
|
3
2
|
wesh rak = wesh - ach rak - kifak
|
|
4
3
|
sahbi / khoya = sahbi - hbibi
|
|
@@ -115,4 +114,3 @@ API IA - API IA / beb ta3 IA
|
|
|
115
114
|
ChatGPT - ChatGPT / gpt
|
|
116
115
|
Génération d'image - taswira b IA
|
|
117
116
|
RAG - ylawej w ba3ed yjawbek
|
|
118
|
-
EOF
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
cat > lahjat/dzair/dzair1.bayda << 'EOF'
|
|
2
1
|
# دزايري عربي كامل 300+ - شارع + برمجيات + انترنت + ذكاء
|
|
3
2
|
واش راك = كيفاش - شحال
|
|
4
3
|
صاحبي = صاحبي - خويا
|
|
@@ -113,4 +112,3 @@ cat > lahjat/dzair/dzair1.bayda << 'EOF'
|
|
|
113
112
|
واجهة ذكاء = باب تاع ذكاء
|
|
114
113
|
شات جي بي تي = شات جي بي تي
|
|
115
114
|
توليد صورة = توليد صورة بالذكاء
|
|
116
|
-
EOF
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
cat > lahjat/libya/libya.franko.bayda << 'EOF'
|
|
2
1
|
labbas = labas 3leek? | kif halek
|
|
3
2
|
shn al jaw = shn al jaw tawa? | what's up
|
|
4
3
|
kways = miya miya | good
|
|
@@ -331,6 +330,5 @@ nos5a tajribiya beta = beta version | beta
|
|
|
331
330
|
code gadim legacy = legacy code | legacy
|
|
332
331
|
code m5abbal spaghetti = spaghetti code | spaghetti
|
|
333
332
|
salaf ti9ni tech debt = tech debt | debt
|
|
334
|
-
EOF
|
|
335
333
|
ls -lh lahjat/libya/
|
|
336
334
|
wc -l lahjat/libya/libya.franko.bayda
|
|
@@ -170,7 +170,6 @@ JSON - صندوقة مرتّبة
|
|
|
170
170
|
GET / POST / PUT / DELETE - جيب / دز / غيّر / لوّح
|
|
171
171
|
Regex - المنقاش / غربال الدوّة
|
|
172
172
|
Unit Test - جرّب حاجة بروحها
|
|
173
|
-
cat > lahjat/libya/libya1.bayda << 'EOF'
|
|
174
173
|
لباس = لاباس عليك؟ | كيف حالك
|
|
175
174
|
شن الجو = شن الجو توا؟ | what's up
|
|
176
175
|
كويس = مية مية | good
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
cat > lahjat/tounsi/tounsi.franko.bayda << 'EOF'
|
|
2
1
|
3aslema = slem - ahla
|
|
3
2
|
slem / aslema = Hello
|
|
4
3
|
chbik = chnoua bik - chfama?
|
|
@@ -200,4 +199,3 @@ Augmentation - augmentation / zeyada / tal3a
|
|
|
200
199
|
Démission - démission / 5rouj / btalt
|
|
201
200
|
Stage - stage / stage / tadrib
|
|
202
201
|
CV - CV / CV / awra9ek
|
|
203
|
-
EOF
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bayda-maghreb",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Bayda Maghreb - 7 dialects clean + Gen 2 Tech",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "vitest run",
|
|
12
12
|
"test:watch": "vitest",
|
|
13
|
-
"audit": "node audit.cjs"
|
|
13
|
+
"audit": "node audit.cjs",
|
|
14
|
+
"prepublishOnly": "npm test"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|
|
16
17
|
"type": "git",
|