summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-09-21 11:15:16 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-09-21 11:15:16 +0200
commite6f221971927d68ebadca7a9517edf1190a9213c (patch)
tree54ecd6f279570718bd1ac4c05675048778632a84 /README.rst
parentcf0c56e14529a47f54daa62e2e6a9ab0e76c6d12 (diff)
downloadlulua-e6f221971927d68ebadca7a9517edf1190a9213c.tar.gz
lulua-e6f221971927d68ebadca7a9517edf1190a9213c.tar.bz2
lulua-e6f221971927d68ebadca7a9517edf1190a9213c.zip
Add simple README
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst39
1 files changed, 39 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..a930e22
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,39 @@
+لؤلؤة
+=====
+
+Ergonomic Arabic Keyboard layout. See https://6xq.net/لؤلؤة/ for details.
+
+Creating layouts
+----------------
+
+Although optimized for the Arabic language it should be possible to create
+layouts for other (non-RTL) languages as well. Here’s how to proceed. First,
+create a data file ``my-layout.yaml`` that contains all key to character
+mappings the new layout should have. Look at ``lulua/data/layouts`` for
+examples. Then create statistics for a lzip-compressed corpus of your
+choosing:
+
+.. code:: bash
+
+ ls corpus/*.txt.lz | lulua-write text my-layout.yaml | lulua-stats combine > stats.pickle
+
+Now you can optimize your layout using:
+
+.. code:: bash
+
+ lulua-optimize -n 30000 --triad-limit=30000 -r -l my-layout.yaml < stats.pickle > evolved.yaml
+
+To get a pretty picture (SVG) of your layout render it:
+
+.. code:: bash
+
+ lulua-render -l evolved.yaml svg evolved.svg
+
+Acknowledgements
+----------------
+
+This software is using an extended version of carpalx_ by Martin Krzywinski for
+optimizing layouts.
+
+.. _carpalx: http://mkweb.bcgsc.ca/carpalx/?typing_effort
+