Reputation: 153
Venmo rolled out their emoji auto-complete feature pretty much a week after coming up with it over a pizza dinner.
How would one implement this with Python? Are there any libraries or packages that would make this an easy implementation?
Upvotes: 0
Views: 105
Reputation: 731
I don't know the exact author implementation in the Medium article you mentioned, but a naive implementation would look like this:
tag each of the emoji with what they can represent.
create a map from these word to the corresponding emoji
during auto-complete search the recommended words in your map and recommend that emoji instead of the word.
Upvotes: 0