ejtaal / aa Goto Github PK
View Code? Open in Web Editor NEWArabic Almanac, a HTML/JS app that allows looking up arabic roots in Hans Wehr, Lane's Lexicon and Hava simultaniously.
Arabic Almanac, a HTML/JS app that allows looking up arabic roots in Hans Wehr, Lane's Lexicon and Hava simultaniously.
LS is shown on 1st load, but when a root is searched which is not found in supplement , LS is hidden and then remains hidden even if later we search a root found in supplement. It has to be manually shown each time such a shift occurs.
I suggest by default LS remains shown, as even if shown , no image is loaded, so no problem of bandwidth or image loading, simply "LL supplement, page 2 (of 86)" is written as text which is not an issue. But the page should be displayed for roots contained in the Supplement which is not being displayed currently without manually pushing show button.
Search for instance for "jd" and you'll see a cropped page in KAZ.
The following command produces this list of images with a non standard aspect ratio:
for i in img/kaz/_/_png; do nice convert $i -format "%[fx:w/h] %f" info: | egrep -v "^(0.5[6789]|0.6|0.6[123])"; done | tee kaz-odd-ones-out.txt
0.280584 kaz-0001.png
1.04022 kaz-0002.png
1 kaz-0003.png
1 kaz-0004.png
0.5 kaz-0005.png
1 kaz-0006.png
0.712928 kaz-0007.png
4.74684 kaz-0008.png
0.556793 kaz-1117.png
0.559701 kaz-1272.png
0.430293 kaz-1417.png
0.559284 kaz-1899.png
0.558867 kaz-1979.png
0.476796 kaz-0177.png
0.422297 kaz-0183.png
0.472292 kaz-0185.png
0.448029 kaz-2282.png
0.559701 kaz-2315.png
0.438853 kaz-2322.png
0.443787 kaz-2354.png
0.457038 kaz-2408.png
0.454545 kaz-2412.png
0.432526 kaz-2426.png
0.451807 kaz-2428.png
0.452899 kaz-2612.png
0.422535 kaz-0249.png
0.484809 kaz-0269.png
9.86842 kaz-3041.png
1.31119 kaz-3042.png
1 kaz-3043.png
1 kaz-3044.png
0.117078 kaz-3045.png
1 kaz-3046.png
0.437828 kaz-3047.png
1 kaz-3048.png
These will need to be re-generated under supervision. To be done late iA.
Salam,
Just wanted to remind you of the above suggestiion.
Also, I've noticed on the iPad that the first letter always comes as capital. That causes a problem when it's a normal letter like a laam, etc., as teh Almanac can't recognise the "L". My suggestion is to make it overlook caps in the letters that it doesn't make any difference in.
Finally, have you managed to get any more spare time on your hands to discuss that dictionary proposition I once mentioned to you over email?
Wasalam,
Muhiuddin
Allow sliding of pages on touch devices such as phones/tablets. Requires testing of suitable js libs.
Search box maintains previous search when opened again, it must show blank search box for new search, as currently previous search has to be deleted before entering new root for search
Usable/doable/useful?
If hidden, KAZ unhides itself in new searches automatically
Freytag's Arabic -> Latin as an academic exercise as practical use limited IMHO.
I have been successfully been able to open the mobile offline version on Android using Opera by opening the index.html file from the file manager. However, when I try the same thing in Chrome, it says "Access to the file was denied". I don't have a problem using Opera but it would nice to use Chrome since it's the default browser on Android. I'm running the latest version of Android (4.3 Jellybean) and Chrome version 28.0.1500.94
(Please note not all features may be present in the next version)
Sometimes the images are not loading and no image is loaded or previous image is retained even if we push next button many times.
Maybe images need to be put in same directory, somehow images are not fetched sometimes on some instances maybe out of sync due to different locations.
The check indexes script currently produces the following output:
Index of 732 lines looks well sorted and OK!! :)
Index of 1064 lines looks well sorted and OK!! :)
Index of 897 lines looks well sorted and OK!! :)
Problems found in this index at the following locations:
hw_c[0][0] = Title
hw_c[1][0] = Intro
hw_c[4][0] = Ta
hw_c[5][0] = Tha
hw_c[6][0] = Jim
hw_c[7][0] = _Ha
hw_c[8][0] = Kha
hw_c[10][0] = Dhal
hw_c[11][0] = Ra
hw_c[12][0] = Za
hw_c[13][0] = Seen
hw_c[14][0] = Sheen
hw_c[15][0] = Saad
hw_c[17][0] = _Ta
hw_c[19][0] = Ain
hw_c[20][0] = Ghain
hw_c[22][0] = Qaf
hw_c[27][0] = Ha
hw3[35]=اسو
hw3[194]=حصر
hw3[300]=دعي
hw3[458]=سويد
hw3[676]=عم
Index of 1301 lines looks well sorted and OK!! :)
Problems found in this index at the following locations:
imn[485] = ردد
imn[489] = ردد
imn[498] = رسح
imn[1186] = كتت
imn[1221] = كلي
imn[1277] = لقع
imn[1385] = نثط
imn[1393] = نجب
imn[1556] = عزن
imn[1592] = end
imn[1593] = end
imn[1594] = end
Index of 3030 lines looks well sorted and OK!! :)
Problems found in this index at the following locations:
la[9]=ابل
la[379]=بحي
la[625]=جثا
la[2194]=شتي
la[2505]=صنبر
la[2514]=صهم
la[2801]=علت
la[2990]=عضج
la[3273]=غضر
la[3763]=قهلبس
la[3891]=كنكع
Problems found in this index at the following locations:
ll_p[303]=بهو
ll_p[584]=حرو
ll_p[777]=خسو
ll_p[797]=خضوم
ll_p[1068]=رث[رت]
ll_p[1360]=سلو
ll_p[1552]=شتج
ll_p[1599]=شطن
ll_p[1627]=شقع
ll_p[1776]=صمخ
ll_p[1882]=ضعث
ll_p[2338]=غرو
ll_p[2339]=غرو
ll_p[2537]=فلد
ll_p[2573]=قب
ll_p[2724]=كدس
ll_p[2826]=مدث
ll_p[3078]=يلب
ls_p[3]=ق
ls_p[4]=قبل
ls_p[5]=قتن
ls_p[6]=قدم
ls_p[7]=قرطف
ls_p[8]=قرن
ls_p[9]=قشف
ls_p[10]=قضى
ls_p[11]=قطف
ls_p[12]=قفو
ls_p[13]=قلق
ls_p[14]=قنفذ
ls_p[15]=قول
ls_p[16]=قوم
ls_p[17]=قوى
ls_p[18]=ك
ls_p[19]=كحل
ls_p[20]=كرم
ls_p[21]=كشف
ls_p[22]=كفهر
ls_p[23]=كلف
ls_p[24]=كن
ls_p[25]=كن
ls_p[26]=كن
ls_p[27]=لا
ls_p[28]=لثو
ls_p[29]=لحم
ls_p[30]=لزم
ls_p[31]=لعق
ls_p[32]=لفو
ls_p[33]=لقى
ls_p[34]=لهزم
ls_p[35]=لون
ls_p[36]=لون
ls_p[37]=متع
ls_p[38]=مثل
ls_p[39]=مثل
ls_p[40]=مسك
ls_p[41]=مشى
ls_p[42]=مطى
ls_p[43]=مل
ls_p[44]=من
ls_p[45]=منع
ls_p[46]=موق
ls_p[47]=موق
ls_p[48]=نبه
ls_p[49]=نجو
ls_p[50]=نخل
ls_p[51]=نزع
ls_p[52]=نزل
ls_p[53]=نسم
ls_p[54]=نضو
ls_p[55]=نعق
ls_p[56]=نعم
ls_p[57]=نفى
ls_p[58]=نقى
ls_p[59]=نهك
ls_p[60]=نول
ls_p[61]=نول
ls_p[62]=هجن
ls_p[63]=هجن
ls_p[64]=هضم
ls_p[65]=هم
ls_p[66]=هنم
ls_p[67]=هيق
ls_p[68]=هيق
ls_p[69]=وتن
ls_p[70]=وجه
ls_p[71]=وخم
ls_p[72]=ورق
ls_p[73]=وسع
ls_p[74]=وسم
ls_p[75]=وصل
ls_p[76]=وضع
ls_p[77]=وغل
ls_p[78]=وقع
ls_p[79]=وقف
ls_p[80]=ولس
ls_p[81]=ولى
ls_p[82]=وهن
ls_p[83]=وهن
Problems found in this index at the following locations:
mgf[81] = ام
mgf[82] = ام
Index of 167 lines looks well sorted and OK!! :)
Problems found in this index at the following locations:
sg[67]=اسط
sg[117]=ائس
sg[171]=بيا
sg[276]=جاد
sg[287]=حذف
sg[293]=حرى
sg[465]=رئى
sg[829]=فيز
sg[921]=كيع
sg[999]=مرا
sg[1105]=ميج
Problems found in this index at the following locations:
ulq[335]=ان
ulq[846]=روم
ulq[847]=رهب
ulq[848]=رهط
ulq[849]=رهن
ulq[850]=رهو
ulq[1016]=شعف
ulq[1840]=ياجوج
Index of 937 lines looks well sorted and OK!! :)
Problems found in this index at the following locations:
umr[146] = بوب
umr[147] = بوب
umr[177] = ثمم
umr[206] = جلل
umr[452] = راي
umr[453] = راي
umr[454] = راي
umr[455] = راي
umr[465] = زيت
umr[534] = سيح
umr[536] = سير
umr[543] = سيل
umr[544] = سال
umr[546] = سين
umr[550] = سوا
umr[551] = سوا
umr[552] = سوا
umr[567] = شطن
umr[592] = title
umr[849] = فيع
umr[955] = كفا
umr[1010] = ميد
umr[1011] = ميل
umr[1040] = ملا
umr[1042] = منن
umr[1043] = منن
umr[1135] = هلل
umr[1143] = هيت
umr[1145] = ها
umr[1212] = ي
Problems found in this index at the following locations:
ums[23] = اخو
ums[153] = جرز
ums[494] = شرر
ums[510] = صرف
ums[786] = كفا
ums[787] = كفر
ums[788] = كسل
ums[789] = كشف
ums[790] = كسب
ums[791] = كسع
ums[794] = كمد
ums[795] = كمم
ums[796] = كلم
ums[797] = كلي
ums[798] = كلب
ums[799] = كلل
ums[900] = ندي
Problems found in this index at the following locations:
uqa[159]=رعي
uqa[190]=سخر
uqa[259]=ضطر
Problems found in this index at the following locations:
uqw[205] = تلا
uqw[208] = تاج
uqw[235] = جثال
uqw[272] = جلع
uqw[488] = حوق
uqw[1346] = قضي
uqw[1532] = محض
Problems found in this index at the following locations:
vi[75] = بتر
vi[93] = ثكن
vi[99] = جعل
vi[293] = قضف
Assalamualaikum brother Erik,
I am a student of the Arabic language from Malaysia. Particularly from the online institution called Basooir.com. We love your app!
I would like report an issue that most prolly is already in your bucket list. The /aa on web is jerky when we scroll down the page - it snaps back up to the top.
Hopefully this bug can easily be squashed when you have the time.
I am using iPhone 4s. And my friends who are using iPhone and Android have reported this issue as well.
Jazakallahu khairan kasiran!
This will hide books completely. An additional menu in the settings area would be needed.
Rather than providing a single large download, also provide the option to only download a few dictionaries. The aa.html would have to be modified so as to allow detection of which dicts have been installed. I guess this could work by including the indexes in a non blocking way and making each index call a 'register_dict()' function of some sort.
When I searched for شكس, it took me to شقص on LL:
http://ejtaal.net/m/aa/#HW4=575,HW3=500,LL=4_305,LS=2,HA=385,SG=570,BR=519,PR=87
Thanks!
Self described in subject :)
I'll investigate...
Version 4.0 was released July 20. Let's see which book is the most popular and adjust the default order accordingly:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.