Smarter emoji search based on partial matching
When searching for emoji (either in the emoji window or when looking at the autosuggestions while typing), it would be great if the search allowed for smart "partial"/"initials" matching.
if I want to post a blue heart - 💙 - I always begin by typing blu..., while seeing the suggestion list ("blue_book", "blue_car", "blue_square"...), only reaching "blue_heart" once I type blue_h, or if I happen to see it in the list and manually press the down arrow until I reach it.
A fantastic improvement offered by many other programs would be the ability to search by partial substrings in the right order. So, instead of doing that, I could just type bh and get a suggestion list of: "black_heart", "blue_heart", "blond_haired_man", etc. Similarly, if I wanted the 🙋♀️ emoji ("woman_raising_hand"), I could just type wrh and get exactly what I desire.
This text search should be pretty fast considering the small corpus, so speed isn't a problem. The algorithm should be one of the following, in increasing levels of explicitness:
- only match ordered partial substrings; for example, omsn will match woman_raising_hand.
- only match ordered prefixes of "words" in the emoji, as determined by common formats - snake_case, CamelCase, etc; for example, worha will match the word.
- only match capitalized ordered prefixes of words (plus the existing search); for example, WRH will work, but wrh will not.
All of these are acceptable and there are other options too. I'd appreciate any such solution :]
請登入寫評論。
評論
0 條評論