OneDeadKey / kalamine

Keyboard Layout Maker
MIT License
107 stars 29 forks source link

Add a layout analyzer to `kalamine watch` #68

Open fabi1cazenave opened 9 months ago

fabi1cazenave commented 9 months ago

The page served by kalamine --watch should include a layout analyzer.

For a first iteration, we could reuse some JS from the Ergo‑L project ; in the longer run, there are some Rust analyzers worth using.

Ideally, Kalamine could download text corpus directly from appropriate sources on the net like the university of Leipzig, store them in ~/.config/kalamine and parse them to extract the common letters, bigrams, trigrams — which, again, has already been developed for the Ergo‑L project.