<commit_before>dvorak9
=======

dvorak layout generator for 9 keys phones.

data.txt
--------
Default data.txt is a piece written by <NAME> called *On ne badine
pas avec l'amour*. It has been extracted from [wikisource](http://fr.wikisource.org/wiki/On_ne_badine_pas_avec_l%E2%80%99amour).

explanation of SAMELIMIT
------------------------

Let's suppose that there is only one swap that improve the keyboard. There is
25\*25 possible swaps. If we want that this swap has a probability of at least
0.95 to be made once, then we have to compute 1,871 swaps.
Indeed, we want, X being the good swap :

P(X > 0) > 0.95

X ~ B(n, 1/625), thus
1 - P(X = 0) ≥ 0.95
P(X = 0) ≤ 0.05
(624/625)^n ≤ 0.05
n ln(624/625) ≤ ln 0.05
n ≥ (ln 0.05)/ln(624/625)
n ≥ 1870.9<commit_msg>Update of readme<commit_after>dvorak9
=======

dvorak layout generator for 9 keys phones.

data.txt
--------
Default data.txt is a piece written by <NAME> called *On ne badine
pas avec l'amour*. It has been extracted from [wikisource](http://fr.wikisource.org/wiki/On_ne_badine_pas_avec_l%E2%80%99amour).

explanation of SAMELIMIT
------------------------

Let's suppose that there is only one swap that improve the keyboard. There is
25\*25 possible swaps. If we want that this swap has a probability of at least
0.95 to be made once, then we have to compute 1,871 swaps.
Indeed, we want, X being the good swap :
<pre>
P(X > 0) > 0.95
X ~ B(n, 1/625), thus
1 - P(X = 0) ≥ 0.95
P(X = 0) ≤ 0.05
(624/625)^n ≤ 0.05
n ln(624/625) ≤ ln 0.05
n ≥ (ln 0.05)/ln(624/625)
n ≥ 1870.9
</pre>
{'fraction_non_alphanumeric': 0.15976714100905562, 'fraction_numerical': 0.08667529107373868, 'mean_word_length': 3.049738219895288, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1932599', 'n_tokens_mistral': 682, 'n_tokens_neox': 571, 'n_words': 229}