summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-10-17 10:50:58 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-10-27 15:36:44 +0200
commit179ed7cf916c3b3b2f6bfbb245b8f4316977ddeb (patch)
tree565370a93247dc051a4a916c1dce4c900a6b5487
parentb42ab59f92b2f015b2b06cbd1bbbfc43ab11c506 (diff)
downloadlulua-179ed7cf916c3b3b2f6bfbb245b8f4316977ddeb.tar.gz
lulua-179ed7cf916c3b3b2f6bfbb245b8f4316977ddeb.tar.bz2
lulua-179ed7cf916c3b3b2f6bfbb245b8f4316977ddeb.zip
layouts: Add ar-qtaish
-rwxr-xr-xgen.sh2
-rw-r--r--lulua/data/layouts/ar-qtaish.yaml64
-rw-r--r--lulua/data/report/index.html53
3 files changed, 118 insertions, 1 deletions
diff --git a/gen.sh b/gen.sh
index 998f4a2..fb2cf8a 100755
--- a/gen.sh
+++ b/gen.sh
@@ -2,7 +2,7 @@
# Generate build.ninja that builds the docs/stats/…
corpusdir=corpus
-layouts="ar-lulua ar-asmo663 ar-linux ar-malas ar-phonetic ar-osman ar-khorshid ar-osx ar-idlebi ar-alramly ar-ergoarabic"
+layouts="ar-lulua ar-asmo663 ar-linux ar-malas ar-phonetic ar-osman ar-khorshid ar-osx ar-idlebi ar-alramly ar-ergoarabic ar-qtaish"
layoutsXmodmap="ar-lulua"
corpora="`ls ${corpusdir}`"
diff --git a/lulua/data/layouts/ar-qtaish.yaml b/lulua/data/layouts/ar-qtaish.yaml
new file mode 100644
index 0000000..2acd0d6
--- /dev/null
+++ b/lulua/data/layouts/ar-qtaish.yaml
@@ -0,0 +1,64 @@
+name: ar-qtaish
+layout:
+- layer:
+ Bl2: "١"
+ Bl3: "٢"
+ Bl4: "٣"
+ Bl5: "٤"
+ Bl6: "٥"
+ Bl7: "٦"
+ Br6: "٧"
+ Br5: "٨"
+ Br4: "٩"
+ Br3: "٠"
+
+ Cl_tab: "\t"
+ Cl1: "ق"
+ Cl2: "ى"
+ Cl3: "ة"
+ Cl4: "د"
+ Cl5: "ف"
+ Cr7: "ك"
+ Cr6: "ص"
+ Cr5: "س"
+ Cr4: "ح"
+ Cr3: "ذ"
+ Cr2: "ش"
+ Cr1: "ج"
+
+ CD_ret: "\n"
+
+ Dl1: "ر"
+ Dl2: "و"
+ Dl3: "ن"
+ Dl4: "ل"
+ Dl5: "ب"
+ Dr7: "ت"
+ Dr6: "ا"
+ Dr5: "ع"
+ Dr4: "ي"
+ Dr3: "م"
+ Dr2: "ه"
+
+ El2: "ض"
+ El3: "خ"
+ El4: "ز"
+ El5: "ظ"
+ El6: "غ"
+ Er5: "ا\u0654" # composed: أ
+ Er4: "ء"
+ Er3: "ط"
+ Er2: "ث"
+ Er1: "\u064a\u0654" # composed: ئ
+
+ Fl_space: " "
+ Fr_space: " "
+ modifier:
+ - []
+- layer:
+ Dl2: "\u0648\u0654" # composed: ؤ
+ Dr6: "ا\u0653" # composed: آ
+ Er5: "ا\u0655" # composed: إ
+ modifier:
+ - [El_shift]
+ - [Er_shift]
diff --git a/lulua/data/report/index.html b/lulua/data/report/index.html
index 146b7f9..4923e98 100644
--- a/lulua/data/report/index.html
+++ b/lulua/data/report/index.html
@@ -760,6 +760,59 @@
</div>
</figure>
+ <div id="ar-qtaish" class="pure-g flexreverse">
+ <div class="pure-u-1 pure-u-xl-1-2">
+ </div>
+ <div class="pure-u-1 pure-u-xl-1-2" lang="en">
+ <div class="lbox">
+ <h3><a href="#ar-qtaish">Qtaish et al</a></h3>
+ <p>
+ Qtaish et al presented this layout in
+ <a href="http://www.sci-int.com/pdf/637456047563529791.pdf">An Improved Arabic Keyboard Layout</a> in 2021.
+ <!-- -->
+ They use a novel corpus of 5 million words or roughly 66 million letters
+ <!-- 65713689 adding up the numbers in their paper --> consisting of
+ newspapers, (now defunct) social networks and blogs, as well as six
+ dictionaries (see remarks).
+ <!-- -->
+ Then letters were classified into three categories based on their
+ frequency, which apparently were used to populate home, top and bottom
+ row (in this order).
+ <!-- -->
+ Additionally bigrams were somehow used to arrange letters and avoid
+ placing them on the same or adjacent fingers, making rolling finger
+ movements incentiviced by carpalx impossible.
+ <!-- -->
+ Ultimately it looks like the layout was designed by hand and not through
+ an automated process. <!-- see section 5 of the paper -->
+ </p>
+
+ <details class="remarks">
+ <summary></summary>
+ <em>Alfarahindi</em> and <em>Alein Dictionary</em> are most likely the same 8th century book <a href="https://en.wikipedia.org/wiki/Kitab_al-%27Ayn">Kitab al-'Ayn</a>.
+ <!-- -->
+ There are also <a href="https://ar.wikipedia.org/wiki/%D8%AA%D8%A7%D8%AC_%D8%A7%D9%84%D8%B9%D8%B1%D9%88%D8%B3_%D9%85%D9%86_%D8%AC%D9%88%D8%A7%D9%87%D8%B1_%D8%A7%D9%84%D9%82%D8%A7%D9%85%D9%88%D8%B3">Taj-Alaroos</a>, <a href="https://www.lesanarab.com/letter/">Lesan Alarab</a>, <a href="https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D9%85%D8%B9%D8%AC%D9%85_%D8%A7%D9%84%D9%88%D8%B3%D9%8A%D8%B7">Almujam Alwaseet</a> and <a href="https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D9%85%D9%86%D8%AC%D8%AF_(%D9%84%D9%88%D9%8A%D8%B3_%D9%85%D8%B9%D9%84%D9%88%D9%81)">Almunjed</a>.
+ <!-- -->
+ All of them are lexica, not dictionaries.
+ </details>
+
+ <p>
+ Although the authors do not provide a number row, it has been added for
+ fair comparison.
+ <!-- -->
+ However to be actually usable the layout would need punctuation symbols and diacritics.
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <figure id="ar-qtaish">
+ <div class="lbox">
+ <img src="ar-qtaish-heat.svg">
+ {{ fingerhandstats(layoutstats['ar-qtaish']) }}
+ </div>
+ </figure>
+
<div id="ar-ergoarabic" class="pure-g flexreverse">
<div class="pure-u-1 pure-u-xl-1-2">
</div>