-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify project's emoji keyword functionality #359
Comments
CC @DeleMike, @catreedle, @KesharwaniArpita and @VNW22 for the initial discussion 😊 |
Sounds good to me> The emoji keyword functionality is essentially the same for all languages, so centralizing it makes sense. @andrewtavis Can I be assigned? |
This is a great issue! @andrewtavis. I imagine we want to update something related to emojis and we would have to go through all the directories! As you suggested, having a single point of call for the emojis is important. I went through the files, I believe This is just a shallow thought for now. I would love to contribute in any way to resolve this issue. |
Let's leave this issue for a bit and continue the conversation on it. We all have a lot being worked on right now, so let's close some current issues and then we can plan the work from there :) Thanks for your interest in helping! |
I agree with centralizing the functionality, it’ll certainly save a lot of repetitive work! |
Gendered emojis should be coming out in the current setup as it's Unicode's words that are associated with a given emoji ordered by their usage and then the top X - usually 3 - are selected :) We can keep this in mind for later though 😊 |
I see. Then I think there shouldn't be any issue with centralizing it :) |
Hi @andrewtavis @catreedle @KesharwaniArpita @VNW22 @DeleMike I'm interested in joining the team |
Welcome! I think we're still very much in the discussion phase. Looking forward to collaborating with you! :) |
|
I was going to suggest this to you, @Ekikereabasi-Nk :) We're discussing it in the issue right now. Can you look at the emoji keyword functionality and make a suggestion on how to centralize this functionality into the |
To achieve a centralize functionality I suggest the steps:
So, how do you all see this suggestion? @andrewtavis |
Hi @andrewtavis, @DeleMike , @catreedle. @Ekikereabasi-Nk, Do you think we should modify the |
I'm generally thinking that we follow @Ekikereabasi-Nk's suggestions here and maybe keep the empty |
A basic thing is that the |
Thanks for the feedback! I agree with the idea of keeping the init.py files as a Python packaging convention, especially to maintain the project's structure and potentially assist with language-specific functionality loading. Regarding the suggestion of using the CLDR dataset to check which languages have emoji support, that sounds like a great idea. It will ensure we're only including relevant languages in the directories. |
heyy, I'm kinda late but i'd like to join in the discussion :) |
By all means, @VNW22! Let's try to get to this soon :) @Ekikereabasi-Nk, do you want to open a PR for this and the others can review? |
I fully support the plan to centralize the emoji-keyword functionality by moving the shared logic to src/scribe_data/unicode—this will streamline the process and reduce redundancy. It seems like a solid solution has emerged from the discussion so far, but I’d be happy to assist with any part of the refactoring or the exploration of the CLDR dataset to ensure we cover all relevant languages. |
Do you want to look into the script to check that we have emoji support for all languages that we can and don't for those that we shouldn't, @VNW22? You'd need to do the setup for CLDR, which is difficult to do on Windows (if that's your operating system, then you'll likely need WSL to run the emoji programs on a Linux machine). Let us know! |
|
@Ekikereabasi-Nk and @andrewtavis , I wanted to rewrite the code for the language emoji files. I think we can start collaborating on the code. While @Ekikereabasi-Nk is working on the centralized script, is it alright that I start working on the function call for the languages? We can make the minor changes later too? |
|
Feel free to send along PRs and we'll see on both ends :) |
is it possible on mac? |
okay, I'll be working on it |
Thanks @KesharwaniArpita for the work here #397 |
no worries :) looking into it |
Closed via #440 😊 Really appreciate everyone collaboration here to get this functionality to be dramatically more streamlined 🚀 |
Terms
Description
Something that should be changed about the project is the way that the emoji keyword functionality works. Basically all of the files in question are the same except for a few variables, and there are already CLI arguments being passed to these files. We do want the structure of the package to determine the functionality of the project, but then this is a case where there's really no benefit of repetition as there is for the queries where they serve has a record for how to get data from Wikidata via SPARQL.
Some ideas:
__init__.py
files in the emoji keyword directories that would serve to still include the this functionality for those languages that it works forsrc/scribe_data/unicode
directory, and this one file would be called from the CLIContribution
Thoughts on this would be very appreciated! Happy tor review and work with people on this 😊
The text was updated successfully, but these errors were encountered: