mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
What changed, and why (Gboard black box on a Pixel 8 emulator, API 36, one language, as Hex has no globe key): - An emoji key beside the comma, where Gboard puts it when its emoji switch key shows (its default with one language): ?123 1.5, comma 1, emoji 1, space 4 (was 5), period 1, enter 1.5 cells. Rollover covers it like the other keys. - The emoji panel replaces the strip and the keys and, like Gboard's, stands 124 dp taller than the keyboard (Gboard: 325 px on the Pixel 8), as long as the keyboard stays within 60% of the screen (less in landscape). It is AndroidX's emoji picker 1.7.0 (androidx.emoji2:emoji2-emojipicker, Apache 2.0) in Hex's colours through a theme overlay (ink for the chosen category, quiet icons and titles, the sheet colour behind skin tones), in light and dark: its categories along the top, Recently used, and skin tones on a held emoji, remembered per emoji. Under it, ABC goes back to the letters, a space bar, and delete with the keys' own repeat and word slide. A new picker each time the panel opens, because the picker refreshes its recents only once their row scrolls away. Picking an emoji gives Gboard's KEYBOARD_TAP. Search is not in the picker; it can follow. - Delete takes a whole character as people see it (a grapheme cluster: 👍🏽, a flag, a family), as Gboard does; it took one code point, leaving a broken sequence behind. - credits.txt names the picker and Guava (its dependency). Size: the release APK (R8, shrunk) grows from 67,858,522 to 68,809,372 bytes, +0.95 MB, measured on the Studio with the debug key standing in for the upload key, outside the repo. Verified (emulator only, Pixel 8, API 36 and API 31): the bottom row next to Gboard's; the panel opens at Gboard's height; picking 😀 and 😃 types both, delete takes one whole, ABC returns and the next key types a letter; Recently used shows the picks newest first when the panel opens again; a held 🙋 offers 18 skin-tone variants, picking one types 🙋🏼♀️ and the grid keeps it, and one delete removes all seven code units; dark mode and landscape screenshots; dumpsys vibrator_manager shows KEYBOARD_TAP for an emoji, as for Gboard's. New cases in InsertionTest; assembleDebug, testDebugUnitTest and lintDebug pass.
49 lines
4 KiB
Text
49 lines
4 KiB
Text
Whisper model weights by OpenAI; Q5_1 conversion distributed by Georgi Gerganov. MIT.
|
||
whisper.cpp and ggml by Georgi Gerganov and contributors. MIT.
|
||
Kotlin and AndroidX: Apache License 2.0. LLVM libc++: Apache 2.0 with LLVM exceptions.
|
||
The keyboard's emoji panel: the AndroidX emoji picker and Guava, by Google. Apache License 2.0.
|
||
Inter by Rasmus Andersson and the Inter Project Authors. SIL Open Font License 1.1.
|
||
Unmodified InterVariable.ttf from https://github.com/rsms/inter/releases/tag/v4.1
|
||
|
||
Keyboard suggestion filter: List of Dirty, Naughty, Obscene, and Otherwise Bad Words
|
||
(LDNOOBW), © 2012–2020 Shutterstock, Inc., and contributors. English, Spanish, German,
|
||
Norwegian, French and Italian lists. Source: https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words/tree/5faf2ba42d7b1c0977169ec3611df25a3c08eb13
|
||
Creative Commons Attribution 4.0 International: https://creativecommons.org/licenses/by/4.0/
|
||
Full licence: cc-by-4.0.txt. Hex lowercased and classified the entries, omitted ordinary,
|
||
medical and search-only terms, and added common slurs, inflections and spelling variants.
|
||
|
||
English, Spanish, German, French and Italian keyboard language models (.hextm): derived from Google Books Ngram
|
||
Viewer, version 3 (2020-02-17), by Google and the Google Books Ngram contributors.
|
||
https://storage.googleapis.com/books/ngrams/books/datasetsv3.html
|
||
Creative Commons Attribution 3.0 Unported: https://creativecommons.org/licenses/by/3.0/
|
||
Changes: lowercased and summed word and word-pair counts for 1980–2019, filtered
|
||
spellings, selected informative pairs, and quantized probabilities into HXTM v3.
|
||
The English, Spanish, German, French and Italian capitalization lists (.capitals) come from the same corpus's
|
||
word counts for 1980–2019: the share of each word written with a capital first letter.
|
||
The Spanish, German, French and Italian validity lists (.valid) come from the same word counts:
|
||
spellings outside each model used at least 3,000 times (German: 10,000), with each word's count
|
||
quantized to a cost.
|
||
|
||
German, French and Italian use their corpus's alphabetic spellings; no external dictionary. French and
|
||
Italian keep the books' elided forms ("c'est", "dell'anno") and leave out the same letters run together.
|
||
English literal validity also uses SCOWL words, proper names, uppercase forms and abbreviations
|
||
outside the frequency model, lowercased and sorted; these spellings carry no word probabilities.
|
||
English spellings: SCOWL 2020.12.07, sizes through 70; Kevin Atkinson and contributors.
|
||
Permission and individual source notices: scowl.txt. https://wordlist.aspell.net/
|
||
Spanish spellings: RLA-ES Hunspell dictionaries (es_ES and es_MX), coordinated by Santiago Bosio,
|
||
used under Mozilla Public License 1.1. The frequency model filters by these spellings;
|
||
the original dictionaries are unmodified. See mpl-1.1.txt, rla-LICENSE.md and rla-README_hunspell_es.txt.
|
||
Source files: https://github.com/LibreOffice/dictionaries/tree/762abe74008b94b2ff06db6f4024b59a8254c467/es
|
||
|
||
Norwegian Bokmål keyboard language model: N-grammer fra Nasjonalbiblioteket 2026,
|
||
National Library of Norway (Nasjonalbiblioteket). Book unigrams and bigrams ("digibok"),
|
||
language nob, 1980–2019. CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
|
||
https://data.norge.no/nb/datasets/f2eebe8b-bd83-34e4-bcf3-c0c5e37a77f8/n-grammer-fra-nasjonalbiblioteket-2026
|
||
Spelling filter: Norsk ordbank – bokmål 2005, 1 February 2022, University of Bergen
|
||
(Universitetet i Bergen) and the Language Council of Norway (Språkrådet), distributed by
|
||
Nasjonalbiblioteket. CC BY 4.0: https://creativecommons.org/licenses/by/4.0/
|
||
https://data.norge.no/en/datasets/f0db926d-a154-3a12-82b8-6573b57f6dbb/norsk-ordbank-norwegian-bokmal-2005
|
||
Changes: normalized and lowercased word forms, filtered the book counts to attested
|
||
Bokmål spellings, selected informative pairs and quantized probabilities into HXTM v3.
|
||
The Bokmål validity list (nb.valid) is the Norsk ordbank standard full forms outside the model
|
||
that the same book counts use at least 1,000 times, with each word's count quantized to a cost.
|