Comments (6)
Had a similar request previously. #37 (comment) Feel free to create another file, called emoji-zh-pingyin.json
perhaps. Just curious, why would you prefer searching using pingyin instead of the actual characters, which would be emoji-zh-cn.json
instead?
from emoji.
Because we cannot insert the actual characters directly, so we still need to type in pinyin*, then select the correct characters. However, it's unlikely that we will enter two characters separately if they form a word, so in my opinion it makes little sense to index by the actual characters.
Just a quick example for "kaixin" (the "smile" face):
If one is searching by pinyin:
- Type "ka" or "kai"
- Tada! found it.
Otherwise, if one is searching by the actual Chinese characters:
- Type "kaixin" or "kaix"
- The input method candidate list pops up. Select the correct word "εΌεΏ"
- Found the emoji.
So you can see, searching in pinyin takes less time and the experience is more like what I expect for English :)
*: There are also other ways to input, but Pinyin remains the most popular in Simplified Chinese world.
from emoji.
And thanks a lot for the tip, I'll create a PR to add another file after I've done the basic parts π
from emoji.
Cool. I use bopomofo to input Traditional Chinese and the input method auto select the words.for me which is why using characters make more sense for me, but I can see you case. π
from emoji.
Would having some keywords in Spanish be helpful to the multilingual part?
I can start adding lots of keywords in Spanish..
from emoji.
Any further changes to the keyword lib should be done in https://github.com/muan/emojilib. Closing.
from emoji.
Related Issues (20)
- Copy unicode character HOT 4
- :train: HOT 2
- some emoji char mojibake HOT 2
- Keyword missing
- Emoji missing HOT 1
- Missing emoji for fist_left HOT 3
- Works no great on iOS
- hasAppleColorEmoji not working HOT 1
- emojis.json not found HOT 2
- Does it support windows? HOT 2
- β¨ could not be filtered
- set font-size: 100pxοΌemoji in android disappeared HOT 1
- Thoughts: 20 questions search? Other kinds of UI? HOT 1
- :joy: HOT 4
- Connection is Not Secure warning HOT 3
- TOGGLE TEXT button always sets emoji-text-display to false
- I'd like to help you translate it! HOT 4
- Speed ββup search
- Question about if statement in search function. HOT 1
- ιι δΈι»θ²ηι’
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emoji.