AlexanderColen / Annie-May-Discord-Bot

Discord bot written in C# for AniList anime/manga lookup.
https://discord.com/oauth2/authorize?client_id=701143398526222386&permissions=388160&scope=bot
13 stars 1 forks source link

Improve search results for Characters & Studios. #25

Closed AlexanderColen closed 4 years ago

AlexanderColen commented 4 years ago

Solve it using the Levenshtein utility just like was done for anime searching.

Steps to resolve this issue:

  1. Fetch a list of characters based on the search criteria.
  2. Run characters with all their aliases through the Levenshtein algorithm.
  3. Return the best response to the user.
AlexanderColen commented 4 years ago

Do a similar thing for Studios.