Skip to content
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

Feature Request: Tag aliases #17

Open
admbeck opened this issue Aug 20, 2024 · 1 comment
Open

Feature Request: Tag aliases #17

admbeck opened this issue Aug 20, 2024 · 1 comment
Labels
discussion Will require some planning before adding

Comments

@admbeck
Copy link

admbeck commented Aug 20, 2024

Is your feature request related to a problem? Please describe.
While importing tags from different boorus, I’ve noticed that some tags are very closely related but are treated as separate entities. For example, tanktop and tank_top represent the same concept but are considered different tags in localbooru. Additionally, different boorus often use different tags for the same concept, such as 1girl, 2girls etc. on danbooru versus female on e926 to indicate the presence of a female character in an image. This leads to inconsistencies and inefficiencies when managing tags across different sources.

Describe the solution you'd like
I propose implementing a tag aliasing feature that allows users to define aliases for tags, similar to how the "related images" feature works. This would enable a search to return results for all tags under the same alias, ensuring that tags like tanktop and tank_top, or 1girl and female, are treated as equivalents.

Describe alternatives you've considered
Currently, I'm manually replacing certain tags that I want to be the same using a sed script. However, as the .json file grows larger, this method could become increasingly cumbersome and less efficient.

@resucutie
Copy link
Owner

I am planning to do something like that some day, likely after 1.6.0 releases (never considering how slow is the progress lol), but I also want to add some by default, and deciding which ones I should add will be a bit hard, mainly because I am biased towards how tags are in e621/e926

@resucutie resucutie added the discussion Will require some planning before adding label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Will require some planning before adding
Projects
None yet
Development

No branches or pull requests

2 participants