mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
"heart" is the first word people try, and it offered nothing: CLDR names ❤️ "red heart", and "heart" is shared by 45 emoji, so the index weighed it down for all of them. What changed - scripts/emoji-aliases-en.txt: heart → ❤️ 💕 💖, as Hex's other chat words. "love" already offers ❤️ first (love → ❤️ 😍 🥰 😘), so it is unchanged. Chat words apply on every layout ("heart" on German gives ❤️). - scripts/build-emoji-data.py: a word several emoji share still counts for less, except for the emoji it is the whole name of ("fuego" → 🔥, "sun" → ☀️). This replaces the spread undo #2461 put in EmojiSuggester.forWord, which also lifted names a word is only part of whenever the word was a chat word (the index never spreads those). Finished words got a third, loosely related emoji: "fire " offered 🔥 ❤️🔥 🚒, "smile " 😊 😄 😼, "ok " 👌 👍 🙆. Now "fire " offers 🔥, "smile " 😊 😄, "ok " 👌 👍. The panel's emoji row ranks those whole names higher too. - emoji-index-{en,es,de,nb}.txt regenerated. Without the two changes the script reproduces the committed files byte for byte (same emoji-test 18.0 and CLDR 49 downloads), so the diff is only these weights and the heart line. - EmojiSuggester.forWord compares the stored weight again. - "thumbs up" is left as is: the strip reads one word, and "up" is a stopword, so the whole phrase needs a two-word span in the strip and the tap. "thumbs" already offers 👍 before and after its space. - docs/keyboard.md: the Emoji section. Verified - EmojiSuggesterTests, EmojiShortcodeTests, EmojiPanelLettersKeyTests and the typed-word emoji engine test: 41 tests, 0 failures (Studio, iPhone 17 Pro iOS 27.2 simulator). New cases: "heart" → ❤️ on English and German, "heart " → ❤️ 💕 💖, "fire " → 🔥 only, "smile " → 😊 😄. - 24 everyday words per language: en 19 → 20 (heart), es 13, de 11, nb 12, unchanged otherwise. |
||
| .. | ||
| build-emoji-data.py | ||
| build-german-capitals.py | ||
| build-typing-model.py | ||
| emoji-aliases-en.txt | ||
| en-extra-words.tsv | ||
| fetch-cleanup-model.sh | ||
| marketing-release.sh | ||
| motion-capture.sh | ||
| typing-gate.py | ||