Mercury13 / unicodia

Encyclopedia of Unicode characters
https://mercury13.github.io/unicodia/
GNU General Public License v3.0
83 stars 3 forks source link

Searching flags by country name #337

Closed MAZ06 closed 3 months ago

MAZ06 commented 6 months ago

Hi. I just recently started using Unicodia. Really great program!

I wanted to ask if it would be possible to search for flag emojis by typing the country name. Right now it's only possible to search for them by using the country code. "US" works. But "United States" or "America" do not.

Thanks!

Mercury13 commented 6 months ago

Thank you. I didn’t implement searching for emoji for now because of false alarms. I didn’t invent a good algorithm.

Mercury13 commented 6 months ago

@MAZ06 How it’s handled in Blocks. Some words are considered “special”, e.g. “letter”. Match in special word has lower priority; even one match in normal word is higher. I have not found a way to program whether Library’s word is true or special.

Mercury13 commented 6 months ago

@MAZ06 As emoji descriptions contain umlauts and typographic apostrophes, need approximate search. These are challenges.