Italian Layout #255
Replies: 23 comments 1 reply
-
Would you be willing to do the research and come up with a better layout
for italian language? we can make the change and would be able to defend
the layout if it's backed by data.
…On Tue, 8 Feb 2022, 23:11 flauta, ***@***.***> wrote:
Actually the Italian keyboard disposition adds the accented chars to the
standard ones, but does not take account of the different frequency of the
letters in italian texts.
To facilitate a fast typing, if a letter is more frequent IMO it should be
obtained with a shorter move: so it should appear in a inner position in
the branches.
The *Y* letter is first (nearer) in the top-left branch, but *it does not
appear at all in the Italian alphabet* (except in foreign words of
course). On the other side, letter *R* is the 7th most used letter but it
appears as the most distant in the branch.
eg see there <https://www.sttmedia.com/characterfrequency-italian>
Wikipedia <https://it.wikipedia.org/wiki/Analisi_delle_frequenze>
So I suggest to swap Y and R position in the Italian keyboard map.
Other possible useful swaps according with letter frequencies in Italian
are Q - X (X is another non-Italian letter) and S - L
I have tried these swaps with the "load local map" function and I find
them useful.
—
Reply to this email directly, view it on GitHub
<#252>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABX5WR6BM72OKVQBS2SLPKTU2FIUFANCNFSM5N3E2BVQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The two links I included in my proposal already contain data about letter frequency in Italian language. See there: https://www.sttmedia.com/characterfrequency-italian I don't know if you and the other developers agree with the concept that more frequent letters should be nearer to the central dot. IMO such a disposition should accelerate typing since the most frequent letters are obtained with shorter movements. So my proposal for the italian layout is this:
|
Beta Was this translation helpful? Give feedback.
-
More frequent letters are important, however also frequent sequences of letters are important. |
Beta Was this translation helpful? Give feedback.
-
If you want, I can see what I get when optimizing for the Italian language! The main problem with my script is that it ignores diacritics. It'll most likely still provide you with way better results compared to the default layout though. You can find a post regarding my script here: #138 (comment) |
Beta Was this translation helpful? Give feedback.
-
Great, diacritics should not matter as those are added always in the same way, thus you simply have to assign the most frequent to the easiest combination. |
Beta Was this translation helpful? Give feedback.
-
Right, this is a problem. The website I used for other langues doesn't seem to feature italian bigrams, so I'm not sure where to find them. |
Beta Was this translation helpful? Give feedback.
-
Here is one italian digrams table (the only I found): http://www.crittologia.eu/critto/php/frequenze_bigrammi_lingua.phtml as for the diacritics: the actual solution ("à" beginning on the same side/place of "a" and so on) is fine for me. |
Beta Was this translation helpful? Give feedback.
-
Okay, so with some formatting, the list looks like this. Would you guys agree that this is representative of Italian?
|
Beta Was this translation helpful? Give feedback.
-
lista_ita_sp.txt |
Beta Was this translation helpful? Give feedback.
-
Sorry the N-grams list from PAISA is this |
Beta Was this translation helpful? Give feedback.
-
Okay, so when doing a really quick search, this is the result:
(Boxing-glove (🥊) means that it's a special character: |
Beta Was this translation helpful? Give feedback.
-
Thanks for your work. I'm going to generate a new XML and start immediately to esperiment your new disposition. I want to put in another consideration: In the italian language the letter Q is always followed by U. It is possible to add a 'diacritic' gesture to get this combination in a single move? The same could be for the combination CH (that is nearly frequent as C + vowel). |
Beta Was this translation helpful? Give feedback.
-
If you wait one more hour, I can give you my final result. :)
I have no idea, unfortunately. |
Beta Was this translation helpful? Give feedback.
-
I noticed that in your script output the order of the letters in the result isn't the same of the XML config file. Could you adapt the output of the script, so that the result can be directly inserted in the XML file? |
Beta Was this translation helpful? Give feedback.
-
Should/can the spaces be included? |
Beta Was this translation helpful? Give feedback.
-
It's not important, since the string must be completed with the missing symbol chars. Let's say that your output is a reference. |
Beta Was this translation helpful? Give feedback.
-
There you go.
|
Beta Was this translation helpful? Give feedback.
-
I think it will be great if we can extend your script to generate the final
xml in the end.
…On Sun, 20 Feb 2022, 18:42 Glitchy-Tozier, ***@***.***> wrote:
There you go.
The top 5 BEST layouts:
⟍ x ▓ ⟋
▓ ⟍ z f ⟋ ▓
q ⟍ g u ⟋ j
s ⟍ l n ⟋ m
t ⟍ ⟋ r
⟍ ⟋
⟋ ⟍
o ⟋ ⟍ a
c ⟋ e i ⟍ p
h ⟋ d v ⟍ b
▓ ⟋ y k ⟍ w
⟋ ▓ ▓ ⟍
aipvbkw- eodcyh-- tlsgqz-x nrumfj--
AIPVBKW- EODCYH-- TLSGQZ-X NRUMFJ--
─────────────────────────────────────────────> Layout-placing: 1
─────────────────────────────────────────────> Score: 811496.75 ~90.05 %
⟍ x ▓ ⟋
▓ ⟍ z f ⟋ y
q ⟍ g u ⟋ j
s ⟍ l n ⟋ m
t ⟍ ⟋ r
⟍ ⟋
⟋ ⟍
o ⟋ ⟍ a
c ⟋ e i ⟍ p
h ⟋ d v ⟍ b
▓ ⟋ w k ⟍ ▓
⟋ ▓ ▓ ⟍
aipvbk-- eodcwh-- tlsgqz-x nrumfj-y
AIPVBK-- EODCWH-- TLSGQZ-X NRUMFJ-Y
─────────────────────────────────────────────> Layout-placing: 2
─────────────────────────────────────────────> Score: 811495.07 ~90.05 %
⟍ x ▓ ⟋
▓ ⟍ z f ⟋ ▓
q ⟍ g u ⟋ y
s ⟍ l n ⟋ m
t ⟍ ⟋ r
⟍ ⟋ (This is the one I posted 2h ago)
⟋ ⟍
o ⟋ ⟍ a
c ⟋ e i ⟍ p
h ⟋ d v ⟍ b
▓ ⟋ w k ⟍ j
⟋ ▓ ▓ ⟍
aipvbkj- eodcwh-- tlsgqz-x nrumfy--
AIPVBKJ- EODCWH-- TLSGQZ-X NRUMFY--
─────────────────────────────────────────────> Layout-placing: 3
─────────────────────────────────────────────> Score: 811485.98 ~90.05 %
⟍ x ▓ ⟋
▓ ⟍ z f ⟋ ▓
q ⟍ g u ⟋ y
s ⟍ l n ⟋ m
t ⟍ ⟋ r
⟍ ⟋
⟋ ⟍
o ⟋ ⟍ a
c ⟋ e i ⟍ p
h ⟋ d v ⟍ b
j ⟋ w k ⟍ ▓
⟋ ▓ ▓ ⟍
aipvbk-- eodcwh-j tlsgqz-x nrumfy--
AIPVBK-- EODCWH-J TLSGQZ-X NRUMFY--
─────────────────────────────────────────────> Layout-placing: 4
─────────────────────────────────────────────> Score: 811481.53 ~90.05 %
⟍ x k ⟋
▓ ⟍ z f ⟋ ▓
q ⟍ g u ⟋ j
s ⟍ l n ⟋ m
t ⟍ ⟋ r
⟍ ⟋
⟋ ⟍
o ⟋ ⟍ a
c ⟋ e i ⟍ p
h ⟋ d v ⟍ b
▓ ⟋ w y ⟍ ▓
⟋ ▓ ▓ ⟍
aipvby-- eodcwh-- tlsgqz-x nrumfjk-
AIPVBY-- EODCWH-- TLSGQZ-X NRUMFJK-
─────────────────────────────────────────────> Layout-placing: 5
─────────────────────────────────────────────> Score: 811479.62 ~90.05 %
#######################################################################################################################
#######################################################################################################################
Custom layouts:
Old / original 8VIM layout:
nomufv-w eilhkj-- tscdzg-- yabrpxq-
NOMUFV-W EILHKJ-- TSCDZG-- YABRPXQ-
───────────────────────────────────> Score: 756014.82 ~83.90 %
—
Reply to this email directly, view it on GitHub
<#252 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABX5WR2NU7253R4LO7DIF33U4DSEVANCNFSM5N3E2BVQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I don't think this makes sense at the moment.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your work! I'm working to the new XML file and I will try it ASAP. |
Beta Was this translation helpful? Give feedback.
-
it_regular_italian_NEW.xml.zip |
Beta Was this translation helpful? Give feedback.
-
I find this much better than the previous layout to write in Italian. |
Beta Was this translation helpful? Give feedback.
-
So, for the Italian users, do you guys agree with the changes made in the PR above? Last comment seems dated. |
Beta Was this translation helpful? Give feedback.
-
Actually the Italian keyboard disposition adds the accented chars to the standard ones, but does not take account of the different frequency of the letters in italian texts.
To facilitate a fast typing, if a letter is more frequent IMO it should be obtained with a shorter move: so it should appear in a inner position in the branches.
The Y letter is first (nearer) in the top-left branch, but it does not appear at all in the Italian alphabet (except in foreign words of course). On the other side, letter R is the 7th most used letter but it appears as the most distant in the branch.
eg see there
Wikipedia
So I suggest to swap Y and R position in the Italian keyboard map.
Other possible useful swaps according with letter frequencies in Italian are Q - X (X is another non-Italian letter) and S - L
I have tried these swaps with the "load local map" function and I find them useful.
Beta Was this translation helpful? Give feedback.
All reactions