You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially I am modifying emoji to generate alternatives. But there are some challenges.
f.e. some times there is a person/people option (f.e. π§βπ€βπ§), sometime there isn't (f.e. π§βπ). also sometimes there are skin tone options and sometimes not.
as such it would be nice to have easy access to such meta data (ie. what alternative variations exists) and ideally even a function to create such variations.
metadata = emoji.get_metadata("π§βπ€βπ§")
if metadata.supports_skin_tone:
...
print(emoji.create_emoji(metadata, remove_skin_tone=True)
print(emoji.create_emoji(metadata, skin_tone='dark')
# gender='person' would use person/child if supported by the emoji, otherwise simply swap gender (ie. `man` to `women`, `girl` to `boy` etc)
print(emoji.create_emoji(metadata, gender='person')
Eventually it would be sweet to then also support headscarf, turban etc.
The text was updated successfully, but these errors were encountered:
I mentioned my use case already here.
Essentially I am modifying emoji to generate alternatives. But there are some challenges.
f.e. some times there is a
person
/people
option (f.e. π§βπ€βπ§), sometime there isn't (f.e. π§βπ). also sometimes there are skin tone options and sometimes not.as such it would be nice to have easy access to such meta data (ie. what alternative variations exists) and ideally even a function to create such variations.
Eventually it would be sweet to then also support
headscarf
,turban
etc.The text was updated successfully, but these errors were encountered: